Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for constant (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         */
        private static final String PATH_SEP = System.getProperty("path.separator");
    
        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

                return this;
            }
    
            public XmlWriterRequestBuilder<T> content(T content) {
                this.content = content;
                return this;
            }
    
            public XmlWriterRequest<T> build() {
                return new DefaultXmlWriterRequest<>(path, outputStream, writer, content);
            }
    
            private static class DefaultXmlWriterRequest<T> implements XmlWriterRequest<T> {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
                        new MavenStaxWriter().write(outputStream, content);
                    }
                }
            } catch (Exception e) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
                        new MavenStaxWriter().write(outputStream, content);
                    }
                }
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         */
        @Nonnull
        VersionRange parseVersionRange(@Nonnull String range);
    
        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         *
         * @param constraint the range specification to parse, must not be {@code null}
         * @return the parsed version constraint, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
        }
    
        static class DefaultVersion implements Version {
            private final VersionScheme versionScheme;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PersistedToolchains> request) throws XmlWriterException {
            nonNull(request, "request");
            PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content");
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PersistedToolchains> request) throws XmlWriterException {
            nonNull(request, "request");
            PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content");
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java

    /**
     * A factory that produces conflict resolvers of various types.
     *
     * @see ConflictResolver
     * @since 3.0
     */
    @Deprecated
    public interface ConflictResolverFactory {
        // constants --------------------------------------------------------------
    
        /** The plexus role for this component. */
        String ROLE = ConflictResolverFactory.class.getName();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Provides a basis for testing conflict resolvers.
     *
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractConflictResolverTest {
        // constants --------------------------------------------------------------
    
        private static final String GROUP_ID = "test";
    
        // fields -----------------------------------------------------------------
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top