Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertMutableCollectionContents (0.32 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectSet.java

         * The mutation validators used in DefaultConfiguration only expect to be used with add/remove methods and fail when we
         * correctly try to also prevent all/withType/etc mutation methods.
         *
         * assertMutableCollectionContents is only used by add/remove methods, but we should remove this special handling and fix
         * DefaultConfiguration and CompositeDomainObjects.
         */
        public void beforeCollectionChanges(Action<Void> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/reporting/src/main/java/org/gradle/api/reporting/internal/DefaultReportContainer.java

                @Override
                public boolean isSatisfiedBy(T element) {
                    return element.getRequired().get();
                }
            });
        }
    
        @Override
        protected void assertMutableCollectionContents() {
            throw new ImmutableViolationException();
        }
    
        @Override
        public NamedDomainObjectSet<T> getEnabled() {
            return enabled;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top