Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2061 - 2070 of 4,015 for null (0.03 sec)

  1. guava/src/com/google/common/base/Present.java

        return true;
      }
    
      @Override
      public T get() {
        return reference;
      }
    
      @Override
      public T or(T defaultValue) {
        checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
        return reference;
      }
    
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        checkNotNull(secondChoice);
        return this;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/AbstractIterator.java

      }
    
      @CheckForNull private T next;
    
      @CheckForNull
      protected abstract T computeNext();
    
      @CanIgnoreReturnValue
      @CheckForNull
      protected final T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
      public final boolean hasNext() {
        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
          case READY:
            return true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

                        final Properties properties = new Properties();
                        if (is != null) {
                            try (InputStream in = is) {
                                properties.load(in);
                            }
                        }
                        String impl = properties.getProperty(slf4jBinding);
                        if (impl != null) {
                            return (Slf4jConfiguration) Class.forName(impl).newInstance();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

        }
    
        override fun obtain(): String? = parameters.run {
    
            val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
            if (buildTimestampFromReceipt != null) {
                println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt")
                return buildTimestampFromReceipt
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

            this.metaData = propertyMetaData
            id = "${referringClass.className}:$name"
            this.comment = comment
            if (additionalValues == null) {
                throw new NullPointerException("additionalValues constructor var is null for referringClass: $referringClass")
            }
            this.additionalValues = additionalValues
        }
    
        PropertyDoc forClass(ClassDoc referringClass) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

    public class ConsoleRepositoryListener extends AbstractRepositoryListener {
    
        private PrintStream out;
    
        public ConsoleRepositoryListener() {
            this(null);
        }
    
        public ConsoleRepositoryListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        public void artifactDeployed(RepositoryEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          codePoint == '%'.code &&
          (!alreadyEncoded || strict && !input.isPercentEncoded(i, limit))
        ) {
          // Percent encode this character.
          if (encodedCharBuffer == null) {
            encodedCharBuffer = Buffer()
          }
    
          if (charset == null || charset == Charsets.UTF_8) {
            encodedCharBuffer.writeUtf8CodePoint(codePoint)
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top