Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for lineSeparator (0.1 seconds)

  1. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        + "You have the following options to resolve this:" + System.lineSeparator()
                        + "  1. Preserve the model version by setting 'preserve.model.version=true' to generate a consumer POM with <modelVersion>4.2.0</modelVersion>, which supports mixins"
                        + System.lineSeparator()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  3. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/ResourcesTest.java

          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, UTF_8);
          assertThat(text).isEqualTo("rud a chur ar an méar fhada" + System.lineSeparator());
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {
                        writer.write(result);
                        if (!result.isEmpty()) {
                            writer.write(System.lineSeparator());
                        }
                    }
                } else {
                    System.out.print(result);
                    System.out.flush();
                }
            } catch (IOException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

        public static String showVersion() {
            return showVersion(null, null);
        }
    
        public static String showVersion(String commandLine, String terminal) {
            final String ls = System.lineSeparator();
            Properties properties = getBuildProperties();
            StringBuilder version = new StringBuilder(256);
            version.append(MessageUtils.builder().strong(createMavenVersionString(properties)))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ResourcesTest.java

          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, UTF_8);
          assertThat(text).isEqualTo("rud a chur ar an méar fhada" + System.lineSeparator());
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/Constants.java

        // System and UI Constants
        // ============================================================
    
        /** System line separator character sequence. */
        public static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Default page number for admin interface pagination. */
        public static final int DEFAULT_ADMIN_PAGE_NUMBER = 1;
    
        /** String constant representing boolean true value. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertTrue(sw.toString().endsWith(RESULT2), msg);
        }
    
        private static final String RESULT3 = COMMENT + LINE_SEPARATOR + COMMENT + LINE_SEPARATOR + KEY1A + " = " + VALUE1
                + "\\" + LINE_SEPARATOR + VALUE1 + LINE_SEPARATOR;
    
        @Test
        public void testSaveComment3() throws Exception {
            properties.put(KEY1, List.of(new String[] {COMMENT, COMMENT}), List.of(new String[] {VALUE1, VALUE1}));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
                        throw new DictionaryException("Mapping file was updated: old=" + oldItem + " : new=" + item);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top