"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/PropertiesFileAwareClasspathResourceHasher.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.

PropertiesFileAwareClasspathResourceHasher.java  (gradle-6.8.2-src):PropertiesFileAwareClasspathResourceHasher.java  (gradle-6.8.3-src)
skipping to change at line 61 skipping to change at line 61
propertiesFileFilters.forEach((pattern, resourceEntryFilter) -> { propertiesFileFilters.forEach((pattern, resourceEntryFilter) -> {
filters.put(PatternMatcherFactory.compile(false, pattern), resourceE ntryFilter); filters.put(PatternMatcherFactory.compile(false, pattern), resourceE ntryFilter);
patterns.add(pattern); patterns.add(pattern);
}); });
this.propertiesFileFilters = filters.build(); this.propertiesFileFilters = filters.build();
this.propertiesFilePatterns = patterns.build(); this.propertiesFilePatterns = patterns.build();
} }
@Override @Override
public void appendConfigurationToHasher(Hasher hasher) { public void appendConfigurationToHasher(Hasher hasher) {
delegate.appendConfigurationToHasher(hasher);
hasher.putString(getClass().getName());
propertiesFilePatterns.forEach(hasher::putString); propertiesFilePatterns.forEach(hasher::putString);
propertiesFileFilters.values().forEach(resourceEntryFilter -> resourceEn tryFilter.appendConfigurationToHasher(hasher)); propertiesFileFilters.values().forEach(resourceEntryFilter -> resourceEn tryFilter.appendConfigurationToHasher(hasher));
} }
@Nullable @Nullable
@Override @Override
public HashCode hash(RegularFileSnapshotContext snapshotContext) { public HashCode hash(RegularFileSnapshotContext snapshotContext) {
ResourceEntryFilter resourceEntryFilter = matchingFiltersFor(snapshotCon text.getRelativePathSegments()); ResourceEntryFilter resourceEntryFilter = matchingFiltersFor(snapshotCon text.getRelativePathSegments());
if (resourceEntryFilter == null) { if (resourceEntryFilter == null) {
return delegate.hash(snapshotContext); return delegate.hash(snapshotContext);
 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)