Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2751 - 2760 of 3,670 for throwIf (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

         *             contains the graph.getEntry() vertice
         */
        ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/interpolation/StringSearchModelInterpolatorTest.java

    import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
    import org.junit.jupiter.api.Test;
    
    class StringSearchModelInterpolatorTest {
    
        @Test
        void interpolate() throws ModelInterpolationException, InitializationException {
            Model model = Model.newBuilder()
                    .groupId("group")
                    .location("groupId", InputLocation.of(InputSource.of("model", null)))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java

            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return true;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Apply");
            context.println();
    
            return super.execute(context);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return false;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Check");
            context.println();
    
            return super.execute(context);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/LlmClient.java

    public interface LlmClient {
    
        /**
         * Performs a chat completion request.
         *
         * @param request the chat request containing messages and parameters
         * @return the chat response from the LLM
         * @throws LlmException if an error occurs during the request
         */
        LlmChatResponse chat(LlmChatRequest request);
    
        /**
         * Performs a streaming chat completion request.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. mockwebserver/README.md

    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    ### Java
    ```java
    public void test() throws Exception {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      MockWebServer server = new MockWebServer();
    
      // Schedule some responses.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeMultimap.java

       *     distinct key: the key, number of values for that key, and key values
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyComparator());
        stream.writeObject(valueComparator());
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashMultiset.java

      }
    
      /**
       * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(int distinctElements) {
        return new HashMultiset<>(distinctElements);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SecurityBlob.java

                return 0;
            }
            return this.b.length;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#clone()
         */
        @Override
        protected Object clone() throws CloneNotSupportedException {
            return new SecurityBlob(this.b.clone());
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top