- Sort Score
- Num 10 results
- Language All
Results 1041 - 1050 of 6,187 for New (0.05 seconds)
-
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
ConnectionTimeoutException exception = new ConnectionTimeoutException(message); assertEquals(message, exception.getMessage(), "Message should match the provided string"); assertNull(exception.getCause(), "Cause should be null for string constructor"); } @Test void testThrowableConstructor() { // Test the constructor with a cause Throwable cause = new RuntimeException("Root cause of timeout");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @Test void testEqualsIdentity() { ActivationOS thing = new ActivationOS();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
@Test void testHashCodeNullSafe() { new PluginConfiguration().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new PluginConfiguration().equals(null)); new PluginConfiguration().equals(new PluginConfiguration()); } @Test void testEqualsIdentity() { PluginConfiguration thing = new PluginConfiguration();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
class ReportPluginTest { @Test void testHashCodeNullSafe() { new ReportPlugin().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ReportPlugin().equals(null)); new ReportPlugin().equals(new ReportPlugin()); } @Test void testEqualsIdentity() { ReportPlugin thing = new ReportPlugin();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
class ReportingTest { @Test void testHashCodeNullSafe() { new Reporting().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Reporting().equals(null)); new Reporting().equals(new Reporting()); } @Test void testEqualsIdentity() { Reporting thing = new Reporting();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
private static Test testsForHashMapNullKeysForbidden() { return wrappedHashMapTests( new WrappedHashMapGenerator() { @Override Map<String, String> wrap(HashMap<String, String> map) { if (map.containsKey(null)) { throw new NullPointerException(); } return new AbstractMap<String, String>() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
try { return new Builder( getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory()); } catch (IllegalStateException e) { return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null); } } /** * Returns new builder from scratch. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1); CountDownLatch exitLatch = new CountDownLatch(1); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( () -> { enterLatch.countDown(); try { new CountDownLatch(1).await(); // wait forever
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
this.securityDispatcher = securityDispatcher; } @Override public SettingsDecryptionResult decrypt(SettingsDecryptionRequest request) { List<SettingsProblem> problems = new ArrayList<>(); List<Server> servers = new ArrayList<>(); for (Server server : request.getServers()) { server = server.clone(); String password = server.getPassword();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* * @throws SAXException if a SAX error occurs during initialization */ @Override public void startDocument() throws SAXException { tagQueue = new LinkedList<>(); labelList = new ArrayList<>(); labelType = null; } /** * SAX event handler called at the end of document parsing. * Cleans up internal data structures used during parsing. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0)