Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for writable (0.06 sec)

  1. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            if (field != null && ModifierUtil.isPublic(field)) {
                readable = true;
                writable = true;
            }
        }
    
        @Override
        public boolean isReadable() {
            return readable;
        }
    
        @Override
        public boolean isWritable() {
            return writable;
        }
    
        @Override
        public <T> T getValue(final Object target) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(0, exception.getSuppressed().length);
        }
    
        public void test_constructor_withWritableStackTrace() {
            // Test protected constructor with writable stack trace
            String message = "Test with writable stack trace";
            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Test with suppression enabled and writable stack trace
            String message1 = "Test with suppression enabled";
            CrawlerSystemException exception1 = constructor.newInstance(message1, true, true);
            assertNotNull(exception1);
            assertEquals(message1, exception1.getMessage());
            assertNull(exception1.getCause());
    
            // Test with suppression disabled and writable stack trace
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            assertFalse(thumbnailGenerator.generate(thumbnailId, null));
        }
    
        public void test_generate_withInvalidOutputPath() throws IOException {
            // Test generation with non-writable output file
            File readOnlyDir = Files.createTempDirectory(tempDir, "readonly").toFile();
            readOnlyDir.setWritable(false);
            File invalidOutputFile = new File(readOnlyDir, "thumbnail.png");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test setting attributes
            file.setReadOnly();
            assertFalse(file.canWrite(), "Should not be writable when read-only");
    
            file.setReadWrite();
            assertTrue(file.canWrite(), "Should be writable after setReadWrite");
        }
    
        @Test
        void testFileOverwriteWithDifferentContent() throws Exception {
            long timestamp = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_stackTraceForMessageOnlyConstructor() {
            // Test that stack trace is not writable when using message-only constructor
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test message");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbResourceTest.java

                boolean canWrite = mockResource.canWrite();
    
                // Then
                assertTrue(canRead, "Should be readable");
                assertFalse(canWrite, "Should not be writable");
            }
    
            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        }
      }
    
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          return bimap;
        }
    
        if (map.isEmpty()) {
          return of();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top