- Sort Score
- Result 10 results
- Languages All
Results 2341 - 2350 of 3,662 for Void (0.02 sec)
-
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa * */ public class SRuntimeExceptionTest { /** * @throws Exception */ @Test public void testSeasarRuntimeException() throws Exception { final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
import java.net.URL; import junit.framework.TestCase; /** * @author koichik */ public class JarFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception { final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
/** * @throws Exception */ public void testGetContentsAsStream() throws Exception { final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>"; assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8")); } /** * @throws Exception */ public void testToString() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java
boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository); void touch(Artifact artifact, ArtifactRepository repository, String error); String getError(Artifact artifact, ArtifactRepository repository); boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file); void touch(RepositoryMetadata metadata, ArtifactRepository repository, File file);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
} /** * Delete values. * @param key Key */ public void delete(final String key) { deleteKeyFromArray(arraySettingsIndexName, settingsId, key); } /** * Delete a value. * @param key Key * @param value Value */ public void delete(final String key, final String value) { if (logger.isDebugEnabled()) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 15.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
abstract T doTransform(F function, @ParametricNullness I result) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result); @Override protected final void afterDone() { @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture; maybePropagateCancellationTo(localInputFuture); this.inputFuture = null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
.setResponseCode(302) .addHeader("Location", "https://twitter.com/CuteEmergency/status/789457462864863232"); } public interface Listener { void sessionGranted(OAuthSession session); } @Override public void close() { if (mockWebServer == null) throw new IllegalStateException(); try { mockWebServer.close(); } catch (IOException ignored) { } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
addToCache(entry); return entry.value; } return null; } @Override void clearCache() { super.clearCache(); cacheEntry1 = null; cacheEntry2 = null; } private void addToCache(K key, V value) { addToCache(new CacheEntry<K, V>(key, value)); } private void addToCache(CacheEntry<K, V> entry) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
* worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase { private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) { assertNotNull( rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0)