- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Violation (0.06 sec)
-
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
OkHttpClient() assertThat(violations).hasSize(1) assertThat(violations[0].message).isEqualTo("newSSLContext") } @Test fun testNewCall() { Platform.resetForTests() val client = OkHttpClient() applyStrictMode() // Safe on main client.newCall(Request("https://google.com/robots.txt".toHttpUrl())) assertThat(violations).isEmpty() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 21 12:33:41 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
// Android isolates apps' temporary directories since Jelly Bean: // https://github.com/google/guava/issues/4011#issuecomment-770020802 // So we can create files there with any permissions and still get security from the isolation. return new JavaIoCreator(); } /** * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 18:50:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* and DI container integration. * * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates * a new GroovyShell instance to ensure thread isolation.</p> * * <p>Resource Management: GroovyClassLoader instances are properly managed * and cleaned up after script evaluation to prevent memory leaks.</p> */ public class GroovyEngine extends AbstractScriptEngine {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
### 4. Error Messages - ✅ Encoding information in TextExtractor errors - ✅ File type context in MS Office errors - ✅ Archive type in archive extractor errors ## Testing Best Practices 1. **Isolation**: Each test is independent and doesn't affect others 2. **Clarity**: Test names clearly describe what is being tested 3. **Coverage**: Both success and failure paths are tested
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
final AtomicReference<String> otherThreadContextSessionId = new AtomicReference<>(); Thread otherThread = new Thread(() -> { try { // Should be null in other thread (ThreadLocal isolation) assertNull(CrawlingParameterUtil.getUrlQueue()); assertNull(CrawlingParameterUtil.getCrawlerContext()); // Set different values in other thread
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* return android.os.SystemClock.elapsedRealtimeNanos(); * } * }); * } * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @SuppressWarnings("GoodTime") // lots of violations public final class Stopwatch { private final Ticker ticker; private boolean isRunning; private long elapsedNanos; private long startTick; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
* <li>Selective crawling based on configuration IDs</li> * <li>Document expiration handling</li> * <li>Hot thread monitoring for performance analysis</li> * <li>Process isolation with separate JVM</li> * </ul> */ public class CrawlJob extends ExecJob { private static final Logger logger = LogManager.getLogger(CrawlJob.class); /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* under {@code directExecutor}: Not only might the wait for a lock be long, but if the running * thread was holding a lock, the listener may deadlock or break lock isolation. * * <p>This instance is equivalent to: * * {@snippet : * final class DirectExecutor implements Executor { * public void execute(Runnable r) { * r.run(); * } * }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/pom.xml
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.4K bytes - Viewed (0) -
pom.xml
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.1K bytes - Viewed (0)