Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lookupCollectStepData (0.14 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java

            assertThat(ReverseTreeRepositoryListener.lookupCollectStepData(doesNotHaveIt), nullValue());
    
            final CollectStepData data = mock(CollectStepData.class);
    
            RequestTrace haveItFirst = RequestTrace.newChild(null, data)
                    .newChild("foo")
                    .newChild("bar")
                    .newChild("baz");
            assertThat(ReverseTreeRepositoryListener.lookupCollectStepData(haveItFirst), sameInstance(data));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         * This method may return {@code null} if no collect step data found in passed trace data or it's parents.
         * <p>
         * Visible for testing.
         */
        static CollectStepData lookupCollectStepData(RequestTrace trace) {
            CollectStepData collectStepTrace = null;
            while (trace != null) {
                if (trace.getData() instanceof CollectStepData) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 12 11:08:37 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top