- Sort Score
- Num 10 results
- Language All
Results 1561 - 1570 of 4,689 for nulls (0.02 seconds)
-
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
this.slackApi = slackApi; } /** Shows a browser URL to authorize this app to act as this user. */ public void requestOauthSession(String scopes, String team) throws Exception { if (sessionFactory == null) { sessionFactory = new OAuthSessionFactory(slackApi); sessionFactory.start(); } HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> { initOauthSession(session);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
assertThrows(NullPointerException.class, () -> entry.setValue(null)); expectUnchanged(); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testSetValueNullSupported() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { entry.setValue(null); } } expectReplacement(entry(k0(), (V) null));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
} int getId() { return id; } /** * Helper method to simplify null processing * * @param scope a scope or {@code null} * @return the provided scope or DEFAULT_SCOPE */ public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) { return scope == null ? DEFAULT_SCOPE : scope; } /** *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
private final RepositorySystemSession session; private final RepositoryCache cache; public static ModelCache newInstance(RepositorySystemSession session) { if (session.getCache() == null) { return null; } else { return new DefaultModelCache(session); } } private DefaultModelCache(RepositorySystemSession session) { this.session = session;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
*/ protected Entry<K, V>[] createArrayWithNullValue() { Entry<K, V>[] array = createSamplesArray(); int nullValueLocation = getNullLocation(); Entry<K, V> oldEntry = array[nullValueLocation]; array[nullValueLocation] = mapEntry(oldEntry.getKey(), null); return array; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
synchronized (session.transport()) { if (response != null) { response.received = false; } treeConnect(request, response); if (request == null || response != null && response.received) { return; } if (!service.equals("A:")) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
* * <p>Example: * * {@snippet : * Ordering.allEqual().nullsLast().sortedCopy(asList(t, null, e, s, null, t, null)) * } * * <p>Assuming {@code t}, {@code e} and {@code s} are non-null, this returns {@code [t, e, s, t, * null, null, null]} regardless of the true comparison order of those three values (which might * not even implement {@link Comparable} at all). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
map.put("One", 1); map.put("Three", 3); map.put("Null", null); Function<String, @Nullable Integer> function = Functions.forMap(map); assertEquals(1, function.apply("One").intValue()); assertEquals(3, function.apply("Three").intValue()); assertThat(function.apply("Null")).isNull(); assertThrows(IllegalArgumentException.class, () -> function.apply("Two"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr); q1x.setDaemon(true); q20.setDaemon(true); try { synchronized (sem) { q1x.start(); q20.start(); while (sem.count > 0 && q1x.ans == null && q20.ans == null) { sem.wait(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
String msg, pathInfo, server = null; boolean offerBasic, possibleWorkgroup = true; NtlmPasswordAuthentication ntlm = null; final HttpSession ssn = req.getSession(false); pathInfo = req.getPathInfo(); if (pathInfo != null) { int i; server = parseServerAndShare(pathInfo); if (server != null && (i = server.indexOf('/')) > 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0)