Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for getSources (0.05 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            }
        }
    
        /**
         * Returns the files this task will check
         */
        @InputFiles
        @SkipWhenEmpty
        public FileCollection getFiles() {
            return getSources().get()
                .stream()
                .map(sourceTree -> sourceTree.matching(filesFilter))
                .reduce(FileTree::plus)
                .orElse(projectLayout.files().getAsFileTree());
        }
    
        @TaskAction
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

                }
            }
            return tree == null ? null : tree.matching(patternFilterable -> patternFilterable.include("**/*-NOTICE.txt"));
        }
    
        @InputFiles
        @Optional
        public FileCollection getSources() {
            return sources;
        }
    
        public static void appendFile(File file, String name, String type, StringBuilder output) {
            String text = FileUtils.read(file, "UTF-8");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            message.addSource(source);
    
            assertEquals(1, message.getSources().size());
            assertEquals("Test Document", message.getSources().get(0).getTitle());
        }
    
        @Test
        public void test_addSourceWithNullSources() {
            final ChatMessage message = new ChatMessage();
            message.setSources(null);
    
            final ChatSource source = new ChatSource();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsPrecommitPlugin.java

            return project.getTasks()
                .register(
                    FILEPERMISSIONS_TASK_NAME,
                    FilePermissionsTask.class,
                    filePermissionsTask -> filePermissionsTask.getSources()
                        .addAll(
                            providerFactory.provider(
                                () -> GradleUtils.getJavaSourceSets(project).stream().map(s -> s.getAllSource()).collect(Collectors.toList())
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(null, "PROBLEM3", -1, -1, null);
    
            assertEquals("", collector.getProblems().get(0).getSource());
            assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());
            assertEquals("SOURCE_PROBLEM3", collector.getProblems().get(2).getSource());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
                buffer.append(getSource());
            }
    
            if (getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top