Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 3,989 for Null (0.02 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            final T value = getValue(doc, key, clazz);
            if (value == null) {
                return defaultValue;
            }
            return value;
        }
    
        @SuppressWarnings("unchecked")
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz) {
            if (doc == null || key == null) {
                return null;
            }
    
            final Object value = doc.get(key);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                    .findFirst();
        }
    
        File getBaseDirectoryFromRequest(MavenExecutionRequest request) {
            return request.getBaseDirectory() != null ? new File(request.getBaseDirectory()) : null;
        }
    
        boolean isMatchingProject(MavenProject project, String selector, File reactorDirectory) {
            // [groupId]:artifactId
            if (selector.contains(":")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
                return v;
              }
    
              @Override
              public @Nullable Object getIfPresent(Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> pollFirstEntry() {
        return Iterators.pollNext(entryIterator());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            if (classpath == null || classpath.size() < 1) {
                return null;
            }
    
            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                mavenConf = context.installationDirectory.resolve(context.systemProperties.get(MAVEN_INSTALLATION_CONF));
            } else if (context.systemProperties.get("maven.conf") != null) {
                mavenConf = context.installationDirectory.resolve(context.systemProperties.get("maven.conf"));
            } else if (context.systemProperties.get(MAVEN_HOME) != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            BeanUtil.copyMapToBean(null, new Object());
        }
    
        /**
         *
         */
        @Test
        public void testCopyBeanToMap_DestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[dest] is null."));
            BeanUtil.copyBeanToMap(new Object(), null);
        }
    
        /**
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top