Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1561 - 1570 of 5,478 for newA (0.03 seconds)

  1. guava/src/com/google/common/io/Files.java

        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));
      }
    
      /**
       * Returns a new {@link ByteSource} for reading bytes from the given file.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(File file) {
        return new FileByteSource(file);
      }
    
      private static final class FileByteSource extends
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            SmbException ex = new SmbException(0, root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}.
         */
        @Test
        @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status")
        void testStringConstructor() {
            SmbException ex = new SmbException("custom message");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

     *
     * <pre>{@code
     * UrlConvertHelper helper = new UrlConvertHelper();
     * helper.add("old-domain.com", "new-domain.com");
     * String convertedUrl = helper.convert("http://old-domain.com/path");
     * // convertedUrl will be "http://new-domain.com/path"
     * }</pre>
     */
    /**
     * This class is a helper for URL conversion.
     */
    public class UrlConvertHelper {
    
        /**
         * Creates a new UrlConvertHelper instance.
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
        } catch (ReflectiveOperationException e) {
          // Should be impossible, but we want to return *something* so that class init succeeds.
          return new ThrowingCreator();
        }
    
        // Android isolates apps' temporary directories since Jelly Bean:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                if (maxCountLimit < 0) {
                    throw new IllegalArgumentException("maxCountLimit must be non-negative");
                }
                this.maxCountLimit = maxCountLimit;
                this.totalCount = new AtomicInteger();
                this.counters = new ConcurrentHashMap<>();
                this.problems = new ConcurrentHashMap<>();
                this.filter = requireNonNull(filter, "filter");
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

        private PomTestWrapper buildPom(String pomPath) throws Exception {
            File pomFile = new File(testDirectory + File.separator + pomPath, "pom.xml");
            File settingsFile = new File(testDirectory + File.separator + pomPath, "settings.xml");
            Settings settings = readSettingsFile(settingsFile);
    
            ProjectBuildingRequest config = new DefaultProjectBuildingRequest();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
          new CacheLoader<Key, String>() {
            @Override
            public String load(Key key) {
              return key.toString();
            }
          };
    
      private CacheBuilderFactory factoryWithAllKeyStrengths() {
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends DataConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends LabelType> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/JAASAuthenticator.java

                Subject ps = super.getSubject();
    
                if (this.configuration != null) {
                    lc = new LoginContext(this.serviceName, ps, this, this.configuration);
                } else if (ps != null) {
                    lc = new LoginContext(this.serviceName, ps, this);
                } else {
                    lc = new LoginContext(this.serviceName, this);
                }
                lc.login();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
Back to Top