Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for useEmpty (0.06 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            });
    
            if (logger.isDebugEnabled()) {
                logger.debug("Roles: {}", roleSet);
            }
            final String[] roles = roleSet.toArray(new String[roleSet.size()]);
    
            if (!subRoleSet.isEmpty()) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    sAMAccountGroupNameSet.stream().forEach(groupName -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 86.3K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#"))
                                .toArray(String[]::new);
                        mavenConfig = cliManager.parse(args);
                        List<?> unrecognized = mavenConfig.getArgList();
                        if (!unrecognized.isEmpty()) {
                            // This file can only contain options, not args (goals or phases)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        assertThat(a.eventSequence).isEmpty()
        assertThat(b.takeEvent()).isInstanceOf<CallStart>()
        assertThat(b.eventSequence).isEmpty()
        assertThat(c.takeEvent()).isInstanceOf<CallStart>()
        assertThat(c.eventSequence).isEmpty()
        assertThat(d.takeEvent()).isInstanceOf<CallStart>()
        assertThat(d.eventSequence).isEmpty()
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    }
    
                    return plan;
    
                } else if (phase != null && !phase.isEmpty()) {
                    String forkedLifecycle = mojoDescriptor.getExecuteLifecycle();
                    Lifecycle lifecycle;
                    if (forkedLifecycle != null && !forkedLifecycle.isEmpty()) {
                        org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle lifecycleOverlay;
                        try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .getRepository();
                        if (r.getId() != null
                                && !r.getId().isEmpty()
                                && r.getUrl() != null
                                && !r.getUrl().isEmpty()) {
                            ArtifactRepository repo = MavenRepositorySystem.buildArtifactRepository(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(TypeToken.of(Types.supertypeOf(String[].class)).getGenericInterfaces()).isEmpty();
      }
    
      public void testGetGenericInterfaces_wildcard_boundIsClass() {
        assertThat(TypeToken.of(Types.subtypeOf(Object.class)).getGenericInterfaces()).isEmpty();
        assertThat(TypeToken.of(Types.subtypeOf(Object[].class)).getGenericInterfaces()).isEmpty();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

            return !isEmpty(collection);
        }
    
        /**
         * Returns {@literal true} if the given {@link Map} is {@literal null} or empty.
         *
         * @param map the map
         * @return {@literal true} if the map is {@literal null} or empty
         */
        public static boolean isEmpty(final Map<?, ?> map) {
            return map == null || map.isEmpty();
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                propMap.put(DEFAULT_SORT_VALUES, list);
            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

            for (E e : set2) {
              if (!set1.contains(e)) {
                size++;
              }
            }
            return size;
          }
    
          @Override
          public boolean isEmpty() {
            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
Back to Top