Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 1,782 for scratch (0.04 seconds)

  1. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

         */
        private static StorageType parseStorageType(final String typeStr) {
            final String upper = typeStr.toUpperCase(Locale.ROOT);
            try {
                return StorageType.valueOf(upper);
            } catch (final IllegalArgumentException e) {
                logger.warn("Unknown storage type: {}, defaulting to S3_COMPAT", typeStr);
                return StorageType.S3_COMPAT;
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

              collection.removeIf(
                  x -> {
                    throw new AssertionError("predicate should never be called");
                  }));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                if (object instanceof Entry<?, ?> && ((Entry<?, ?>) object).getKey() == null) {
                  return false;
                }
                try {
                  return super.contains(object);
                } catch (ClassCastException e) {
                  return false;
                }
              }
    
              @Override
              @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                if (source != null) {
                    return new MavenXpp3ReaderEx().read(reader, strict, source);
                } else {
                    return new MavenXpp3Reader().read(reader, strict);
                }
            } catch (XmlPullParserException e) {
                throw new ModelParseException(e.getMessage(), e.getLineNumber(), e.getColumnNumber(), e);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                missing = true;
            } else {
                return false;
            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
            } catch (InterpolationException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

                throws InvocationTargetRuntimeException, IllegalAccessRuntimeException {
            assertArgumentNotNull("method", method);
    
            try {
                return (T) method.invoke(target, args);
            } catch (final InvocationTargetException ex) {
                final Throwable t = ex.getCause();
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                    .forEach(pomPath -> {
                        try {
                            Model model = reader.read(Files.newInputStream(pomPath));
                            analyzer.analyzePom(model);
                        } catch (Exception e) {
                            System.err.println("Error processing " + pomPath + ": " + e.getMessage());
                        }
                    });
    
            // Print analysis
            analyzer.printAnalysis();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        @Test
        public void test_constructor_nullConfig() {
            try {
                new FessTimeResourceProvider(null);
                // Constructor may accept null, so test continues
                assertTrue(true);
            } catch (NullPointerException e) {
                // Expected if constructor validates input
                assertTrue(true);
            }
        }
    
        // Test with different time adjustments
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags = openFlags;
            this.access = openFlags >>> 16 & 0xFFFF;
            if (append) {
                try {
                    fp = file.length();
                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes);
                ctor.setAccessible(true);
                return ctor.newInstance(args);
            } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException
                    | InvocationTargetException e) {
                throw new AssertionError(e);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
Back to Top