Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 4,817 for new2 (0.13 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java

        @Test
        void testHashCodeNullSafe() {
            new Prerequisites().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Prerequisites().equals(null));
    
            new Prerequisites().equals(new Prerequisites());
        }
    
        @Test
        void testEqualsIdentity() {
            Prerequisites thing = new Prerequisites();
            assertTrue(thing.equals(thing));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

        private CredentialsInternal credentials;
        private byte[] sessionKey;
        private boolean extendedSecurity;
    
        private final AtomicLong usageCount = new AtomicLong(1);
        private final AtomicBoolean transportAcquired = new AtomicBoolean(true);
    
        private long sessionId;
    
        private SMBSigningDigest digest;
    
        private final String targetDomain;
        private final String targetHost;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            if (values.length == 0) {
                // invalid?
                return new PathInfo(StringUtil.EMPTY, StringUtil.EMPTY);
            }
            if (values.length == 1) {
                return new PathInfo(StringUtil.EMPTY, values[0]);
            }
            final StringBuilder buf = new StringBuilder();
            for (int i = 0; i < values.length - 1; i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top