- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 4,787 for _new (0.03 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
* */ class SiteTest { @Test void testHashCodeNullSafe() { new Site().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Site().equals(null)); new Site().equals(new Site()); } @Test void testEqualsIdentity() { Site thing = new Site(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
throw new PlexusConfigurationException(e.getMessage(), e); } } private static BufferedInputStream reset(StreamSupplier inputSupplier, BufferedInputStream bis) throws IOException { try { bis.reset(); return bis; } catch (IOException e) { return new BufferedInputStream(inputSupplier.open(), BUFFER_SIZE); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
public CacheResponse(File cacheDirectory) throws Exception { int cacheSize = 10 * 1024 * 1024; // 10 MiB Cache cache = new Cache(cacheDirectory, cacheSize); client = new OkHttpClient.Builder() .cache(cache) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
final ResultData resultData = textTransformer.transform(responseData); assertEquals("xyz", new String(resultData.getData(), resultData.getEncoding())); } public void test_transform_html() throws Exception { final byte[] data = new String("<html><body>xyz</body></html>").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("file:/test.html");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
if (in == null) { throw new CrawlerSystemException("The inputstream is null."); } final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper(); final ExtractorFactory extractorFactory = getExtractorFactory(); final StringBuilder buf = new StringBuilder(1000); try (final ArchiveInputStream ais =
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
} throw new ThumbnailGenerationException(e.getMessage()); } catch (final Exception e) { throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url, e); } } throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url + " (Redirect Loop)"); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
int ftag = in.read(); int tag = readTagNumber(in, ftag); if ( tag != expectTag ) { throw new IOException("Unexpected tag " + tag); } int length = readLength(in, limit, false); byte[] content = new byte[length]; in.read(content); return content; } // shamelessly stolen from BC ASN1InputStream
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
case AvPair.MsvAvFlags: return new AvFlags(raw); case AvPair.MsvAvTimestamp: return new AvTimestamp(raw); case AvPair.MsvAvTargetName: return new AvTargetName(raw); case AvPair.MsvAvSingleHost: return new AvSingleHost(raw); case AvPair.MsvAvChannelBindings: return new AvChannelBindings(raw); default:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0)