Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for getLocation (0.07 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            } else {
                return getOtherLocation(key);
            }
        } // -- InputLocation getLocation( Object )
    
        /**
         *
         *
         * @return Map
         */
        public java.util.Map<Object, InputLocation> getLocations() {
            return locations;
        } // -- java.util.Map<Object, InputLocation> getLocations()
    
        /**
         *
         *
         * @param key
         * @param location
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

            return source;
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
            try {
                return isJavaVersionCompatible(jdk, version);
            } catch (NumberFormatException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocationTracker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.model;
    
    public interface InputLocationTracker {
        InputLocation getLocation(Object field);
    
        /**
         * Gets the parent InputLocation where this InputLocation may have been imported from.
         * Can return {@code null}.
         *
         * @return InputLocation
         * @since 4.0.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        return source.getInputStream();
                    }
    
                    @Override
                    public String getLocation() {
                        return source.getLocation();
                    }
    
                    @Override
                    public org.apache.maven.api.services.Source resolve(String relative) {
                        return null;
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java

         * <code>null</code> if unknown.
         */
        public InputLocation getLocation(Object field);
        /**
         * Sets the location of the specified field.
         *
         * @param field The key of the field, must not be
         * <code>null</code>.
         * @param location The location of the field, may be
         * <code>null</code>.
         */
        public void setLocation(Object field, InputLocation location);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.InjectMocks;
    import org.mockito.Spy;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doReturn;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                                .setMessage("Failed to determine activation for profile " + profile.getId() + ": "
                                        + e.getMessage())
                                .setLocation(profile.getLocation(""))
                                .setException(e));
                        return false;
                    }
                }
            }
            return isActive;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                }
                builder.properties(merged);
                builder.location(
                        "properties",
                        InputLocation.merge(
                                target.getLocation("properties"), source.getLocation("properties"), sourceDominant));
            }
    
            private void putAll(Map<String, String> s, Map<String, String> t, Object excludeKey) {
                for (Map.Entry<String, String> e : t.entrySet()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top