- Sort Score
- Num 10 results
- Language All
Results 1861 - 1870 of 6,187 for New (0.01 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar"); assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException(); static final OtherThrowable OTHER_THROWABLE = new OtherThrowable(); static final Future<String> FAILED_FUTURE_OTHER_THROWABLE = immediateFailedFuture(OTHER_THROWABLE); static final Error ERROR = new Error("mymessage"); static final Future<String> FAILED_FUTURE_ERROR = immediateFailedFuture(ERROR); static final Future<String> RUNTIME_EXCEPTION_FUTURE =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
String fileString = actFile.getExists(); RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); try { interpolator.addValueSource(new EnvarBasedValueSource()); } catch (IOException e) { // ignored } interpolator.addValueSource(new MapBasedValueSource(System.getProperties())); try {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java
int exitCode = new MavenShellCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenShellCling(world).run(args, null, null, null, false); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); facetQueryView = new FacetQueryView(); testFacetInfo = new TestFacetInfo(); testFileTypeHelper = new TestFileTypeHelper(); testFessConfig = new TestFessConfig(); ComponentUtil.register(testFacetInfo, "facetInfo"); ComponentUtil.register(testFileTypeHelper, "fileTypeHelper");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 17.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
public final class CertificatePinning { private final OkHttpClient client = new OkHttpClient.Builder() .certificatePinner( new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
() -> { MILLISECONDS.sleep(DELAY_MS); throw new SampleException(); }; private static final Runnable GOOD_RUNNABLE = () -> { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } }; private static final Runnable BAD_RUNNABLE = () -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
static final long serialVersionUID = 0L; private transient Map<String, Object> map = new CaseInsensitiveMap<>(); private static final Object PRESENT = new Object(); /** * Creates a {@link CaseInsensitiveSet}. */ public CaseInsensitiveSet() { map = new CaseInsensitiveMap<>(); } /** * Creates a {@link CaseInsensitiveSet}. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
currentSegment = new TaskSegment(aggregating); taskSegments.add(currentSegment); } currentSegment.getTasks().add(new GoalTask(task)); } else { // lifecycle phase if (currentSegment == null || currentSegment.isAggregating()) { currentSegment = new TaskSegment(false);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Dec 13 23:07:01 GMT 2024 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@Test @DisplayName("signing checks propagate SmbException") void signingChecks_throw() throws Exception { doThrow(new SmbException("opt error")).when(transport).isSigningOptional(); doThrow(new SmbException("enf error")).when(transport).isSigningEnforced(); assertThrows(SmbException.class, () -> transport.isSigningOptional());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0)