Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make checkstyle happy

Use linked list instead of array list for potentially empty and/or pattern parts

Prevent StackOverflowException caused by excessive 'or' via PatternMatcher

Signed-off-by: Robert Stupp <snazy@snazy.de>

Prevent StackOverflowException caused by excessive 'or' via PatternMatcher

Signed-off-by: Robert Stupp <snazy@snazy.de>

Move Deleter to :files

  1. … 16 more files in changeset.
Revert `Change LinkedList in DefaultDirectoryWalker to ArrayDeque`

    • -2
    • +2
    ./collections/DefaultDirectoryWalker.java
Add missing static modifier

Make :files available to test workers

This means reverting to Java 6 source compatibility unfortunately.

  1. … 3 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 90 more files in changeset.
Do not move org.gradle.api.internal.file.pattern out of "api" package

It is used by our own build.

    • -0
    • +29
    ./pattern/AnyWildcardPatternStep.java
    • -0
    • +44
    ./pattern/AnythingMatcher.java
    • -0
    • +44
    ./pattern/EndOfPathMatcher.java
    • -0
    • +40
    ./pattern/FixedPatternStep.java
    • -0
    • +75
    ./pattern/FixedStepPathMatcher.java
    • -0
    • +57
    ./pattern/GreedyPathMatcher.java
    • -0
    • +37
    ./pattern/HasPrefixAndSuffixPatternStep.java
    • -0
    • +42
    ./pattern/HasPrefixPatternStep.java
    • -0
    • +54
    ./pattern/HasSuffixPatternStep.java
    • -0
    • +39
    ./pattern/PathMatcher.java
    • -0
    • +51
    ./pattern/PatternMatcher.java
    • -0
    • +96
    ./pattern/PatternMatcherFactory.java
    • -0
    • +20
    ./pattern/PatternStep.java
    • -0
    • +106
    ./pattern/PatternStepFactory.java
    • -0
    • +59
    ./pattern/RegExpPatternStep.java
  1. … 43 more files in changeset.
Do not move org.gradle.api.internal.file.pattern out of "api" package

It is used by our own build.

    • -0
    • +29
    ./pattern/AnyWildcardPatternStep.java
    • -0
    • +75
    ./pattern/FixedStepPathMatcher.java
    • -0
    • +37
    ./pattern/HasPrefixAndSuffixPatternStep.java
    • -0
    • +42
    ./pattern/HasPrefixPatternStep.java
    • -0
    • +54
    ./pattern/HasSuffixPatternStep.java
    • -0
    • +96
    ./pattern/PatternMatcherFactory.java
    • -0
    • +106
    ./pattern/PatternStepFactory.java
  1. … 43 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

    • -75
    • +0
    ./AntFileCollectionMatchingTaskBuilder.java
    • -380
    • +0
    ./DefaultFilePropertyFactory.java
  1. … 310 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

    • -0
    • +91
    ./AbstractBaseDirFileResolver.java
    • -0
    • +271
    ./AbstractFileCollection.java
    • -0
    • +167
    ./AbstractFileResolver.java
    • -0
    • +229
    ./AbstractFileTree.java
    • -0
    • +121
    ./AbstractFileTreeElement.java
    • -0
    • +49
    ./AntFileCollectionBuilder.java
    • -0
    • +75
    ./AntFileCollectionMatchingTaskBuilder.java
    • -0
    • +51
    ./AntFileSetBuilder.java
    • -0
    • +54
    ./AntFileTreeBuilder.java
    • -0
    • +37
    ./BaseDirFileResolver.java
    • -0
    • +208
    ./CompositeFileCollection.java
    • -0
    • +131
    ./CompositeFileTree.java
    • -0
    • +39
    ./DefaultCompositeFileTree.java
    • -0
    • +380
    ./DefaultFilePropertyFactory.java
    • -0
    • +56
    ./DefaultFileSystemLocation.java
  1. … 310 more files in changeset.
Move file pattern matching to internal package without api

    • -29
    • +0
    ./pattern/AnyWildcardPatternStep.java
    • -75
    • +0
    ./pattern/FixedStepPathMatcher.java
    • -37
    • +0
    ./pattern/HasPrefixAndSuffixPatternStep.java
    • -42
    • +0
    ./pattern/HasPrefixPatternStep.java
    • -54
    • +0
    ./pattern/HasSuffixPatternStep.java
    • -96
    • +0
    ./pattern/PatternMatcherFactory.java
    • -106
    • +0
    ./pattern/PatternStepFactory.java
  1. … 43 more files in changeset.
Move validation closer to the site of use

  1. … 9 more files in changeset.
Omit empty strings when splitting patterns

Temporary check: revert to using StringUtils.split()

  1. … 1 more file in changeset.
Use Pattern.split instead of Guava's Splitter

It seems to be too slow.

    • -11
    • +8
    ./pattern/PatternMatcherFactory.java
Rename isAllowed to shouldVisit in DefaultDirectoryWalker and DirectorySnapshotter

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Rename isAllowed to shouldVisit

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Rename isAllowed to shouldVisit

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Rename isAllowed to shouldVisit

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Rename isAllowed to shouldVisit

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Rename isAllowed to shouldVisit in DefaultDirectoryWalker and DirectorySnapshotter

    • -5
    • +6
    ./collections/DefaultDirectoryWalker.java
  1. … 1 more file in changeset.
Move pattern matching to :files

    • -0
    • +29
    ./pattern/AnyWildcardPatternStep.java
    • -0
    • +44
    ./pattern/AnythingMatcher.java
    • -0
    • +44
    ./pattern/EndOfPathMatcher.java
    • -0
    • +40
    ./pattern/FixedPatternStep.java
    • -0
    • +75
    ./pattern/FixedStepPathMatcher.java
    • -0
    • +57
    ./pattern/GreedyPathMatcher.java
    • -0
    • +37
    ./pattern/HasPrefixAndSuffixPatternStep.java
    • -0
    • +42
    ./pattern/HasPrefixPatternStep.java
    • -0
    • +54
    ./pattern/HasSuffixPatternStep.java
    • -0
    • +39
    ./pattern/PathMatcher.java
    • -0
    • +51
    ./pattern/PatternMatcher.java
    • -0
    • +96
    ./pattern/PatternMatcherFactory.java
    • -0
    • +20
    ./pattern/PatternStep.java
    • -0
    • +106
    ./pattern/PatternStepFactory.java
    • -0
    • +59
    ./pattern/RegExpPatternStep.java
  1. … 33 more files in changeset.
Rename :files project to :file-collections

    • -75
    • +0
    ./AntFileCollectionMatchingTaskBuilder.java
    • -380
    • +0
    ./DefaultFilePropertyFactory.java
  1. … 229 more files in changeset.
Rename :files project to :file-collections

    • -75
    • +0
    ./AntFileCollectionMatchingTaskBuilder.java
    • -380
    • +0
    ./DefaultFilePropertyFactory.java
  1. … 229 more files in changeset.
Rename :files project to :file-collections

    • -75
    • +0
    ./AntFileCollectionMatchingTaskBuilder.java
    • -380
    • +0
    ./DefaultFilePropertyFactory.java
  1. … 228 more files in changeset.
Remove some unused stuff.

    • -28
    • +2
    ./collections/DefaultFileCollectionResolveContext.java
  1. … 1 more file in changeset.
Remove some unused stuff.

    • -28
    • +2
    ./collections/DefaultFileCollectionResolveContext.java
  1. … 1 more file in changeset.