Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,758 for null (0.02 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
      public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    
            when(mockCallingName.getName()).thenReturn("CLIENT");
            when(mockCallingName.getNameType()).thenReturn(0x00);
            when(mockCallingName.getScope()).thenReturn(null);
    
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig, mockCalledName, mockCallingName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         */
        public static String toString(final Object obj) {
            return obj == null ? null : obj.toString();
        }
    
        /**
         * Returns the object, or the defaultValue if the object is <code>null</code>.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * ObjectUtil.defaultValue(null, "NULL")  = "NULL"
         * ObjectUtil.defaultValue(null, 1)    = 1
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

            if (this.origin_server != null) {
                resolveWeak();
            }
            if (this.type == SID_TYPE_UNKNOWN) {
                final String full = toString();
                return full.substring(0, full.length() - getAccountName().length() - 1);
            }
            return this.domainName;
        }
    
        @Override
        public String getAccountName() {
            if (this.origin_server != null) {
                resolveWeak();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

            }
        }
    
        @Nested
        @DisplayName("Invalid and null inputs")
        class InvalidInputs {
            @Test
            @DisplayName("getSigningKey throws when unavailable")
            void testGetSigningKeyThrows() {
                DummySSPContext ctx = new DummySSPContext(null, false, null, null, 0, false);
                CIFSException ex = assertThrows(CIFSException.class, ctx::getSigningKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                                        propertyName, valueClass == null ? null : valueClass.getName(),
                                        valueClass == null ? null : valueClass.getClassLoader(), convertedValue,
                                        targetClass == null ? null : targetClass.getName(),
                                        targetClass == null ? null : targetClass.getClassLoader() }).initCause(t);
                    }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

            CIFSException last = null;
            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
            final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

         * StringUtil.defaultString("aaa", "NULL") = "aaa"
         * StringUtil.defaultString("aaa", null)   = "aaa"
         * StringUtil.defaultString(null, null)    = null
         * </pre>
         *
         * @param str
         *            the string (can be <code>null</code>)
         * @param defaultStr
         *            the string to return if the argument is <code>null</code> (can be <code>null</code>)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        }
        // ------------------------------------------------------------------------
        public MetadataGraphVertex addVertex(ArtifactMetadata md) {
            if (md == null) {
                return null;
            }
    
            checkVertices();
    
            MetadataGraphVertex v = findVertex(md);
            if (v != null) {
                return v;
            }
    
            v = new MetadataGraphVertex(md);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            if (entry == null)
                return false;
    
            LeaseManager.LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey());
            return leaseEntry != null && leaseEntry.hasReadCache();
        }
    
        /**
         * Get cached directory listing
         *
         * @param directoryPath directory path
         * @return list of cached files or null
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top