Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for lineSeparator (0.08 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. guava-tests/test/com/google/common/base/ThrowablesTest.java

        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
        assertThat(getStackTraceAsString(e)).matches(expected);
      }
    
      public void testGetCausalChain() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        System.lineSeparator() + "Options:",
                        options,
                        HelpFormatter.DEFAULT_LEFT_PAD,
                        HelpFormatter.DEFAULT_DESC_PAD,
                        System.lineSeparator(),
                        false);
                pw2.flush();
                for (String s : sw.toString().split(System.lineSeparator())) {
                    pw.accept(s);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
        assertThat(getStackTraceAsString(e)).matches(expected);
      }
    
      public void testGetCausalChain() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. 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)
Back to top