Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 245 for notNull (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            try {
                return path.toRealPath();
            } catch (IOException e) {
                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            COLLECT,
            FLATTEN,
            RESOLVE
        }
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RequestType getRequestType();
    
        @Nonnull
        Optional<Project> getProject();
    
        @Nonnull
        Optional<Artifact> getRootArtifact();
    
        @Nonnull
        Optional<DependencyCoordinates> getRoot();
    
        @Nonnull
        Collection<DependencyCoordinates> getDependencies();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

            return build(session, installationSettingsSource, null, userSettingsSource);
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session, @Nonnull Path installationSettingsPath, @Nonnull Path userSettingsPath) {
            return build(session, Source.fromPath(installationSettingsPath), null, Source.fromPath(userSettingsPath));
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * @return related source or <code>null</code> if no such source
         */
        @Nullable
        Source resolve(@Nonnull String relative);
    
        /**
         * Creates a Source for the following Path
         */
        @Nonnull
        static Source fromPath(@Nonnull Path path) {
            return new PathSource(nonNull(path, "path cannot be null"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         */
        default void warnAboutDeprecatedOptions(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter) {}
    
        /**
         * Displays help information for these options.
         *
         * @param printWriter the string consumer to use for output
         */
        void displayHelp(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          Map<Class<? extends @NonNull B>, B> backingMap) {
        return new MutableClassToInstanceMap<>(backingMap);
      }
    
      private final Map<Class<? extends @NonNull B>, B> delegate;
    
      private MutableClassToInstanceMap(Map<Class<? extends @NonNull B>, B> delegate) {
        this.delegate = checkNotNull(delegate);
      }
    
      @Override
      protected Map<Class<? extends @NonNull B>, B> delegate() {
        return delegate;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        @Nonnull
        static ModelBuilderRequest build(@Nonnull ModelBuilderRequest request, @Nonnull ModelSource source) {
            return builder(nonNull(request, "request cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Path path) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultPluginXmlFactory implements PluginXmlFactory {
        @Override
        public PluginDescriptor read(@Nonnull XmlReaderRequest request) throws XmlReaderException {
            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
         * Gets the project that was built.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top