Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,557 for nullif (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            if (property == null) {
                return false;
            }
    
            String name = property.getName();
            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

            if (kid == null) {
                return;
            }
    
            if (children == null) {
                children = new MetadataTreeNode[nChildren];
            }
    
            children[index % nChildren] = kid;
        }
    
        // ------------------------------------------------------------------
        @Override
        public String toString() {
            return md == null ? "no metadata" : md.toString();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         * @return The property, or null if no such property exists.
         */
        public PropertyMetaData findProperty(String name) {
            PropertyMetaData propertyMetaData = declaredProperties.get(name);
            if (propertyMetaData != null) {
                return propertyMetaData;
            }
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
                return superClass.findProperty(name);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

         *            plugin repositories.
         * @return This request, never {@code null}.
         */
        PluginVersionRequest setPom(Model pom);
    
        /**
         * Gets the remote repositories to use.
         *
         * @return The remote repositories to use, never {@code null}.
         */
        List<RemoteRepository> getRepositories();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         *
         * @param input The reader to deserialize the model from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

            fun store(data: Map<String, Any>, file: File, comment: String? = null) {
                store(propertiesFrom(data), file, comment)
            }
    
            /**
             * Writes [Properties] to a file, but without including the timestamp comment.
             *
             * See [PropertiesUtils.store].
             */
            fun store(properties: Properties, file: File, comment: String? = null) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            requireNonNull(artifact, "artifact cannot be null");
            Model model = null;
    
            for (WorkspaceReader workspaceReader : readers) {
                if (workspaceReader instanceof MavenWorkspaceReader mavenWorkspaceReader) {
                    model = mavenWorkspaceReader.findModel(artifact);
                    if (model != null) {
                        break;
                    }
                }
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

                if (existingCall != null) enqueuedCall.reuseCallsPerHostFrom(existingCall)
              }
            }
    
            val becameIdle =
              (finishedCall != null || finishedAsyncCall != null) &&
                (executorIsShutdown || runningAsyncCalls.isEmpty()) &&
                runningSyncCalls.isEmpty()
            val idleCallbackToRun = if (becameIdle) idleCallback else null
    
            if (executorIsShutdown) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top