Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for newContext (0.76 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            for (String className : allClasses) {
                newContentBuilder.append(className).append("\n");
            }
            String newContent = newContentBuilder.toString();
    
            if (!newContent.equals(existingContent)) {
                logMessage(Diagnostic.Kind.NOTE, "Content has changed. Updating file.");
                try {
                    FileObject outputFile =
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            String newContent = "New content\n";
    
            // Write initial content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(initialContent.getBytes("UTF-8"));
            }
    
            // Overwrite with new content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(newContent.getBytes("UTF-8"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test update method with InputStream
        public void test_update_withInputStream() throws Exception {
            writeTestFile("a,b => c\n");
    
            String newContent = "x,y => z\n";
            InputStream inputStream = new ByteArrayInputStream(newContent.getBytes(StandardCharsets.UTF_8));
    
            charMappingFile.update(inputStream);
    
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top