Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 701 for null (0.15 sec)

  1. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(-1, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, 42, null);
            assertEquals(42, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, Integer.MAX_VALUE, null);
            assertEquals(Integer.MAX_VALUE, problem.getColumnNumber());
    
            // this case is not specified, might also return -1
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (artifact == null) {
                return null;
            }
    
            String version = artifact.getVersion();
            if (version == null && artifact.getVersionRange() != null) {
                version = artifact.getVersionRange().toString();
            }
    
            Map<String, String> props = null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
                return new ResolutionGroup(null, null, null);
            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
                    request.isResolveManagedVersions(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            return treeRoot == null ? null : new MetadataGraph(treeRoot);
        }
        // ----------------------------------------------------------------------------
        public MetadataGraph getGraph(ArtifactScopeEnum scope)
                throws MetadataResolutionException, GraphConflictResolutionException {
            if (treeRoot == null) {
                return null;
            }
    
            if (conflictResolver == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java

            this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null;
            this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;
            this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null;
            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                if (settings.getLocalRepository() != null
                        && !settings.getLocalRepository().isEmpty()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "localRepository", null, msgS);
                }
                if (!settings.isInteractiveMode()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "interactiveMode", null, msgS);
                }
                if (settings.isOffline()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

         *
         * @param groupId The group id, may be {@code null}.
         * @param artifactId The artifact id, may be {@code null}.
         * @param version The version, may be {@code null}.
         * @return The user-friendly artifact id, never {@code null}.
         */
        static String toId(String groupId, String artifactId, String version) {
            return ((groupId != null && !groupId.isEmpty()) ? groupId : "[unknown-group-id]")
                    + ':'
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

            }
        }
    
        private PathProcessor pathProcessor;
    
        public final PathProcessor getPathProcessor() {
            checkClosed();
            if (pathProcessor == null) {
                pathProcessor = createPathProcessor();
            }
            return pathProcessor;
        }
    
        protected PathProcessor createPathProcessor() {
            return new DefaultPathProcessor();
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 26 13:10:42 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

            return policy;
        }
    
        /**
         * @param settings could be null
         * @return a new instance of settings or null if settings was null.
         */
        public static org.apache.maven.settings.Settings copySettings(org.apache.maven.settings.Settings settings) {
            if (settings == null) {
                return null;
            }
            return new org.apache.maven.settings.Settings(settings.getDelegate());
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         *
         * @param projectFile The POM file to build the project from, must not be {@code null}.
         * @param request The project building request that holds further parameters, must not be {@code null}.
         * @return The result of the project building, never {@code null}.
         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top