"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/IgnoringResourceHasher.java" between
gradle-6.8.2-src.zip and gradle-6.8.3-src.zip

About: Gradle is a build tool with a focus on build automation and support for multi-language development.

IgnoringResourceHasher.java  (gradle-6.8.2-src):IgnoringResourceHasher.java  (gradle-6.8.3-src)
skipping to change at line 36 skipping to change at line 36
private final ResourceHasher delegate; private final ResourceHasher delegate;
private final ResourceFilter resourceFilter; private final ResourceFilter resourceFilter;
public IgnoringResourceHasher(ResourceHasher delegate, ResourceFilter resour ceFilter) { public IgnoringResourceHasher(ResourceHasher delegate, ResourceFilter resour ceFilter) {
this.delegate = delegate; this.delegate = delegate;
this.resourceFilter = resourceFilter; this.resourceFilter = resourceFilter;
} }
@Override @Override
public void appendConfigurationToHasher(Hasher hasher) { public void appendConfigurationToHasher(Hasher hasher) {
delegate.appendConfigurationToHasher(hasher);
hasher.putString(getClass().getName());
resourceFilter.appendConfigurationToHasher(hasher); resourceFilter.appendConfigurationToHasher(hasher);
} }
@Nullable @Nullable
@Override @Override
public HashCode hash(RegularFileSnapshotContext snapshotContext) { public HashCode hash(RegularFileSnapshotContext snapshotContext) {
return resourceFilter.shouldBeIgnored(snapshotContext.getRelativePathSeg ments()) ? null : delegate.hash(snapshotContext); return resourceFilter.shouldBeIgnored(snapshotContext.getRelativePathSeg ments()) ? null : delegate.hash(snapshotContext);
} }
@Nullable @Nullable
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)