Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,161 for IsEmpty (0.22 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.println(location);
                }
            }
    
            return buffer.toString();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

                }
                return new BigDecimal(Long.toString(((java.util.Date) o).getTime()));
            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
                return normalize(new BigDecimal(o.toString()));
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
         * Expects a {@link PACDecodingException} to be thrown.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                Model target,
                List<? extends DependencyManagement> sources,
                ModelBuildingRequest request,
                ModelProblemCollector problems) {
            if (sources != null && !sources.isEmpty()) {
                Map<String, Dependency> dependencies = new LinkedHashMap<>();
    
                DependencyManagement depMgmt = target.getDependencyManagement();
    
                if (depMgmt != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

            if (value != null && expression.startsWith(bannedPrefix)) {
                String msg = "The expression ${" + expression + "} is deprecated.";
                if (newPrefix != null && !newPrefix.isEmpty()) {
                    msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

        }
    
        @Override
        public void initialize() throws InitializationException {
            String mavenVersion = rtInfo.getMavenVersion();
    
            if (mavenVersion == null || mavenVersion.isEmpty()) {
                throw new InitializationException("Unable to read Maven version from maven-core");
            }
    
            applicationVersion = new DefaultArtifactVersion(mavenVersion);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            multimap.asMap().entrySet(), immutableEntry(sampleKey, sampleValueAsCollection));
    
        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    && session.getProjects().size() > 1) {
                final Set<Plugin> unsafePlugins = executionPlan.getNonThreadSafePlugins();
                if (!unsafePlugins.isEmpty()) {
                    for (String s : MultilineMessageHelper.format(
                            "Your build is requesting parallel execution, but this project contains the following "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * valueComparator, since the comparator is visible when users call `get` on a key that's not
         * present?
         */
    
        if (multimap.isEmpty()) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
Back to Top