Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 196 for setFile (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

            assertNotNull(response);
        }
    
        @Test
        public void test_setSize() throws Exception {
            indexItems();
    
            SuggestResponse response = suggester.suggest().setSize(5).execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_setQuery() throws Exception {
            indexItems();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            Profile profile = newExistsProfile("file.txt");
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
    
            assertActivation(true, profile, context);
    
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
        }
    
        private Profile newExistsProfile(String filePath) {
            ActivationFile activationFile =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

                // Add a valid text entry
                final byte[] content1 = "Valid tar content ใƒ†ใ‚นใƒˆ".getBytes("UTF-8");
                final TarArchiveEntry entry1 = new TarArchiveEntry("valid.txt");
                entry1.setSize(content1.length);
                tos.putArchiveEntry(entry1);
                tos.write(content1);
                tos.closeArchiveEntry();
    
                // Add another valid entry
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        throw e;
                    }
    
                    logger.debug("  Artifact " + artifact.getId() + " resolved to " + artifact.getFile());
    
                    artifact.setResolved(true);
                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
        Builder<Integer> builder = ImmutableSet.builder();
        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java

        public RuntimeInfo() {
            this.settings = DEFAULT_USER_SETTINGS_FILE;
        }
    
        public RuntimeInfo(File settings) {
            this.settings = settings;
        }
    
        public File getFile() {
            return settings;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation;
    
    /**
     * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()}
     * implementation.
     */
    public class TransformationFailedException extends RuntimeException {
    
        public TransformationFailedException(Throwable cause) {
            super(cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        }
    
        @SuppressWarnings("deprecation")
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

        }
    
        private List<Artifact> newTestArtifactList() {
            List<Artifact> artifacts = new ArrayList<Artifact>();
    
            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top