Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,064 for cannot (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

        @Override
        public CacheRecord put(
                Key key, ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor, List<Artifact> artifacts) {
            Objects.requireNonNull(extensionRealm, "extensionRealm cannot be null");
    
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate extension realm for extension " + key);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. api/maven-api-settings/src/main/mdo/settings.mdo

        private String sourceLevel = USER_LEVEL;
        private boolean sourceLevelSet = false;
    
        public void setSourceLevel(String sourceLevel) {
            if (sourceLevelSet) {
                throw new IllegalStateException("Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel);
            } else if (!(USER_LEVEL.equals(sourceLevel) || PROJECT_LEVEL.equals(sourceLevel)  || GLOBAL_LEVEL.equals(sourceLevel))) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

        }
    
        private void injectDependencyDefaults(List<Dependency> dependencies) {
            for (Dependency dependency : dependencies) {
                if (StringUtils.isEmpty(dependency.getScope())) {
                    // we cannot set this directly in the MDO due to the interactions with dependency management
                    dependency.setScope("compile");
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            URL docResource;
            try {
                docResource = new File(myClasspathEntry).toURL();
            } catch (MalformedURLException e) {
                throw new ExpressionDocumentationException(
                        "Cannot construct expression documentation classpath" + " resource base.", e);
            }
    
            return new URLClassLoader(new URL[] {docResource});
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            }
        }
    
        private
        fun extractArtifactName(fileName: String): String {
            return jarArtifactRegex.matchEntire(fileName)
                ?.groupValues
                ?.get(1)
                ?: error("Cannot derive artifact name from: $fileName")
        }
    
        private
        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

     *
     * This leads to a second side effect in that any @Inject request for just ModelProcessor in
     * the same injector is immediately matched to this explicit binding, which means extensions
     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

    /**
     * Handles basic types that always use the same tag. This supports optional types and may set a type
     * hint for further adapters to process.
     *
     * Types like ANY and CHOICE that don't have a consistent tag cannot use this.
     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * iteratorTester.testForEachRemaining();
     * }
     *
     * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather
     * than {@code KnownOrder} directly, because otherwise the code cannot be compiled.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class IteratorTester<E extends @Nullable Object>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     method is called.
       */
      @CanIgnoreReturnValue
      public ServiceManager startAsync() {
        for (Service service : services) {
          checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this);
        }
        for (Service service : services) {
          try {
            state.tryStartTiming(service);
            service.startAsync();
          } catch (IllegalStateException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     method is called.
       */
      @CanIgnoreReturnValue
      public ServiceManager startAsync() {
        for (Service service : services) {
          checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this);
        }
        for (Service service : services) {
          try {
            state.tryStartTiming(service);
            service.startAsync();
          } catch (IllegalStateException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
Back to Top