- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,238 for docstring (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object(); ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
System.err.println("args: " + Arrays.toString(mvnArgs.toArray())); System.err.println("==================================================="); System.err.println("stderr: " + stderr); System.err.println("==================================================="); logs.put(goal, stdout.toString()); if (exception != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
} @Test public void test_toString() { // Test toString method String message = "Thumbnail generation failed for file.jpg"; ThumbnailGenerationException exception = new ThumbnailGenerationException(message); String toStringResult = exception.toString(); assertTrue(toStringResult.contains(ThumbnailGenerationException.class.getName()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
MavenProperties sp = new MavenProperties(false); if (Files.exists(path)) { sp.load(path); } properties.forEach( (k, v) -> sp.put(k.toString(), escape ? DefaultInterpolator.escape(v.toString()) : v.toString())); loadIncludes(path, sp, callback); substitute(sp, callback); sp.forEach(properties::setProperty); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
public static String separatorLine() { StringBuilder sb = new StringBuilder(DEFAULT_MAX_SIZE); repeat(sb, '*', DEFAULT_MAX_SIZE); return sb.toString(); } public static List<String> format(String... lines) { int size = DEFAULT_MAX_SIZE; int remainder = size - 4; // 4 chars = 2 box_char + 2 spacesCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// Two futures should not have the same toString, to avoid people asserting on it assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString()); } public void testToString_oom() throws Exception { SettableFuture<Object> future = SettableFuture.create(); future.set( new Object() { @Override public String toString() { throw new OutOfMemoryError();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcBinding.java
int getMinor() { return this.minor; } void setOption(final String key, final Object val) throws DcerpcException { if (key.equals("endpoint")) { this.endpoint = val.toString(); final String lep = this.endpoint.toLowerCase(Locale.ENGLISH); if (lep.startsWith("\\pipe\\")) { final String iface = INTERFACES.get(lep.substring(6));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
} @Test @DisplayName("toString includes command name and filename") void testToStringIncludesInformation() { String str = cmd.toString(); assertTrue(str.startsWith("SmbComQueryInformation"), "String representation must start with class name"); assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertNotNull(source); assertInstanceOf(Sources.ResolvedPathSource.class, source); assertNull(source.getPath()); assertEquals(path.toString(), source.getLocation()); assertEquals(modelId, source.getModelId()); } @Test void testPathSourceFunctionality() { // Test basic source functionalityCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameQueryRequest.java
return 0; } @Override int readRDataWireFormat(final byte[] src, final int srcIndex) { return 0; } @Override public String toString() { return ("NameQueryRequest[" + super.toString() + "]"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.6K bytes - Click Count (0)