Skip to content

Commit 33157e6

Browse files
committed
Fix checkstyle
1 parent f16b1b8 commit 33157e6

File tree

1 file changed

+4
-1
lines changed
  • testcontainers-advanced-imagebuilder/src/main/java/software/xdev/testcontainers/imagebuilder/jgit/ignore/internal

1 file changed

+4
-1
lines changed

testcontainers-advanced-imagebuilder/src/main/java/software/xdev/testcontainers/imagebuilder/jgit/ignore/internal/PathMatcher.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public static IMatcher createPathMatcher(
134134
* @param pattern non null
135135
* @return trimmed pattern
136136
*/
137+
@SuppressWarnings("checkstyle:FinalParameters")
137138
protected static String trim(String pattern)
138139
{
139140
while(!pattern.isEmpty()
@@ -194,8 +195,10 @@ public boolean matches(
194195
* wildcards or single segments (mean: this is multi-segment path which must
195196
* be at the beginning of the another string)
196197
*/
198+
@SuppressWarnings("checkstyle:FinalParameters")
197199
protected boolean simpleMatch(
198-
String path, final boolean assumeDirectory,
200+
String path,
201+
final boolean assumeDirectory,
199202
final boolean pathMatch)
200203
{
201204
final boolean hasSlash = path.indexOf(this.slash) == 0;

0 commit comments

Comments
 (0)