Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for endsWith (0.19 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java

                lastUpdated = metadata.getVersioning().getLastUpdated();
            }
    
            for (Artifact artifact : artifacts) {
                String version = artifact.getVersion();
    
                if (version.endsWith(SNAPSHOT)) {
                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    
    fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId ->
        buildTypeIds.any { currentBuildTypeId.endsWith(it) }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
            } else if (version.endsWith(SNAPSHOT)) {
                WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace != null && workspace.findVersions(artifact).contains(version)) {
                    metadata = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                    return new String[] { "plugin/repo1/", "plugin/repo2/" };
                }
    
                protected String getRepositoryContent(String url) {
                    if (url.endsWith("/")) {
                        url = url + "index.html";
                    }
                    if (url.contains("plugin/repo1")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
            int lastIndex = list.size();
            if (list.get(list.size() - 1).endsWith("...")) {
                lastIndex--;
            }
            if (lastIndex <= 0) {
                lastIndex = 1;
            }
            final String content = list.subList(0, lastIndex).stream().collect(Collectors.joining("\n"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/FessBoot.java

        }
    
        @Override
        protected void setupWebappContext() {
            super.setupWebappContext();
            String contextPath = getContextPath();
            if (contextPath.length() > 0 && contextPath.endsWith("/")) {
                contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY);
            }
            final Context context = (Context) server.getHost().findChild(contextPath);
            if (context != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            final List<String> list = new ArrayList<String>();
            traverser.forEach((ResourceHandler) (path, is) -> list.add(path));
            assertThat(list.size(), is(1));
            assertThat(list.get(0).endsWith("DummyTest.class"), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromDir_JarFile() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          urlHost: String,
          domain: String,
        ): Boolean {
          if (urlHost == domain) {
            return true // As in 'example.com' matching 'example.com'.
          }
    
          return urlHost.endsWith(domain) &&
            urlHost[urlHost.length - domain.length - 1] == '.' &&
            !urlHost.canParseAsIpAddress()
        }
    
        private fun pathMatch(
          url: HttpUrl,
          path: String,
        ): Boolean {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. tests/test_filter_pydantic_sub_model_pv2.py

            name: str
            description: Optional[str] = None
            foo: ModelB
    
            @field_validator("name")
            def lower_username(cls, name: str, info: ValidationInfo):
                if not name.endswith("A"):
                    raise ValueError("name must end in A")
                return name
    
        async def get_model_c() -> ModelC:
            return ModelC(username="test-user", password="test-password")
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
            final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar"));
            if (jarFiles != null) {
                for (final File file : jarFiles) {
                    buf.append(cpSeparator);
                    buf.append(basePath);
                    buf.append(file.getName());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top