Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 2,254 for nullif (0.15 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            for (int i = 0; i < l; ++i) {
                Object arg = args[i];
                // if we are careful down below, a null argument goes in there
                // so we can know that the null was passed to the method
                classes[i] = arg == null ? null : arg.getClass();
            }
    
            return getMostSpecific(methodList, classes);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

         * without requiring the XML to be parsed. For build sources, this typically
         * returns {@code null} since the coordinates are determined by parsing the POM.
         *
         * @return the model identifier, or {@code null} if not available or not applicable
         * @since 4.0.0
         */
        @Nullable
        default String getModelId() {
            return null;
        }
    
        /**
         * Interface for locating POM files within a project structure.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(defaultSessionFactory.newSession(session));
    
            DefaultSession s = new DefaultSession(session, null, null, null, null, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .testEquals();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_emptyURLClassLoader_noParent() {
        assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet())
            .isEmpty();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 23K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a
     * parameter whose declaration or type isn't annotated with an annotation with the simple name
     * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}.
     *
     * <p>The tested methods and constructors are invoked -- each time with one parameter being null and
     * the rest not null -- and the test fails if no expected exception is thrown. {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            @Override
            public void onEndElement(String elementName) {
                if (elementName.equals("table")) {
                    currentTable = null;
                    header = null;
                }
                if (elementName.equals("tr")) {
                    currentRow = null;
                }
                nodes.pop();
            }
    
            @Override
            public void onText(String text) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

            Reporting reporting = model.getReporting();
    
            if (reporting != null) {
                for (ReportPlugin reportPlugin : reporting.getPlugins()) {
                    Xpp3Dom parentDom = (Xpp3Dom) reportPlugin.getConfiguration();
    
                    if (parentDom != null) {
                        for (ReportSet execution : reportPlugin.getReportSets()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

                object = xpp3Dom.getDom();
            }
            if (object instanceof XmlNode xmlNode) {
                return new Xpp3DomNodePointer(xmlNode);
            }
            return null;
        }
    
        @Override
        public NodePointer createNodePointer(NodePointer parent, QName name, Object object) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(4, 4, "valueD");
    
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueA");
        assertThat(graph.edgeValueOrDefault(2, 1, null)).isEqualTo("valueB");
        assertThat(graph.edgeValueOrDefault(2, 3, null)).isEqualTo("valueC");
        assertThat(graph.edgeValueOrDefault(4, 4, null)).isEqualTo("valueD");
        assertThat(graph.edgeValueOrDefault(1, 2, DEFAULT)).isEqualTo("valueA");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top