leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/ImageStatistics.java
public Builder withReleases(List<ReleaseRef> releases) {
            assertNotInvalidated(getClass(),stats);
            stats.releases = unmodifiableList(new ArrayList<>(releases));
            return this;
        }
/**
         * Sets the releases using the image.
         * @param releases the releases using the image.
         * @return a reference to this builder to continue object creation.
         */
Sets the releases using the image.
@param releases the releases using the image.
@return a reference to this builder to continue object creation.
Sets the releases using the image . @param releases the releases using the image . @return a reference to this builder to continue object creation .
public Builder withReleases(List<ReleaseRef> releases) {
            assertNotInvalidated(getClass(),stats);
            stats.releases = unmodifiableList(new ArrayList<>(releases));
            return this;
        }
public Builder withReleases ( List < ReleaseRef > releases ) { assertNotInvalidated ( getClass ( ) , stats ) ; stats . releases = unmodifiableList ( new ArrayList < > ( releases ) ) ; return this ; }
Sets the releases using the image.
Sets the releases using the image .