Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 4,653 for nullif (0.04 seconds)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @Test
        @DisplayName("Test equals method with null netName")
        void testEqualsWithNullNetName() {
            SmbShareInfo info1 = new SmbShareInfo();
            SmbShareInfo info2 = new SmbShareInfo();
    
            // Both have null netName
            assertTrue(info1.equals(info2));
    
            SmbShareInfo info3 = new SmbShareInfo(TEST_NET_NAME, 0, TEST_REMARK);
            // One null, one non-null
            assertFalse(info1.equals(info3));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         *
         * @param name the name to register the data store under, must not be null
         * @param dataStore the data store instance to register, must not be null
         * @throws IllegalArgumentException if either name or dataStore is null
         */
        public void add(final String name, final DataStore dataStore) {
            if (name == null || dataStore == null) {
                throw new IllegalArgumentException(
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper
                        .getDocumentByDocId(form.docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() },
                                getUserBean())
                        .orElse(null);
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        @Test
        public void test_inherited_methods_from_monitor_target() throws Exception {
            // Test that inherited methods are accessible
            Method appendMethod = null;
            Method appendTimestampMethod = null;
            Method appendExceptionMethod = null;
    
            // These are protected methods in MonitorTarget
            Method[] methods = MonitorTarget.class.getDeclaredMethods();
            for (Method method : methods) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/MockWitnessService.java

         */
        public void stop() {
            running.set(false);
    
            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

        }
    
        @Test
        void testVersionParsing() {
            checkVersionParsing("1", 1, 0, 0, 0, null);
            checkVersionParsing("1.2", 1, 2, 0, 0, null);
            checkVersionParsing("1.2.3", 1, 2, 3, 0, null);
            checkVersionParsing("1.2.3-1", 1, 2, 3, 1, null);
            checkVersionParsing("1.2.3-alpha-1", 1, 2, 3, 0, "alpha-1");
            checkVersionParsing("1.2-alpha-1", 1, 2, 0, 0, "alpha-1");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

        @Override
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
                for (Mirror mirror : mirrors) {
                    if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

        @Override
        public ResponseData execute(final RequestData request) {
            if (listener != null) {
                listener.onRequestStart(this, request);
            }
    
            List<Exception> exceptionList = null;
            try {
                int count = 0;
                while (count < maxRetryCount) {
                    if (listener != null) {
                        listener.onRequest(this, request, count);
                    }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
            value ?: throw NullPointerException("builder.value == null"),
            expiresAt,
            domain ?: throw NullPointerException("builder.domain == null"),
            path,
            secure,
            httpOnly,
            persistent,
            hostOnly,
            sameSite,
          )
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(STATUS, status);
            }
            if (httpStatusCode != null) {
                builder.field(HTTP_STATUS_CODE, httpStatusCode);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (mimeType != null) {
                builder.field(MIME_TYPE, mimeType);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top