Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for lineSeparator (0.1 sec)

  1. android/guava/src/com/google/common/io/CharSink.java

      public void writeLines(Stream<? extends CharSequence> lines, String lineSeparator)
          throws IOException {
        writeLines(lines.iterator(), lineSeparator);
      }
    
      private void writeLines(Iterator<? extends CharSequence> lines, String lineSeparator)
          throws IOException {
        checkNotNull(lineSeparator);
    
        try (Writer out = openBufferedStream()) {
          while (lines.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
            System.err.println(
                    "[error] " + content.toString() + System.lineSeparator() + System.lineSeparator() + sWriter.toString());
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#error(java.lang.Throwable)
         */
        public void error(Throwable error) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/DuplicateMojoDescriptorException.java

            super("Goal: " + goal + " already exists in the plugin descriptor for prefix: " + goalPrefix
                    + System.lineSeparator() + "Existing implementation is: " + existingImplementation
                    + System.lineSeparator() + "Conflicting implementation is: " + newImplementation);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ToolchainsBuildingExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testNoProblems() {
            ToolchainsBuildingException e = new ToolchainsBuildingException(Collections.<Problem>emptyList());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
                            + "    - [ERROR] message1" + System.lineSeparator()
                            + "    - [ERROR] message2",
                    msg);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

     * local or remote repositories.
     */
    public class MultipleArtifactsNotFoundException extends ArtifactResolutionException {
        private static final String LS = System.lineSeparator();
    
        private final List<Artifact> resolvedArtifacts;
        private final List<Artifact> missingArtifacts;
    
        /**
         * @param originatingArtifact the artifact that was being resolved
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

    /**
     * Common elements of artifact metadata.
     *
     */
    @Deprecated
    public abstract class AbstractArtifactMetadata implements ArtifactMetadata {
        private static final String LS = System.lineSeparator();
    
        protected Artifact artifact;
    
        protected AbstractArtifactMetadata(Artifact artifact) {
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    /**
     */
    @Deprecated
    public class ModelValidationResult {
    
        /** */
        private static final String LS = System.lineSeparator();
    
        /** */
        private List<String> messages;
    
        public ModelValidationResult() {
            messages = new ArrayList<>();
        }
    
        public int getMessageCount() {
            return messages.size();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Test the artifact resolution exception message
     *
     */
    class ArtifactResolutionExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testMissingArtifactMessageFormat() {
            String message = "Missing artifact";
            String indentation = "  ";
            String groupId = "aGroupId";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

     * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?)
     */
    class CLIManagerDocumentationTest {
        private static final String LS = System.lineSeparator();
    
        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top