- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 151 for endswith (0.1 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
@TaskAction void clean() { def jsonFileManager = new AcceptedApiChangesJsonFileManager() jsonFileDirectory.asFile.get().listFiles() ?.findAll { it.name.endsWith(".json") } ?.each { jsonFileManager.emptyAcceptedApiChanges(it) } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 08:27:29 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
) val excludes = listOf("**/internal/**") private val includePackagePatterns: List<Pattern> by lazy { includes.map { if (it.endsWith("/**")) { Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?") } else { Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 12 23:20:08 UTC 2024 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
protected fun loadChanges(): Map<File, List<AcceptedApiChange>> { return apiChangesDirectory.get().asFile.listFiles() ?.filter { it.name.endsWith(".json") }?.associate { it to it.readAcceptedChanges() }?.filterValues { it.acceptedApiChanges != null }?.mapValues {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertNotNull(responseData.getLastModified()); assertEquals(Constants.GET_METHOD, responseData.getMethod()); assertEquals("text/plain", responseData.getMimeType()); assertTrue(responseData.getUrl().endsWith("test/text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8"); assertEquals("test1", content.trim()); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy
String shortName = zipEntry.name if (shortName.contains('/')) { shortName = shortName.substring(shortName.lastIndexOf('/') + 1) } if (shortName.endsWith('.jar')) { def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies def out = new File(outputDir, shortName) Files.copy(zin, out.toPath())
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 08 13:44:59 UTC 2021 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
when { token == null -> { // Value is "double-quoted". That's valid and our regex group already strips the quotes. parameter.groups[3]!!.value } token.startsWith("'") && token.endsWith("'") && token.length > 2 -> { // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes. token.substring(1, token.length - 1) } else -> token }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
private long transferStartTime; MavenArtifact(String repositoryUrl, Resource resource) { if (repositoryUrl == null) { this.repositoryUrl = ""; } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) { this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
assert linkErrors.text.stripTrailing().endsWith('All clear!') } private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) { assert linkErrors.exists() def lines = linkErrors.readLines() deadLinks.each { deadLink -> String errorStart = "ERROR: ${deadLink.file.name}:" assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 8.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
Path userHome = Paths.get(System.getProperty("user.home")); poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom")) .collect(Collectors.toList()); } } @Benchmark public int readWithStax(AdditionState state) throws IOException, XMLStreamException { int i = 0;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0)