- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setEnabled (0.08 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
public void testParse_disable() { final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt"); robotsTxtHelper.setEnabled(false); try { assertNull(robotsTxtHelper.parse(in)); } finally { robotsTxtHelper.setEnabled(true); CloseableUtil.closeQuietly(in); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
if (checksumPolicy == null) { checksumPolicy = DEFAULT_CHECKSUM_POLICY; } this.checksumPolicy = checksumPolicy; } public void setEnabled(boolean enabled) { this.enabled = enabled; } public void setUpdatePolicy(String updatePolicy) { if (updatePolicy != null) { this.updatePolicy = updatePolicy; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile(); RepositoryPolicy policy = new RepositoryPolicy(); policy.setEnabled(true); policy.setChecksumPolicy("ignore"); policy.setUpdatePolicy("always"); Repository repository = new Repository(); repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
org.apache.maven.model.RepositoryPolicy policy = new org.apache.maven.model.RepositoryPolicy(); policy.setEnabled(profileXmlRepo.isEnabled()); policy.setUpdatePolicy(profileXmlRepo.getUpdatePolicy()); policy.setChecksumPolicy(profileXmlRepo.getChecksumPolicy()); return policy; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
} finally { server.stop(); } } public void test_processRobotsTxt_disabled() { final String url = "http://localhost:7070/hoge.html"; httpClient.robotsTxtHelper.setEnabled(false); httpClient.processRobotsTxt(url); assertTrue(true); } public void test_convertRobotsTxtPathPattern() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0)