Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isCauseExpected (0.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectionReasons.java

        }
    
        public static ComponentSelectionReasonInternal empty() {
            return new DefaultComponentSelectionReason();
        }
    
        public static boolean isCauseExpected(ComponentSelectionDescriptor descriptor) {
            return descriptor.getCause() == ComponentSelectionCause.REQUESTED || descriptor.getCause() == ComponentSelectionCause.ROOT;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/insight/DependencyInsightReporter.java

                boolean hasCustomDescription = descriptor.hasCustomDescription();
    
                if (ComponentSelectionReasons.isCauseExpected(descriptor) && !hasCustomDescription) {
                    // Don't render empty 'requested' reason
                    continue;
                }
    
                Section item = new DefaultSection(render(descriptor));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top