Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3681 - 3690 of 6,187 for New (0.01 seconds)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            assertArgumentNotEmpty("name", name);
    
            try {
                final Enumeration<URL> e = loader.getResources(name);
                return new EnumerationIterator<>(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Loads the class with the specified binary name.
         *
         * @param loader
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. internal/logger/logrotate.go

    		}
    	}
    
    	path := filepath.Join(w.opts.Directory, w.opts.FileNameFunc())
    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            String resource = "/poms/validation/" + pom;
            try (InputStream is = getClass().getResourceAsStream(resource)) {
                assertNotNull(is, "missing resource: " + resource);
                return new Model(new MavenStaxReader().read(is));
            }
        }
    
        private SimpleProblemCollector validate(String pom) throws Exception {
            return validateEffective(pom, UnaryOperator.identity());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            field.setAccessible(true);
            field.set(reader, eventDispatcher);
    
            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
    
            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

                } catch (PrompterException e) {
                    throw new SecDispatcherException("Could not collect the password", e);
                }
            }
            return null;
        }
    
        @Override
        public SecDispatcher.ValidationResponse validateConfiguration(String config) {
            if (NAME.equals(config)) {
                return new SecDispatcher.ValidationResponse(getClass().getSimpleName(), true, Map.of(), List.of());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

        }
    
        /**
         * Gets the Entra ID user associated with this credential.
         * @return The Entra ID user instance.
         */
        public EntraIdUser getUser() {
            return new EntraIdUser(authResult);
        }
    
        /**
         * Entra ID user implementation providing user information and permissions.
         */
        public static class EntraIdUser implements FessUser {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
          return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
        } else {
          return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
        }
      }
    
      // Following Javadoc copied from Multimap and SortedSetMultimap.
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target field.
         */
        protected final transient Field targetField;
    
        /**
         * Creates a new {@link BeanFieldSetAccessibleFailureException} with the specified cause.
         *
         * @param componentClass
         *            the component class
         * @param targetField
         *            the target field
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target method.
         */
        protected final transient Method targetMethod;
    
        /**
         * Creates a new {@link BeanMethodSetAccessibleFailureException} with the specified cause.
         *
         * @param componentClass
         *            the component class
         * @param targetMethod
         *            the target method
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
            lenientFormat("min (%s) must be less than or equal to max (%s)", min, max));
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new double[] {a, b}, new double[] {}, new double[] {c}} returns the array {@code {a, b,
       * c}}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
Back to Top