File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/overengineer/inlineproblems/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public static boolean ignoreFile(String fileName, int lineCount) {
1616
1717 if (fileName != null ) {
1818 for (var e : settings .getFileExtensionBlacklist ().split (";" )) {
19- if (e .isBlank () || e .isEmpty () || e . equals (";" )) continue ;
19+ if (e .isBlank () || e .equals (";" )) continue ;
2020 if (fileName .endsWith (e )) {
2121 ignore = true ;
2222 break ;
@@ -28,7 +28,7 @@ public static boolean ignoreFile(String fileName, int lineCount) {
2828 var maxFileLines = settings .getMaxFileLines ();
2929
3030 // maxFileLines == 0 => line count is ignored
31- if (maxFileLines > 0 && lineCount >= maxFileLines ) {
31+ if (maxFileLines > 0 && lineCount > maxFileLines ) {
3232 ignore = true ;
3333 }
3434 }
You can’t perform that action at this time.
0 commit comments