Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 4,689 for nulls (0.02 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            boolean changed = false;
    
            if (metadata != null && reference != null) {
                Versioning versioning = metadata.getVersioning();
                Versioning versioningRef = reference.getVersioning();
                if (versioning != null && versioningRef != null) {
                    String lastUpdated = versioning.getLastUpdated();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            return toFloat(o, null);
        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Float}
         */
        public static Float toFloat(final Object o, final String pattern) {
            if (o == null) {
                return null;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            }
        }
    
        // Test property filter returning null simulation
        @Test
        public void test_get_filterReturnsNull() {
            // The filter.null property is configured to simulate null filter behavior
            try {
                fessConfig.get("filter.null");
                fail("Should throw exception when property is not found");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top