- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 307 for level1 (0.04 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java
RequestTrace level1 = new RequestTrace("level1", root, "level1-data"); RequestTrace level2 = new RequestTrace("level2", level1, "level2-data"); RequestTrace level3 = new RequestTrace(level2, "level3-data"); // Verify the chain assertNull(root.parent()); assertEquals(root, level1.parent()); assertEquals(level1, level2.parent());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(level1, queryPolicy1.level); assertEquals(level2, queryPolicy2.level); assertSame(mockPolicyHandle, queryPolicy1.handle); assertSame(mockPolicyHandle2, queryPolicy2.handle); assertSame(mockNdrObject, queryPolicy1.info); assertSame(mockNdrObject2, queryPolicy2.info); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
// Test multi-level exception chaining Exception level1 = new Exception("Level 1"); RuntimeException level2 = new RuntimeException("Level 2", level1); StorageException level3 = new StorageException("Level 3", level2); assertEquals("Level 3", level3.getMessage()); assertEquals(level2, level3.getCause()); assertEquals("Level 2", level3.getCause().getMessage());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
public void test_multiLevelExceptionChain() { // Test multi-level exception chain Throwable level3 = new NullPointerException("Null value"); Throwable level2 = new IllegalStateException("Invalid state", level3); Throwable level1 = new RuntimeException("Runtime error", level2); PluginException exception = new PluginException("Plugin failure", level1); // Verify the complete chain
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
assertEquals("root-file.txt", item.getName()); assertEquals("", item.getPath()); } public void test_deeplyNestedPath() { final String deepPath = "/level1/level2/level3/level4/level5/"; final StorageItem item = new StorageItem("nested.txt", deepPath, false, 256L, null, "bmVzdGVkLnR4dA=="); assertEquals(deepPath, item.getPath()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
// Test that Files.createDirectories works correctly for nested paths Path tempDir = Files.createTempDirectory("toctou_test"); try { Path nestedPath = tempDir.resolve("level1").resolve("level2").resolve("level3"); assertFalse(Files.exists(nestedPath)); Files.createDirectories(nestedPath); assertTrue(Files.exists(nestedPath));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
* * @param level the severity level of the message * @param message the message to be logged */ default void log(@Nonnull Level level, @Nonnull String message) { log(level, message, null); } /** * Logs a message at the specified level with an associated exception. * * @param level the severity level of the messageCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java
* These versions correspond to different levels of validation that can be applied * during model building, based on the POM schema version. * <p> * The validation levels are cumulative, with higher versions including all validations * from lower versions plus additional checks specific to that version. */ enum Version { /** * Base validation level that applies to all POM versions.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Aug 07 14:31:13 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp-logging-interceptor/README.md
```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
if (configuredLoggers.add(logger)) { logger.useParentHandlers = false // log based on levels at startup to avoid logging each frame logger.level = when { Log.isLoggable(tag, Log.DEBUG) -> Level.FINE Log.isLoggable(tag, Log.INFO) -> Level.INFO else -> Level.WARNING } logger.addHandler(AndroidLogHandler) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0)