- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withDefaultPort (0.22 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
// Apply withDefaultPort(), yielding hp2. boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535; HostAndPort hp2 = null; try { hp2 = hp.withDefaultPort(defaultPort); assertFalse(badDefaultPort); } catch (IllegalArgumentException e) { assertTrue(badDefaultPort); } // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
// Apply withDefaultPort(), yielding hp2. boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535; HostAndPort hp2 = null; try { hp2 = hp.withDefaultPort(defaultPort); assertFalse(badDefaultPort); } catch (IllegalArgumentException e) { assertTrue(badDefaultPort); } // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.9K bytes - Viewed (0)