Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for endsWith (0.08 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (fileName.startsWith("system") && fileName.endsWith(".properties")) {
                fileType = 1;
            } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) {
                fileType = 2;
            } else if (fileName.endsWith(".bulk")) {
                fileType = 3;
            } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) {
                fileType = 4;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
                    if (message.endsWith(".") || message.endsWith("!") || message.endsWith(":")) {
                        message += " ";
                    } else {
                        message += ": ";
                    }
                }
    
                message += message2;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                        FileVisitResult.CONTINUE
    
                    private
                    fun Path.isClassFilePath() =
                        toString().endsWith(".class")
    
                    private
                    fun Path.isBuildReceipt() =
                        toString() == "/org/gradle/build-receipt.properties"
    
                    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            properties.put(KEY1, COMMENT, VALUE1);
            StringWriter sw = new StringWriter();
            properties.save(sw);
            String msg = sw.toString();
            assertTrue(sw.toString().endsWith(RESULT1), msg);
        }
    
        private static final String RESULT1A = COMMENT + LINE_SEPARATOR + KEY2A + " = " + VALUE1 + LINE_SEPARATOR;
    
        @Test
        public void testSaveComment1a() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            }
    
            for (Object metadata : result.getMetadata()) {
                if (metadata.getClass().getName().endsWith(".internal.VersionsMetadata")) {
                    relatedMetadata.put(versionKey, (MergeableMetadata) metadata);
                }
                if (snapshotKey != null && metadata.getClass().getName().endsWith(".internal.RemoteSnapshotMetadata")) {
                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun collectPackages(files: Iterable<Path>): Trie {
                val builder = Trie.Builder()
                for (file in files) {
                    if (Files.exists(file)) {
                        if (file.fileName.toString().endsWith(".jar")) {
                            processJarFile(file, builder)
                        } else {
                            processDirectory(file, builder)
                        }
                    }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                out.write(in);
                            }
                        }
                    });
                }
                if (!id.endsWith(NDJSON_EXTENTION)) {
                    final String index;
                    final String filename;
                    if (id.endsWith(".bulk")) {
                        index = id.substring(0, id.length() - 5);
                        filename = id;
                    } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class ProjectDependenciesResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private ProjectDependenciesResolver resolver;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            ArtifactRepository localRepo = repositorySystem.createLocalRepository(localRepoDir);
    
            String basedir = localRepo.getBasedir();
    
            assertFalse(basedir.endsWith("/"));
            assertFalse(basedir.endsWith("\\"));
    
            assertEquals(localRepoDir, new File(basedir));
    
            assertEquals(localRepoDir.getPath(), basedir);
        }
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top