The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 181 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 501 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 594 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 640 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 356 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 516 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 225 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 516 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 576 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 683 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 324 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 126 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 624 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 594 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 202 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 149 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 864 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 200 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 293 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 505 |
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 112 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Format': member interfaces are implicitly static | 127–194 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Stage': nested enums are implicitly static | 140–161 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Stage(int)': enum constructors are implicitly private | 158–160 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 706–709 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 285–288 |
EmptyCatchBlock | Avoid empty catch blocks | 288–292 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 716–721 |
CollapsibleIfStatements | These nested if statements could be combined | 1300–1303 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 375–379 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'state'. | 216 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'configure': the method is declared in an interface type | 71 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'State': nested enums are implicitly static | 70–86 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getInfoAttributesNode': the method is declared in an interface type | 66 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getGlobalAttributesNode': the method is declared in an interface type | 79 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getAttributes': the method is declared in an interface type | 56 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 157–159 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 72–73 |
Rule | Violation | Line |
---|---|---|
EmptyWhileStmt | Avoid empty while statements | 431–433 |
EmptyIfStmt | Avoid empty if statements | 521–525 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isFile': private methods cannot be overridden | 1019–1021 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'RenameDetectionType': nested enums are implicitly static | 62–71 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'ChangeType': nested enums are implicitly static | 75–90 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Side': nested enums are implicitly static | 93–99 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 45–1243 |
EmptyCatchBlock | Avoid empty catch blocks | 722–724 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 67–79 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'fs'. | 377 |
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 457–460 |
EmptyIfStmt | Avoid empty if statements | 462–467 |
CollapsibleIfStatements | These nested if statements could be combined | 892–901 |
CollapsibleIfStatements | These nested if statements could be combined | 895–900 |
EmptyWhileStmt | Avoid empty while statements | 1571–1573 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 246–252 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MergeBaseFailureReason': nested enums are implicitly static | 66–85 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'otp'. | 63 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 63–65 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 135–142 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 164–166 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 173–175 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 182–184 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 191–193 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 200–202 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 209–211 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 222–224 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getNextHeads': the method is declared in an interface type | 57 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 57–59 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 54–56 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'readIncludeFile': the method is declared in an interface type | 111–112 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'sha1': the method is declared in an interface type | 153 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'readFile': the method is declared in an interface type | 169–170 |
EmptyCatchBlock | Avoid empty catch blocks | 516–518 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 162–164 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MatchResult': nested enums are implicitly static | 62–79 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NO_MATCH': the field is declared in an interface type | 53–64 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 66 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 43–343 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PatternState': nested enums are implicitly static | 234–236 |
CollapsibleIfStatements | These nested if statements could be combined | 337–339 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 64–68 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 72–74 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 106–108 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–642 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'State': nested enums are implicitly static | 129–141 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–158 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–791 |
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 348 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–374 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–185 |
EmptyCatchBlock | Avoid empty catch blocks | 150–152 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–240 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–448 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'State(boolean)': enum constructors are implicitly private | 114–116 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–329 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–247 |
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 81–83 |
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 89–91 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–253 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–788 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 248–250 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PackSource': nested enums are implicitly static | 100–235 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–533 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isGarbage': the method is already in a final class | 245–247 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 183–185 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 361–363 |
EmptyCatchBlock | Avoid empty catch blocks | 381–383 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–182 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 384–386 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 176–178 |
Rule | Violation | Line |
---|---|---|
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 141 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'position': the method is declared in an interface type | 60 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'position': the method is declared in an interface type | 73 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'size': the method is declared in an interface type | 86 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'blockSize': the method is declared in an interface type | 105 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setReadAheadBytes': the method is declared in an interface type | 134 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–460 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 122–124 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'clear': the method is already in a final class | 62–64 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 66–74 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'clear': the method is already in a final class | 76–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 82–85 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'toEWAHCompressedBitmap': the method is already in a final class | 87–112 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': private methods cannot be overridden | 114–116 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'mask': private methods cannot be overridden | 118–120 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofObjectType': private methods cannot be overridden | 344–346 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 112–114 |
CollapsibleIfStatements | These nested if statements could be combined | 199–201 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'InsertLooseObjectResult': nested enums are implicitly static | 63–65 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 225–228 |
EmptyCatchBlock | Avoid empty catch blocks | 298–300 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 425–427 |
EmptyCatchBlock | Avoid empty catch blocks | 462–464 |
EmptyCatchBlock | Avoid empty catch blocks | 580–583 |
EmptyCatchBlock | Avoid empty catch blocks | 961–963 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 111–113 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'maybeContains': the method is already in a final class | 76–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'contains': the method is already in a final class | 82–124 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': private methods cannot be overridden | 126–129 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': private methods cannot be overridden | 131–133 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'mask': private methods cannot be overridden | 135–137 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isEmpty': private methods cannot be overridden | 139–141 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'or': the method is already in a final class | 143–147 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'andNot': the method is already in a final class | 149–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'xor': the method is already in a final class | 155–162 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getBitmap': the method is already in a final class | 164–166 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 98–100 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 327–329 |
CollapsibleIfStatements | These nested if statements could be combined | 343–345 |
EmptyCatchBlock | Avoid empty catch blocks | 730–732 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 220–222 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'decompress': private methods cannot be overridden | 398–419 |
EmptyCatchBlock | Avoid empty catch blocks | 735–739 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 349–351 |
EmptyCatchBlock | Avoid empty catch blocks | 356–358 |
EmptyCatchBlock | Avoid empty catch blocks | 361–363 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'fs'. | 68 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–551 |
EmptyCatchBlock | Avoid empty catch blocks | 451–453 |
EmptyCatchBlock | Avoid empty catch blocks | 472–486 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 47–1490 |
CollapsibleIfStatements | These nested if statements could be combined | 538–539 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'LooseRef': member interfaces are implicitly static | 1384–1388 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 217–219 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 46–274 |
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 69–73 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'StatsRecorder': member interfaces are implicitly static | 146–215 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'bits': private methods cannot be overridden | 361–367 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'PageRef': member interfaces are implicitly static | 805–865 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'CleanupQueue': member interfaces are implicitly static | 990–993 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 136–138 |
Rule | Violation | Line |
---|---|---|
ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 140–150 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'size': the method is already in a final class | 267–269 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 355 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 309–311 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 57–61 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'depth': the method is already in a final class | 64–66 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'type': the method is already in a final class | 69–71 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'size': the method is already in a final class | 74–76 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'empty': the method is already in a final class | 79–81 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'makeNext': the method is already in a final class | 83–93 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'newObjectToPack': the method is declared in an interface type | 82 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'selectObjectRepresentation': the method is declared in an interface type | 117–119 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'writeObjects': the method is declared in an interface type | 158–159 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'copyObjectAsIs': the method is declared in an interface type | 203–205 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'copyPackAsIs': the method is declared in an interface type | 219–220 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCachedPacksAndUpdate': the method is declared in an interface type | 237–238 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'write': the method is already in a final class | 110–114 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'write': the method is already in a final class | 118–138 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeFileHeader': the method is already in a final class | 146–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeObject': the method is already in a final class | 170–172 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeHeader': the method is already in a final class | 190–205 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'objectHeader': private methods cannot be overridden | 207–216 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofsDelta': private methods cannot be overridden | 218–225 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofsDeltaVarIntLength': private methods cannot be overridden | 227–232 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getCopyBuffer': the method is already in a final class | 239–241 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'length': the method is already in a final class | 252–254 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getDigest': the method is already in a final class | 257–259 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 45–2352 |
EmptyWhileStmt | Avoid empty while statements | 1859–1861 |
CollapsibleIfStatements | These nested if statements could be combined | 2156–2157 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'have': private methods cannot be overridden | 2171–2174 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PackingPhase': nested enums are implicitly static | 2300–2318 |
Rule | Violation | Line |
---|---|---|
EmptyWhileStmt | Avoid empty while statements | 294–296 |
CollapsibleIfStatements | These nested if statements could be combined | 306–310 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–589 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–605 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–249 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–707 |
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 685 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–835 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–342 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–417 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–227 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–286 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isId': the method is already in a final class | 77–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 101–109 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromObjectId': the method is already in a final class | 122–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 134–139 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 141–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hexUInt32': private methods cannot be overridden | 155–166 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 247–267 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 283–303 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 319–339 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFirstByte': the method is already in a final class | 346–348 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'name': the method is already in a final class | 376–397 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 280 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCurrent': the method is declared in an interface type | 90 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getObjectId': the method is declared in an interface type | 97 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'open': the method is declared in an interface type | 118 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 76 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCurrent': the method is declared in an interface type | 85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getObjectId': the method is declared in an interface type | 92 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getSize': the method is declared in an interface type | 99 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'cancel': the method is declared in an interface type | 71 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'release': the method is declared in an interface type | 76 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–783 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on interface 'Bitmap': members of interface types are implicitly public | 77–117 |
UnnecessaryModifier | Unnecessary modifier 'public' on interface 'BitmapBuilder': members of interface types are implicitly public | 123–211 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL_CHECKER': the field is declared in an interface type | 58–69 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'BranchRebaseMode(String)': enum constructors are implicitly private | 75–77 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getFromBranch': the method is declared in an interface type | 15 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getToBranch': the method is declared in an interface type | 22 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'SectionParser': member interfaces are implicitly static | 1439–1448 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'ConfigEnum': member interfaces are implicitly static | 1476–1492 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'AutoCRLF': nested enums are implicitly static | 63–72 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'EOL': nested enums are implicitly static | 81–90 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'EolStreamType': nested enums are implicitly static | 97–112 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'CheckStat': nested enums are implicitly static | 119–131 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'SymLinks': nested enums are implicitly static | 148–153 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'HideDotFiles': nested enums are implicitly static | 160–167 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 128–130 |
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 68 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 71 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 74 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 77 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 80 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 83 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 106 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 110 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 115 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 119 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 157 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'StageState': nested enums are implicitly static | 107–195 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'StageState(int)': enum constructors are implicitly private | 145–147 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getWorkingTreeIterator': the method is declared in an interface type | 346 |
CollapsibleIfStatements | These nested if statements could be combined | 473–476 |
CollapsibleIfStatements | These nested if statements could be combined | 512–516 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 45–1254 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 237–249 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newSegment': private methods cannot be overridden | 340–342 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'computeGrowAt': private methods cannot be overridden | 344–346 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'equals': private methods cannot be overridden | 348–355 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'createArray': private methods cannot be overridden | 257–259 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'UNKNOWN': the field is declared in an interface type | 52 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Action': nested enums are implicitly static | 61–118 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Action(String, String)': enum constructors are implicitly private | 87–90 |
CollapsibleIfStatements | These nested if statements could be combined | 191–194 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Storage': nested enums are implicitly static | 64–126 |
UnnecessaryModifier | Unnecessary modifier 'public' on enum 'Storage': the enum is declared in an interface type | 64–126 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Storage(boolean, boolean)': enum constructors are implicitly private | 108–111 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type | 134 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'isSymbolic': the method is declared in an interface type | 147 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getLeaf': the method is declared in an interface type | 166 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getTarget': the method is declared in an interface type | 181 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getObjectId': the method is declared in an interface type | 191 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getPeeledObjectId': the method is declared in an interface type | 201 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'isPeeled': the method is declared in an interface type | 208 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getStorage': the method is declared in an interface type | 219 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Result': nested enums are implicitly static | 68–171 |
CollapsibleIfStatements | These nested if statements could be combined | 778–780 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_CREATED': the field is declared in an interface type | 60 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_FAST_FORWARD': the field is declared in an interface type | 72 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_FORCED_UPDATE': the field is declared in an interface type | 83 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getOldId': the method is declared in an interface type | 90 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getNewId': the method is declared in an interface type | 97 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getWho': the method is declared in an interface type | 104 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getComment': the method is declared in an interface type | 111 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'parseCheckout': the method is declared in an interface type | 120 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getLastEntry': the method is declared in an interface type | 62 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntries': the method is declared in an interface type | 70 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntry': the method is declared in an interface type | 80 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntries': the method is declared in an interface type | 90–91 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 885–886 |
EmptyCatchBlock | Avoid empty catch blocks | 1322–1326 |
EmptyCatchBlock | Avoid empty catch blocks | 1339–1341 |
EmptyCatchBlock | Avoid empty catch blocks | 1352–1354 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Key': member interfaces are implicitly static | 347–368 |
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 95–97 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'FetchRecurseSubmodulesMode(String)': enum constructors are implicitly private | 74–76 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–403 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 72–74 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 47–1352 |
CollapsibleIfStatements | These nested if statements could be combined | 408–410 |
CollapsibleIfStatements | These nested if statements could be combined | 823–849 |
CollapsibleIfStatements | These nested if statements could be combined | 839–841 |
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'inCore'. | 86 |
Rule | Violation | Line |
---|---|---|
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 298 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 61–67 |
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 152–154 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–653 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PatchType': nested enums are implicitly static | 107–116 |
EmptyCatchBlock | Avoid empty catch blocks | 248–251 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Severity': nested enums are implicitly static | 57–63 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–392 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 198–200 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 69 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 138–141 |
EmptyCatchBlock | Avoid empty catch blocks | 157–172 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getDepth': the method is declared in an interface type | 64 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getUnshallowFlag': the method is declared in an interface type | 72 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getReinterestingFlag': the method is declared in an interface type | 79 |
UnnecessaryModifier | Unnecessary modifier 'static' on class 'Commit': types nested within an interface type are implicitly static | 82–101 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'Commit': members of interface types are implicitly public | 82–101 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'RevWalk': members of interface types are implicitly public | 104–181 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'ObjectWalk': members of interface types are implicitly public | 184–274 |
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 86 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 87 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 88 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 89 |
EmptyWhileStmt | Avoid empty while statements | 740–742 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 193–196 |
Rule | Violation | Line |
---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 1358 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–303 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOpenFiles': the method is declared in an interface type | 63–65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOpenBytes': the method is declared in an interface type | 72–74 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getStats': the method is declared in an interface type | 80–82 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DEFAULT': the field is declared in an interface type | 58–68 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'advertiseRefs': the method is declared in an interface type | 80–81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'advertiseRefs': the method is declared in an interface type | 93–94 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 345–347 |
EmptyCatchBlock | Avoid empty catch blocks | 356–358 |
EmptyCatchBlock | Avoid empty catch blocks | 386–388 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 429–431 |
EmptyCatchBlock | Avoid empty catch blocks | 485–487 |
EmptyCatchBlock | Avoid empty catch blocks | 505–508 |
EmptyCatchBlock | Avoid empty catch blocks | 788–790 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 185–187 |
EmptyCatchBlock | Avoid empty catch blocks | 191–193 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–1982 |
EmptyCatchBlock | Avoid empty catch blocks | 380–382 |
EmptyCatchBlock | Avoid empty catch blocks | 391–393 |
EmptyCatchBlock | Avoid empty catch blocks | 407–409 |
EmptyCatchBlock | Avoid empty catch blocks | 1055–1057 |
EmptyCatchBlock | Avoid empty catch blocks | 1362–1364 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 265–267 |
EmptyCatchBlock | Avoid empty catch blocks | 302–304 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRefsMap': the method is declared in an interface type | 71 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRefs': the method is declared in an interface type | 85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRef': the method is declared in an interface type | 98 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'close': the method is declared in an interface type | 118 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getMessages': the method is declared in an interface type | 135 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPeerUserAgent': the method is declared in an interface type | 144 |
Rule | Violation | Line |
---|---|---|
AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 114 |
EmptyCatchBlock | Avoid empty catch blocks | 325–327 |
EmptyCatchBlock | Avoid empty catch blocks | 351–353 |
EmptyCatchBlock | Avoid empty catch blocks | 435–437 |
EmptyCatchBlock | Avoid empty catch blocks | 437–439 |
EmptyCatchBlock | Avoid empty catch blocks | 439–441 |
EmptyCatchBlock | Avoid empty catch blocks | 444–446 |
EmptyCatchBlock | Avoid empty catch blocks | 449–451 |
Rule | Violation | Line |
---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 72 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'fetch': the method is declared in an interface type | 112–114 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'fetch': the method is declared in an interface type | 154–156 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'didFetchIncludeTags': the method is declared in an interface type | 176 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'didFetchTestConnectivity': the method is declared in an interface type | 199 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setPackLockMessage': the method is declared in an interface type | 211 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPackLocks': the method is declared in an interface type | 221 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MultiAck': nested enums are implicitly static | 261–263 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 192–194 |
EmptyIfStmt | Avoid empty if statements | 416–418 |
EmptyIfStmt | Avoid empty if statements | 419–421 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'HttpRedirectMode(String)': enum constructors are implicitly private | 132–134 |
EmptyIfStmt | Avoid empty if statements | 389–391 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 110–112 |
EmptyCatchBlock | Avoid empty catch blocks | 112–114 |
EmptyCatchBlock | Avoid empty catch blocks | 123–125 |
EmptyCatchBlock | Avoid empty catch blocks | 129–131 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 102–104 |
EmptyCatchBlock | Avoid empty catch blocks | 104–106 |
EmptyCatchBlock | Avoid empty catch blocks | 106–108 |
EmptyCatchBlock | Avoid empty catch blocks | 108–110 |
EmptyCatchBlock | Avoid empty catch blocks | 113–115 |
EmptyCatchBlock | Avoid empty catch blocks | 119–121 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 433–435 |
EmptyCatchBlock | Avoid empty catch blocks | 435–437 |
EmptyCatchBlock | Avoid empty catch blocks | 456–458 |
CollapsibleIfStatements | These nested if statements could be combined | 520–533 |
EmptyCatchBlock | Avoid empty catch blocks | 530–532 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 171–173 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 103–107 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'createNonce': the method is declared in an interface type | 69–70 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'verify': the method is declared in an interface type | 94–95 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 233–235 |
EmptyCatchBlock | Avoid empty catch blocks | 373–375 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Source': nested enums are implicitly static | 106–112 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'checkIfTooLarge': private methods cannot be overridden | 731–754 |
EmptyCatchBlock | Avoid empty catch blocks | 1184–1188 |
EmptyCatchBlock | Avoid empty catch blocks | 1200–1204 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'AckNackResult': nested enums are implicitly static | 85–96 |
EmptyCatchBlock | Avoid empty catch blocks | 260–262 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 66–72 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPostReceive': the method is declared in an interface type | 84–85 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 60–65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPostUpload': the method is declared in an interface type | 75 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 82–88 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPreReceive': the method is declared in an interface type | 102 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 62–85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onBeginNegotiateRound': the method is declared in an interface type | 99–101 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onEndNegotiateRound': the method is declared in an interface type | 123–126 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onSendPack': the method is declared in an interface type | 144–146 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on field 'DEFAULT': the field is declared in an interface type | 55–57 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 43–220 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'StringReader': member interfaces are implicitly static | 87–98 |
EmptyCatchBlock | Avoid empty catch blocks | 265–268 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'PushRecurseSubmodulesMode(String)': enum constructors are implicitly private | 76–78 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'push': the method is declared in an interface type | 116–118 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'push': the method is declared in an interface type | 166–168 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 296–298 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 75–98 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Result': nested enums are implicitly static | 101–134 |
CollapsibleIfStatements | These nested if statements could be combined | 780–784 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 323–325 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DEFAULT': the field is declared in an interface type | 64–69 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'filter': the method is declared in an interface type | 79 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 553–554 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Status': nested enums are implicitly static | 75–127 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'exec': the method is declared in an interface type | 81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'disconnect': the method is declared in an interface type | 86 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'TagOpt(String)': enum constructors are implicitly private | 87–89 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 160–162 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 263–265 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'V2_BUNDLE_SIGNATURE': the field is declared in an interface type | 61 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 118–120 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 154–156 |
EmptyCatchBlock | Avoid empty catch blocks | 214–216 |
EmptyCatchBlock | Avoid empty catch blocks | 253–255 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 353–355 |
EmptyCatchBlock | Avoid empty catch blocks | 360–362 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 47–1450 |
CollapsibleIfStatements | These nested if statements could be combined | 772–774 |
EmptyWhileStmt | Avoid empty while statements | 907–909 |
EmptyCatchBlock | Avoid empty catch blocks | 928–930 |
EmptyCatchBlock | Avoid empty catch blocks | 934–936 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'URIishField': nested enums are implicitly static | 93–104 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 362–365 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 44–2203 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'RequestPolicy': nested enums are implicitly static | 126–156 |
EmptyCatchBlock | Avoid empty catch blocks | 941–943 |
EmptyCatchBlock | Avoid empty catch blocks | 954–956 |
EmptyWhileStmt | Avoid empty while statements | 963–965 |
EmptyWhileStmt | Avoid empty while statements | 1198–1200 |
EmptyWhileStmt | Avoid empty while statements | 1207–1209 |
EmptyCatchBlock | Avoid empty catch blocks | 1254–1256 |
EmptyCatchBlock | Avoid empty catch blocks | 1424–1426 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 120–124 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 843–845 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 302–306 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 423–425 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_OK': the field is declared in an interface type | 72 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_MOVED_PERM': the field is declared in an interface type | 78 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_MOVED_TEMP': the field is declared in an interface type | 84 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_SEE_OTHER': the field is declared in an interface type | 90 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_11_MOVED_TEMP': the field is declared in an interface type | 98 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_NOT_FOUND': the field is declared in an interface type | 103 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_UNAUTHORIZED': the field is declared in an interface type | 108 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_FORBIDDEN': the field is declared in an interface type | 113 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getResponseCode': the method is declared in an interface type | 122 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getURL': the method is declared in an interface type | 130 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getResponseMessage': the method is declared in an interface type | 139 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getHeaderFields': the method is declared in an interface type | 147 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRequestProperty': the method is declared in an interface type | 159 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRequestMethod': the method is declared in an interface type | 173–174 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setUseCaches': the method is declared in an interface type | 184 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setConnectTimeout': the method is declared in an interface type | 194 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setReadTimeout': the method is declared in an interface type | 204 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getContentType': the method is declared in an interface type | 213 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type | 225 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getHeaderField': the method is declared in an interface type | 236 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getContentLength': the method is declared in an interface type | 246 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setInstanceFollowRedirects': the method is declared in an interface type | 256 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setDoOutput': the method is declared in an interface type | 265 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setFixedLengthStreamingMode': the method is declared in an interface type | 274 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOutputStream': the method is declared in an interface type | 283 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setChunkedStreamingMode': the method is declared in an interface type | 293 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRequestMethod': the method is declared in an interface type | 301 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'usingProxy': the method is declared in an interface type | 309 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'connect': the method is declared in an interface type | 317 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'configure': the method is declared in an interface type | 335–337 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setHostnameVerifier': the method is declared in an interface type | 348–349 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 78–79 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DISABLED': the field is declared in an interface type | 60–66 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NONE': the field is declared in an interface type | 60–66 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DISABLED': the field is declared in an interface type | 60–66 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 45–444 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'OperationType': nested enums are implicitly static | 114–125 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 473–477 |
EmptyWhileStmt | Avoid empty while statements | 513–515 |
CollapsibleIfStatements | These nested if statements could be combined | 901–902 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 381–383 |
EmptyIfStmt | Avoid empty if statements | 1216–1219 |
EmptyCatchBlock | Avoid empty catch blocks | 1826–1833 |
EmptyCatchBlock | Avoid empty catch blocks | 2165–2167 |
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 87 |
CollapsibleIfStatements | These nested if statements could be combined | 172–190 |
CollapsibleIfStatements | These nested if statements could be combined | 173–189 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 166–168 |
CollapsibleIfStatements | These nested if statements could be combined | 182–198 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 304–306 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 826 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Format': nested enums are implicitly static | 71–117 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'ParseableSimpleDateFormat(String)': enum constructors are implicitly private | 131–133 |
EmptyCatchBlock | Avoid empty catch blocks | 231–233 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRepository': the method is declared in an interface type | 315 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'index': private methods cannot be overridden | 169–173 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'createArray': private methods cannot be overridden | 176–178 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Status': nested enums are implicitly static | 54–69 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 45–1344 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'match': the method is already in a final class | 129–136 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseBase10': the method is already in a final class | 210–244 |
EmptyCatchBlock | Avoid empty catch blocks | 238–240 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseLongBase10': the method is already in a final class | 264–298 |
EmptyCatchBlock | Avoid empty catch blocks | 292–294 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt16': the method is already in a final class | 315–328 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt32': the method is already in a final class | 345–369 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt64': the method is already in a final class | 387–435 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt4': the method is already in a final class | 446–451 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseTimeZoneOffset': the method is already in a final class | 465–467 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseTimeZoneOffset': the method is already in a final class | 485–491 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'next': the method is already in a final class | 504–511 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'nextLF': the method is already in a final class | 524–526 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'nextLF': the method is already in a final class | 541–549 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'headerEnd': the method is already in a final class | 562–571 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'headerStart': the method is already in a final class | 586–605 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prev': the method is already in a final class | 618–626 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prevLF': the method is already in a final class | 639–641 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prevLF': the method is already in a final class | 657–666 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lineMap': the method is already in a final class | 696–705 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lineMapOrBinary': the method is already in a final class | 723–730 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'author': the method is already in a final class | 767–774 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'committer': the method is already in a final class | 789–798 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'tagger': the method is already in a final class | 813–826 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'encoding': the method is already in a final class | 841–851 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'commitMessage': the method is already in a final class | 1254–1265 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'tagMessage': the method is already in a final class | 1278–1287 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'endOfParagraph': the method is already in a final class | 1303–1313 |
Rule | Violation | Line |
---|---|---|
EmptyWhileStmt | Avoid empty while statements | 100–102 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'neq': private methods cannot be overridden | 117–119 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lc': private methods cannot be overridden | 121–123 |
Rule | Violation | Line |
---|---|---|
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 428 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 405–407 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 71–73 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 149–151 |
EmptyCatchBlock | Avoid empty catch blocks | 154–156 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'init': the method is already in a final class | 589–592 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'save': the method is already in a final class | 594–600 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 212–213 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'FileMode.GITLINK' due to existing static import 'org.eclipse.jgit.lib.FileMode.GITLINK' | 213 |
UselessParentheses | Useless parentheses. | 214–215 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 576 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 204 |
UselessParentheses | Useless parentheses. | 205 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 398–399 |
UselessParentheses | Useless parentheses. | 400 |
UselessParentheses | Useless parentheses. | 532 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.R_HEADS' due to existing static import 'org.eclipse.jgit.lib.Constants.R_HEADS' | 256 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 433 |
UselessParentheses | Useless parentheses. | 433 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 195–196 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 416 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 284 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 783 |
UselessParentheses | Useless parentheses. | 783–784 |
UselessParentheses | Useless parentheses. | 784 |
UselessParentheses | Useless parentheses. | 1721 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 159 |
UselessParentheses | Useless parentheses. | 172 |
UselessParentheses | Useless parentheses. | 185 |
UselessParentheses | Useless parentheses. | 199 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 144 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 320 |
UselessParentheses | Useless parentheses. | 442–443 |
UselessParentheses | Useless parentheses. | 501 |
UselessParentheses | Useless parentheses. | 549 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 83 |
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 171 |
UselessParentheses | Useless parentheses. | 206 |
UselessParentheses | Useless parentheses. | 252 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 381 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 234 |
UselessParentheses | Useless parentheses. | 234 |
UselessParentheses | Useless parentheses. | 641 |
UselessParentheses | Useless parentheses. | 719 |
UselessParentheses | Useless parentheses. | 720 |
UselessParentheses | Useless parentheses. | 721 |
UselessParentheses | Useless parentheses. | 722 |
UselessParentheses | Useless parentheses. | 723 |
UselessParentheses | Useless parentheses. | 724 |
UselessParentheses | Useless parentheses. | 783 |
UselessParentheses | Useless parentheses. | 784 |
UselessParentheses | Useless parentheses. | 784 |
UselessParentheses | Useless parentheses. | 784 |
UselessParentheses | Useless parentheses. | 880 |
UselessParentheses | Useless parentheses. | 1123–1124 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 125 |
UselessParentheses | Useless parentheses. | 294 |
UselessParentheses | Useless parentheses. | 418 |
UselessParentheses | Useless parentheses. | 418 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 493 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 705 |
UselessParentheses | Useless parentheses. | 706 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 130 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Strings.getPathSeparator' due to existing static import 'org.eclipse.jgit.ignore.internal.Strings.getPathSeparator' | 131 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 138 |
UselessParentheses | Useless parentheses. | 398 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 427 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 477 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 626 |
UselessParentheses | Useless parentheses. | 633 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 205 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 579 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 561 |
UselessParentheses | Useless parentheses. | 567 |
UselessParentheses | Useless parentheses. | 574 |
UselessParentheses | Useless parentheses. | 580 |
UselessParentheses | Useless parentheses. | 597 |
UselessParentheses | Useless parentheses. | 621 |
UselessParentheses | Useless parentheses. | 706 |
UselessParentheses | Useless parentheses. | 714 |
UselessParentheses | Useless parentheses. | 786 |
UselessParentheses | Useless parentheses. | 834 |
UselessParentheses | Useless parentheses. | 949 |
UselessParentheses | Useless parentheses. | 1056 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 766 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 244–245 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 578 |
UselessParentheses | Useless parentheses. | 578 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 981–984 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 1165 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 1168 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 655 |
UselessParentheses | Useless parentheses. | 656 |
UselessParentheses | Useless parentheses. | 776 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 163 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 465 |
UselessParentheses | Useless parentheses. | 471 |
UselessParentheses | Useless parentheses. | 478 |
UselessParentheses | Useless parentheses. | 484 |
UselessParentheses | Useless parentheses. | 501 |
UselessParentheses | Useless parentheses. | 534 |
UselessParentheses | Useless parentheses. | 554 |
UselessParentheses | Useless parentheses. | 611 |
UselessParentheses | Useless parentheses. | 619 |
UselessParentheses | Useless parentheses. | 870 |
UselessParentheses | Useless parentheses. | 919 |
UselessParentheses | Useless parentheses. | 1034 |
UselessParentheses | Useless parentheses. | 1125 |
UselessParentheses | Useless parentheses. | 1140 |
UselessParentheses | Useless parentheses. | 1226 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 240 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 231 |
UselessParentheses | Useless parentheses. | 338 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 393 |
UselessParentheses | Useless parentheses. | 394 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 546 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1162 |
UselessParentheses | Useless parentheses. | 1177 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.HEAD' due to existing static import 'org.eclipse.jgit.lib.Constants.HEAD' | 1214 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.R_REFS' due to existing static import 'org.eclipse.jgit.lib.Constants.R_REFS' | 1245 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 242 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 319 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 68 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 193 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 382 |
UselessParentheses | Useless parentheses. | 2172 |
UselessParentheses | Useless parentheses. | 2173 |
UselessParentheses | Useless parentheses. | 2257 |
UselessParentheses | Useless parentheses. | 2274 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 136 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 237 |
UselessParentheses | Useless parentheses. | 271 |
UselessParentheses | Useless parentheses. | 272–273 |
UselessParentheses | Useless parentheses. | 273 |
UselessParentheses | Useless parentheses. | 274 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 285 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 561 |
UselessParentheses | Useless parentheses. | 573 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 138 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 172 |
UselessParentheses | Useless parentheses. | 456 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 113 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1411 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'StringUtils.toLowerCase' due to existing static import 'org.eclipse.jgit.util.StringUtils.toLowerCase' | 281 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 514–515 |
UselessParentheses | Useless parentheses. | 607–608 |
UselessParentheses | Useless parentheses. | 607–608 |
UselessParentheses | Useless parentheses. | 607 |
UselessParentheses | Useless parentheses. | 618 |
UselessParentheses | Useless parentheses. | 735–736 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 563 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 595 |
UselessParentheses | Useless parentheses. | 868 |
UselessParentheses | Useless parentheses. | 928 |
UselessParentheses | Useless parentheses. | 929 |
UselessParentheses | Useless parentheses. | 1007 |
UselessParentheses | Useless parentheses. | 1019 |
UselessParentheses | Useless parentheses. | 1100–1101 |
UselessParentheses | Useless parentheses. | 1102 |
UselessParentheses | Useless parentheses. | 1103 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 618 |
UselessParentheses | Useless parentheses. | 630 |
UselessParentheses | Useless parentheses. | 827 |
UselessParentheses | Useless parentheses. | 828 |
UselessParentheses | Useless parentheses. | 829 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.File' | 46 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 302 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 86 |
UselessParentheses | Useless parentheses. | 94 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 317 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 75 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 141 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 823–824 |
UselessParentheses | Useless parentheses. | 823–824 |
UselessParentheses | Useless parentheses. | 823 |
UselessParentheses | Useless parentheses. | 887–888 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 50 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 51 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 49 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 50 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 284 |
UselessParentheses | Useless parentheses. | 286 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'RawParseUtils.decode' due to existing static import 'org.eclipse.jgit.util.RawParseUtils.decode' | 297 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 195 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 121 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.jgit.revwalk.RevWalk' due to existing same package import 'org.eclipse.jgit.revwalk.*' | 104 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.jgit.revwalk.ObjectWalk' due to existing same package import 'org.eclipse.jgit.revwalk.*' | 184 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.AnyObjectId' | 60 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 371 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 530 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 401–402 |
UselessParentheses | Useless parentheses. | 437 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.OK' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.OK' | 542 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Collection' | 50 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 175 |
UselessParentheses | Useless parentheses. | 176 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 95–113 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.OutputStream' | 46 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.ProgressMonitor' | 48 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 851 |
UselessParentheses | Useless parentheses. | 1026 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 267 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 279 |
UselessParentheses | Useless parentheses. | 777 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 843 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 871 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 875 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 881 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_STRING_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_STRING_LENGTH' | 167 |
UselessParentheses | Useless parentheses. | 320 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 355–356 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 154 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 89 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 182 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 115 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 276–277 |
UselessParentheses | Useless parentheses. | 337 |
UselessParentheses | Useless parentheses. | 338 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 700–701 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_OK' due to existing import 'java.net.HttpURLConnection' | 72 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_PERM' due to existing import 'java.net.HttpURLConnection' | 78 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_TEMP' due to existing import 'java.net.HttpURLConnection' | 84 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_SEE_OTHER' due to existing import 'java.net.HttpURLConnection' | 90 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_NOT_FOUND' due to existing import 'java.net.HttpURLConnection' | 103 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_UNAUTHORIZED' due to existing import 'java.net.HttpURLConnection' | 108 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_FORBIDDEN' due to existing import 'java.net.HttpURLConnection' | 113 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 83 |
UselessParentheses | Useless parentheses. | 84 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1302 |
UselessParentheses | Useless parentheses. | 1443 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 327–328 |
UselessParentheses | Useless parentheses. | 1525–1526 |
UselessParentheses | Useless parentheses. | 1527–1528 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 77 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.ObjectReader' | 56 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 116 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 120 |
UselessParentheses | Useless parentheses. | 127 |
UselessParentheses | Useless parentheses. | 134 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1290 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 463 |
UselessParentheses | Useless parentheses. | 463 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 64 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 261–262 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 91 |
UselessParentheses | Useless parentheses. | 203 |
UselessParentheses | Useless parentheses. | 206 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 235 |
UselessParentheses | Useless parentheses. | 289 |
UselessParentheses | Useless parentheses. | 748 |
UselessParentheses | Useless parentheses. | 958 |
UselessParentheses | Useless parentheses. | 1306 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 122 |
UselessParentheses | Useless parentheses. | 126 |
UselessParentheses | Useless parentheses. | 127 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.time.Duration' | 46 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 212–213 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'FileMode.GITLINK' due to existing static import 'org.eclipse.jgit.lib.FileMode.GITLINK' | 4 | 213 |
UselessParentheses | Useless parentheses. | 4 | 214–215 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Format': member interfaces are implicitly static | 3 | 127–194 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Stage': nested enums are implicitly static | 3 | 140–161 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Stage(int)': enum constructors are implicitly private | 3 | 158–160 |
UselessParentheses | Useless parentheses. | 4 | 576 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 204 |
UselessParentheses | Useless parentheses. | 4 | 205 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 706–709 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 398–399 |
UselessParentheses | Useless parentheses. | 4 | 400 |
UselessParentheses | Useless parentheses. | 4 | 532 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.R_HEADS' due to existing static import 'org.eclipse.jgit.lib.Constants.R_HEADS' | 4 | 256 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 433 |
UselessParentheses | Useless parentheses. | 4 | 433 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 195–196 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 285–288 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 288–292 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 416 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 284 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 716–721 |
UselessParentheses | Useless parentheses. | 4 | 783 |
UselessParentheses | Useless parentheses. | 4 | 783–784 |
UselessParentheses | Useless parentheses. | 4 | 784 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1300–1303 |
UselessParentheses | Useless parentheses. | 4 | 1721 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 375–379 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'state'. | 3 | 216 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'configure': the method is declared in an interface type | 3 | 71 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'State': nested enums are implicitly static | 3 | 70–86 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 159 |
UselessParentheses | Useless parentheses. | 4 | 172 |
UselessParentheses | Useless parentheses. | 4 | 185 |
UselessParentheses | Useless parentheses. | 4 | 199 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 144 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getInfoAttributesNode': the method is declared in an interface type | 3 | 66 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getGlobalAttributesNode': the method is declared in an interface type | 3 | 79 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getAttributes': the method is declared in an interface type | 3 | 56 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 157–159 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 3 | 72–73 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyWhileStmt | Avoid empty while statements | 3 | 431–433 |
EmptyIfStmt | Avoid empty if statements | 3 | 521–525 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isFile': private methods cannot be overridden | 3 | 1019–1021 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'RenameDetectionType': nested enums are implicitly static | 3 | 62–71 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'ChangeType': nested enums are implicitly static | 3 | 75–90 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Side': nested enums are implicitly static | 3 | 93–99 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 45–1243 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 722–724 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 3 | 67–79 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 320 |
UselessParentheses | Useless parentheses. | 4 | 442–443 |
UselessParentheses | Useless parentheses. | 4 | 501 |
UselessParentheses | Useless parentheses. | 4 | 549 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 83 |
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UselessParentheses | Useless parentheses. | 4 | 206 |
UselessParentheses | Useless parentheses. | 4 | 252 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 381 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'fs'. | 3 | 377 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 181 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 234 |
UselessParentheses | Useless parentheses. | 4 | 234 |
EmptyIfStmt | Avoid empty if statements | 3 | 457–460 |
EmptyIfStmt | Avoid empty if statements | 3 | 462–467 |
UselessParentheses | Useless parentheses. | 4 | 641 |
UselessParentheses | Useless parentheses. | 4 | 719 |
UselessParentheses | Useless parentheses. | 4 | 720 |
UselessParentheses | Useless parentheses. | 4 | 721 |
UselessParentheses | Useless parentheses. | 4 | 722 |
UselessParentheses | Useless parentheses. | 4 | 723 |
UselessParentheses | Useless parentheses. | 4 | 724 |
UselessParentheses | Useless parentheses. | 4 | 783 |
UselessParentheses | Useless parentheses. | 4 | 784 |
UselessParentheses | Useless parentheses. | 4 | 784 |
UselessParentheses | Useless parentheses. | 4 | 784 |
UselessParentheses | Useless parentheses. | 4 | 880 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 892–901 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 895–900 |
UselessParentheses | Useless parentheses. | 4 | 1123–1124 |
EmptyWhileStmt | Avoid empty while statements | 3 | 1571–1573 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 125 |
UselessParentheses | Useless parentheses. | 4 | 294 |
UselessParentheses | Useless parentheses. | 4 | 418 |
UselessParentheses | Useless parentheses. | 4 | 418 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 246–252 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 493 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MergeBaseFailureReason': nested enums are implicitly static | 3 | 66–85 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'otp'. | 3 | 63 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 63–65 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 135–142 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 164–166 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 173–175 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 182–184 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 191–193 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 200–202 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 209–211 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 222–224 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getNextHeads': the method is declared in an interface type | 3 | 57 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 57–59 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 54–56 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'readIncludeFile': the method is declared in an interface type | 3 | 111–112 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'sha1': the method is declared in an interface type | 3 | 153 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'readFile': the method is declared in an interface type | 3 | 169–170 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 516–518 |
UselessParentheses | Useless parentheses. | 4 | 705 |
UselessParentheses | Useless parentheses. | 4 | 706 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 162–164 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MatchResult': nested enums are implicitly static | 3 | 62–79 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NO_MATCH': the field is declared in an interface type | 3 | 53–64 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 66 |
UselessParentheses | Useless parentheses. | 4 | 130 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 43–343 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Strings.getPathSeparator' due to existing static import 'org.eclipse.jgit.ignore.internal.Strings.getPathSeparator' | 4 | 131 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 138 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PatternState': nested enums are implicitly static | 3 | 234–236 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 337–339 |
UselessParentheses | Useless parentheses. | 4 | 398 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 64–68 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'matches': the method is already in a final class | 3 | 72–74 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 106–108 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–642 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'State': nested enums are implicitly static | 3 | 129–141 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–158 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–791 |
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 3 | 348 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–374 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–185 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 150–152 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–240 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–448 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'State(boolean)': enum constructors are implicitly private | 3 | 114–116 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 4 | 427 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–329 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–247 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 81–83 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 89–91 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–253 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–788 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 4 | 477 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 248–250 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 4 | 626 |
UselessParentheses | Useless parentheses. | 4 | 633 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PackSource': nested enums are implicitly static | 3 | 100–235 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–533 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 205 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 4 | 579 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isGarbage': the method is already in a final class | 3 | 245–247 |
UselessParentheses | Useless parentheses. | 4 | 561 |
UselessParentheses | Useless parentheses. | 4 | 567 |
UselessParentheses | Useless parentheses. | 4 | 574 |
UselessParentheses | Useless parentheses. | 4 | 580 |
UselessParentheses | Useless parentheses. | 4 | 597 |
UselessParentheses | Useless parentheses. | 4 | 621 |
UselessParentheses | Useless parentheses. | 4 | 706 |
UselessParentheses | Useless parentheses. | 4 | 714 |
UselessParentheses | Useless parentheses. | 4 | 786 |
UselessParentheses | Useless parentheses. | 4 | 834 |
UselessParentheses | Useless parentheses. | 4 | 949 |
UselessParentheses | Useless parentheses. | 4 | 1056 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 183–185 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 361–363 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 381–383 |
UselessParentheses | Useless parentheses. | 4 | 766 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–182 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 384–386 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 176–178 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 244–245 |
Rule | Violation | Priority | Line |
---|---|---|---|
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 3 | 141 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'position': the method is declared in an interface type | 3 | 60 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'position': the method is declared in an interface type | 3 | 73 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'size': the method is declared in an interface type | 3 | 86 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'blockSize': the method is declared in an interface type | 3 | 105 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setReadAheadBytes': the method is declared in an interface type | 3 | 134 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–460 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 122–124 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'clear': the method is already in a final class | 3 | 62–64 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 66–74 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'clear': the method is already in a final class | 3 | 76–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 3 | 82–85 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'toEWAHCompressedBitmap': the method is already in a final class | 3 | 87–112 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': private methods cannot be overridden | 3 | 114–116 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'mask': private methods cannot be overridden | 3 | 118–120 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofObjectType': private methods cannot be overridden | 3 | 344–346 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 112–114 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 199–201 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'InsertLooseObjectResult': nested enums are implicitly static | 3 | 63–65 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 225–228 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 298–300 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 578 |
UselessParentheses | Useless parentheses. | 4 | 578 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 425–427 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 462–464 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 580–583 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 961–963 |
UselessParentheses | Useless parentheses. | 4 | 981–984 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 4 | 1165 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 4 | 1168 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 111–113 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'maybeContains': the method is already in a final class | 3 | 76–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'contains': the method is already in a final class | 3 | 82–124 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': private methods cannot be overridden | 3 | 126–129 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': private methods cannot be overridden | 3 | 131–133 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'mask': private methods cannot be overridden | 3 | 135–137 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isEmpty': private methods cannot be overridden | 3 | 139–141 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'or': the method is already in a final class | 3 | 143–147 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'andNot': the method is already in a final class | 3 | 149–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'xor': the method is already in a final class | 3 | 155–162 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getBitmap': the method is already in a final class | 3 | 164–166 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 98–100 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 327–329 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 343–345 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 501 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 594 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 640 |
UselessParentheses | Useless parentheses. | 4 | 655 |
UselessParentheses | Useless parentheses. | 4 | 656 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 730–732 |
UselessParentheses | Useless parentheses. | 4 | 776 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 220–222 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 163 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'decompress': private methods cannot be overridden | 3 | 398–419 |
UselessParentheses | Useless parentheses. | 4 | 465 |
UselessParentheses | Useless parentheses. | 4 | 471 |
UselessParentheses | Useless parentheses. | 4 | 478 |
UselessParentheses | Useless parentheses. | 4 | 484 |
UselessParentheses | Useless parentheses. | 4 | 501 |
UselessParentheses | Useless parentheses. | 4 | 534 |
UselessParentheses | Useless parentheses. | 4 | 554 |
UselessParentheses | Useless parentheses. | 4 | 611 |
UselessParentheses | Useless parentheses. | 4 | 619 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 735–739 |
UselessParentheses | Useless parentheses. | 4 | 870 |
UselessParentheses | Useless parentheses. | 4 | 919 |
UselessParentheses | Useless parentheses. | 4 | 1034 |
UselessParentheses | Useless parentheses. | 4 | 1125 |
UselessParentheses | Useless parentheses. | 4 | 1140 |
UselessParentheses | Useless parentheses. | 4 | 1226 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 240 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 231 |
UselessParentheses | Useless parentheses. | 4 | 338 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 349–351 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 356–358 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 361–363 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'fs'. | 3 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–551 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 356 |
UselessParentheses | Useless parentheses. | 4 | 393 |
UselessParentheses | Useless parentheses. | 4 | 394 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 451–453 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 472–486 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 4 | 546 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 47–1490 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 516 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 538–539 |
UselessParentheses | Useless parentheses. | 4 | 1162 |
UselessParentheses | Useless parentheses. | 4 | 1177 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.HEAD' due to existing static import 'org.eclipse.jgit.lib.Constants.HEAD' | 4 | 1214 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.R_REFS' due to existing static import 'org.eclipse.jgit.lib.Constants.R_REFS' | 4 | 1245 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'LooseRef': member interfaces are implicitly static | 3 | 1384–1388 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 217–219 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 46–274 |
UselessParentheses | Useless parentheses. | 4 | 242 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 69–73 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'StatsRecorder': member interfaces are implicitly static | 3 | 146–215 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'bits': private methods cannot be overridden | 3 | 361–367 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'PageRef': member interfaces are implicitly static | 3 | 805–865 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'CleanupQueue': member interfaces are implicitly static | 3 | 990–993 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 319 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 136–138 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
ForLoopShouldBeWhileLoop | This for loop could be simplified to a while loop | 3 | 140–150 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'size': the method is already in a final class | 3 | 267–269 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 355 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 225 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 309–311 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 57–61 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'depth': the method is already in a final class | 3 | 64–66 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'type': the method is already in a final class | 3 | 69–71 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'size': the method is already in a final class | 3 | 74–76 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'empty': the method is already in a final class | 3 | 79–81 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'makeNext': the method is already in a final class | 3 | 83–93 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'newObjectToPack': the method is declared in an interface type | 3 | 82 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'selectObjectRepresentation': the method is declared in an interface type | 3 | 117–119 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'writeObjects': the method is declared in an interface type | 3 | 158–159 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'copyObjectAsIs': the method is declared in an interface type | 3 | 203–205 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'copyPackAsIs': the method is declared in an interface type | 3 | 219–220 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCachedPacksAndUpdate': the method is declared in an interface type | 3 | 237–238 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'write': the method is already in a final class | 3 | 110–114 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'write': the method is already in a final class | 3 | 118–138 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeFileHeader': the method is already in a final class | 3 | 146–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeObject': the method is already in a final class | 3 | 170–172 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'writeHeader': the method is already in a final class | 3 | 190–205 |
UselessParentheses | Useless parentheses. | 4 | 193 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'objectHeader': private methods cannot be overridden | 3 | 207–216 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofsDelta': private methods cannot be overridden | 3 | 218–225 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'ofsDeltaVarIntLength': private methods cannot be overridden | 3 | 227–232 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getCopyBuffer': the method is already in a final class | 3 | 239–241 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'length': the method is already in a final class | 3 | 252–254 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getDigest': the method is already in a final class | 3 | 257–259 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 45–2352 |
UselessParentheses | Useless parentheses. | 4 | 382 |
EmptyWhileStmt | Avoid empty while statements | 3 | 1859–1861 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2156–2157 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'have': private methods cannot be overridden | 3 | 2171–2174 |
UselessParentheses | Useless parentheses. | 4 | 2172 |
UselessParentheses | Useless parentheses. | 4 | 2173 |
UselessParentheses | Useless parentheses. | 4 | 2257 |
UselessParentheses | Useless parentheses. | 4 | 2274 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PackingPhase': nested enums are implicitly static | 3 | 2300–2318 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 136 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 4 | 237 |
UselessParentheses | Useless parentheses. | 4 | 271 |
UselessParentheses | Useless parentheses. | 4 | 272–273 |
UselessParentheses | Useless parentheses. | 4 | 273 |
UselessParentheses | Useless parentheses. | 4 | 274 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 4 | 285 |
EmptyWhileStmt | Avoid empty while statements | 3 | 294–296 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 306–310 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–589 |
UselessParentheses | Useless parentheses. | 4 | 561 |
UselessParentheses | Useless parentheses. | 4 | 573 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–605 |
UselessParentheses | Useless parentheses. | 4 | 138 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–249 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–707 |
UselessParentheses | Useless parentheses. | 4 | 172 |
UselessParentheses | Useless parentheses. | 4 | 456 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 516 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 576 |
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 3 | 685 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–835 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 683 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–342 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–417 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–227 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–286 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isId': the method is already in a final class | 3 | 77–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 3 | 101–109 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromObjectId': the method is already in a final class | 3 | 122–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 3 | 134–139 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 3 | 141–153 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hexUInt32': private methods cannot be overridden | 3 | 155–166 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 247–267 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 283–303 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 319–339 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFirstByte': the method is already in a final class | 3 | 346–348 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'name': the method is already in a final class | 3 | 376–397 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 280 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 3 | 81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCurrent': the method is declared in an interface type | 3 | 90 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getObjectId': the method is declared in an interface type | 3 | 97 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'open': the method is declared in an interface type | 3 | 118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 3 | 76 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getCurrent': the method is declared in an interface type | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getObjectId': the method is declared in an interface type | 3 | 92 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getSize': the method is declared in an interface type | 3 | 99 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'cancel': the method is declared in an interface type | 3 | 71 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'release': the method is declared in an interface type | 3 | 76 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–783 |
UselessParentheses | Useless parentheses. | 4 | 113 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on interface 'Bitmap': members of interface types are implicitly public | 3 | 77–117 |
UnnecessaryModifier | Unnecessary modifier 'public' on interface 'BitmapBuilder': members of interface types are implicitly public | 3 | 123–211 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL_CHECKER': the field is declared in an interface type | 3 | 58–69 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'BranchRebaseMode(String)': enum constructors are implicitly private | 3 | 75–77 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getFromBranch': the method is declared in an interface type | 3 | 15 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getToBranch': the method is declared in an interface type | 3 | 22 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 1411 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'SectionParser': member interfaces are implicitly static | 3 | 1439–1448 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'ConfigEnum': member interfaces are implicitly static | 3 | 1476–1492 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'StringUtils.toLowerCase' due to existing static import 'org.eclipse.jgit.util.StringUtils.toLowerCase' | 4 | 281 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'AutoCRLF': nested enums are implicitly static | 3 | 63–72 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'EOL': nested enums are implicitly static | 3 | 81–90 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'EolStreamType': nested enums are implicitly static | 3 | 97–112 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'CheckStat': nested enums are implicitly static | 3 | 119–131 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'SymLinks': nested enums are implicitly static | 3 | 148–153 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'HideDotFiles': nested enums are implicitly static | 3 | 160–167 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 128–130 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 68 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 71 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 74 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 77 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 80 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 83 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 106 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 110 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 115 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 119 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 157 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'StageState': nested enums are implicitly static | 3 | 107–195 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'StageState(int)': enum constructors are implicitly private | 3 | 145–147 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getWorkingTreeIterator': the method is declared in an interface type | 3 | 346 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 473–476 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 512–516 |
UselessParentheses | Useless parentheses. | 4 | 514–515 |
UselessParentheses | Useless parentheses. | 4 | 607–608 |
UselessParentheses | Useless parentheses. | 4 | 607–608 |
UselessParentheses | Useless parentheses. | 4 | 607 |
UselessParentheses | Useless parentheses. | 4 | 618 |
UselessParentheses | Useless parentheses. | 4 | 735–736 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 45–1254 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 4 | 563 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 4 | 595 |
UselessParentheses | Useless parentheses. | 4 | 868 |
UselessParentheses | Useless parentheses. | 4 | 928 |
UselessParentheses | Useless parentheses. | 4 | 929 |
UselessParentheses | Useless parentheses. | 4 | 1007 |
UselessParentheses | Useless parentheses. | 4 | 1019 |
UselessParentheses | Useless parentheses. | 4 | 1100–1101 |
UselessParentheses | Useless parentheses. | 4 | 1102 |
UselessParentheses | Useless parentheses. | 4 | 1103 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 3 | 237–249 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newSegment': private methods cannot be overridden | 3 | 340–342 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'computeGrowAt': private methods cannot be overridden | 3 | 344–346 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'equals': private methods cannot be overridden | 3 | 348–355 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'createArray': private methods cannot be overridden | 3 | 257–259 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'UNKNOWN': the field is declared in an interface type | 3 | 52 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Action': nested enums are implicitly static | 3 | 61–118 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Action(String, String)': enum constructors are implicitly private | 3 | 87–90 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 191–194 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Storage': nested enums are implicitly static | 3 | 64–126 |
UnnecessaryModifier | Unnecessary modifier 'public' on enum 'Storage': the enum is declared in an interface type | 3 | 64–126 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'Storage(boolean, boolean)': enum constructors are implicitly private | 3 | 108–111 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type | 3 | 134 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'isSymbolic': the method is declared in an interface type | 3 | 147 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getLeaf': the method is declared in an interface type | 3 | 166 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getTarget': the method is declared in an interface type | 3 | 181 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getObjectId': the method is declared in an interface type | 3 | 191 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getPeeledObjectId': the method is declared in an interface type | 3 | 201 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'isPeeled': the method is declared in an interface type | 3 | 208 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getStorage': the method is declared in an interface type | 3 | 219 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Result': nested enums are implicitly static | 3 | 68–171 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 778–780 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_CREATED': the field is declared in an interface type | 3 | 60 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_FAST_FORWARD': the field is declared in an interface type | 3 | 72 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'PREFIX_FORCED_UPDATE': the field is declared in an interface type | 3 | 83 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getOldId': the method is declared in an interface type | 3 | 90 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getNewId': the method is declared in an interface type | 3 | 97 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getWho': the method is declared in an interface type | 3 | 104 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getComment': the method is declared in an interface type | 3 | 111 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'parseCheckout': the method is declared in an interface type | 3 | 120 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getLastEntry': the method is declared in an interface type | 3 | 62 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntries': the method is declared in an interface type | 3 | 70 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntry': the method is declared in an interface type | 3 | 80 |
UnnecessaryModifier | Unnecessary modifiers 'public abstract' on method 'getReverseEntries': the method is declared in an interface type | 3 | 90–91 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 618 |
UselessParentheses | Useless parentheses. | 4 | 630 |
UselessParentheses | Useless parentheses. | 4 | 827 |
UselessParentheses | Useless parentheses. | 4 | 828 |
UselessParentheses | Useless parentheses. | 4 | 829 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 885–886 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1322–1326 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1339–1341 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1352–1354 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.File' | 4 | 46 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 302 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Key': member interfaces are implicitly static | 3 | 347–368 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 95–97 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'FetchRecurseSubmodulesMode(String)': enum constructors are implicitly private | 3 | 74–76 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–403 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 86 |
UselessParentheses | Useless parentheses. | 4 | 94 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 317 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 72–74 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 75 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 141 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 47–1352 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 408–410 |
UselessParentheses | Useless parentheses. | 4 | 823–824 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 823–849 |
UselessParentheses | Useless parentheses. | 4 | 823–824 |
UselessParentheses | Useless parentheses. | 4 | 823 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 839–841 |
UselessParentheses | Useless parentheses. | 4 | 887–888 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'inCore'. | 3 | 86 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 4 | 50 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 4 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 4 | 49 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 4 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 284 |
UselessParentheses | Useless parentheses. | 4 | 286 |
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 3 | 298 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 3 | 61–67 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 152–154 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–653 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'PatchType': nested enums are implicitly static | 3 | 107–116 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 248–251 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'RawParseUtils.decode' due to existing static import 'org.eclipse.jgit.util.RawParseUtils.decode' | 4 | 297 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Severity': nested enums are implicitly static | 3 | 57–63 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–392 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 195 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 198–200 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'next': the method is declared in an interface type | 3 | 69 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 138–141 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 157–172 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 121 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getDepth': the method is declared in an interface type | 3 | 64 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getUnshallowFlag': the method is declared in an interface type | 3 | 72 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getReinterestingFlag': the method is declared in an interface type | 3 | 79 |
UnnecessaryModifier | Unnecessary modifier 'static' on class 'Commit': types nested within an interface type are implicitly static | 3 | 82–101 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'Commit': members of interface types are implicitly public | 3 | 82–101 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.jgit.revwalk.RevWalk' due to existing same package import 'org.eclipse.jgit.revwalk.*' | 4 | 104 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'RevWalk': members of interface types are implicitly public | 3 | 104–181 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.jgit.revwalk.ObjectWalk' due to existing same package import 'org.eclipse.jgit.revwalk.*' | 4 | 184 |
UnnecessaryModifier | Unnecessary modifier 'public' on class 'ObjectWalk': members of interface types are implicitly public | 3 | 184–274 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.AnyObjectId' | 4 | 60 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 86 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 87 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 88 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 89 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 324 |
EmptyWhileStmt | Avoid empty while statements | 3 | 740–742 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 193–196 |
UselessParentheses | Useless parentheses. | 4 | 371 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 1358 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 126 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–303 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOpenFiles': the method is declared in an interface type | 3 | 63–65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOpenBytes': the method is declared in an interface type | 3 | 72–74 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getStats': the method is declared in an interface type | 3 | 80–82 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 530 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 624 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DEFAULT': the field is declared in an interface type | 3 | 58–68 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'advertiseRefs': the method is declared in an interface type | 3 | 80–81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'advertiseRefs': the method is declared in an interface type | 3 | 93–94 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 345–347 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 356–358 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 386–388 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 429–431 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 485–487 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 505–508 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 788–790 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 185–187 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 191–193 |
UselessParentheses | Useless parentheses. | 4 | 401–402 |
UselessParentheses | Useless parentheses. | 4 | 437 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–1982 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 380–382 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 391–393 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 407–409 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1055–1057 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1362–1364 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 265–267 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 302–304 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRefsMap': the method is declared in an interface type | 3 | 71 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRefs': the method is declared in an interface type | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRef': the method is declared in an interface type | 3 | 98 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'close': the method is declared in an interface type | 3 | 118 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getMessages': the method is declared in an interface type | 3 | 135 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPeerUserAgent': the method is declared in an interface type | 3 | 144 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 3 | 114 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 325–327 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 351–353 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 435–437 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 437–439 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 439–441 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 444–446 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 449–451 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 72 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'fetch': the method is declared in an interface type | 3 | 112–114 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'fetch': the method is declared in an interface type | 3 | 154–156 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'didFetchIncludeTags': the method is declared in an interface type | 3 | 176 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'didFetchTestConnectivity': the method is declared in an interface type | 3 | 199 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setPackLockMessage': the method is declared in an interface type | 3 | 211 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPackLocks': the method is declared in an interface type | 3 | 221 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'ReceiveCommand.Result.OK' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.OK' | 4 | 542 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Collection' | 4 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'MultiAck': nested enums are implicitly static | 3 | 261–263 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 175 |
UselessParentheses | Useless parentheses. | 4 | 176 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 192–194 |
EmptyIfStmt | Avoid empty if statements | 3 | 416–418 |
EmptyIfStmt | Avoid empty if statements | 3 | 419–421 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 95–113 |
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'HttpRedirectMode(String)': enum constructors are implicitly private | 3 | 132–134 |
EmptyIfStmt | Avoid empty if statements | 3 | 389–391 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 110–112 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 112–114 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 123–125 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 129–131 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 102–104 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 104–106 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 106–108 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 108–110 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 113–115 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 119–121 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 433–435 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 435–437 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 456–458 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 520–533 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 530–532 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 171–173 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 103–107 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'createNonce': the method is declared in an interface type | 3 | 69–70 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'verify': the method is declared in an interface type | 3 | 94–95 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.io.OutputStream' | 4 | 46 |
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.ProgressMonitor' | 4 | 48 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 233–235 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 373–375 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Source': nested enums are implicitly static | 3 | 106–112 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'checkIfTooLarge': private methods cannot be overridden | 3 | 731–754 |
UselessParentheses | Useless parentheses. | 4 | 851 |
UselessParentheses | Useless parentheses. | 4 | 1026 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1184–1188 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1200–1204 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'AckNackResult': nested enums are implicitly static | 3 | 85–96 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 260–262 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 3 | 66–72 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPostReceive': the method is declared in an interface type | 3 | 84–85 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 3 | 60–65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPostUpload': the method is declared in an interface type | 3 | 75 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 3 | 82–88 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onPreReceive': the method is declared in an interface type | 3 | 102 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NULL': the field is declared in an interface type | 3 | 62–85 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onBeginNegotiateRound': the method is declared in an interface type | 3 | 99–101 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onEndNegotiateRound': the method is declared in an interface type | 3 | 123–126 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'onSendPack': the method is declared in an interface type | 3 | 144–146 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on field 'DEFAULT': the field is declared in an interface type | 3 | 55–57 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 43–220 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 267 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'StringReader': member interfaces are implicitly static | 3 | 87–98 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 265–268 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'PushRecurseSubmodulesMode(String)': enum constructors are implicitly private | 3 | 76–78 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'push': the method is declared in an interface type | 3 | 116–118 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'push': the method is declared in an interface type | 3 | 166–168 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 296–298 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Type': nested enums are implicitly static | 3 | 75–98 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Result': nested enums are implicitly static | 3 | 101–134 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 4 | 279 |
UselessParentheses | Useless parentheses. | 4 | 777 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 780–784 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 4 | 843 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 4 | 871 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 4 | 875 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Result.REJECTED_OTHER_REASON' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.REJECTED_OTHER_REASON' | 4 | 881 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 323–325 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Constants.OBJECT_ID_STRING_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_STRING_LENGTH' | 4 | 167 |
UselessParentheses | Useless parentheses. | 4 | 320 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DEFAULT': the field is declared in an interface type | 3 | 64–69 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'filter': the method is declared in an interface type | 3 | 79 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 553–554 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Status': nested enums are implicitly static | 3 | 75–127 |
UselessParentheses | Useless parentheses. | 4 | 355–356 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'exec': the method is declared in an interface type | 3 | 81 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'disconnect': the method is declared in an interface type | 3 | 86 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 154 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'TagOpt(String)': enum constructors are implicitly private | 3 | 87–89 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 160–162 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 263–265 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'V2_BUNDLE_SIGNATURE': the field is declared in an interface type | 3 | 61 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 89 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 118–120 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 154–156 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 214–216 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 253–255 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 182 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 353–355 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 360–362 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 47–1450 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 772–774 |
EmptyWhileStmt | Avoid empty while statements | 3 | 907–909 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 928–930 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 934–936 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 115 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'URIishField': nested enums are implicitly static | 3 | 93–104 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 362–365 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 276–277 |
UselessParentheses | Useless parentheses. | 4 | 337 |
UselessParentheses | Useless parentheses. | 4 | 338 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 44–2203 |
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'RequestPolicy': nested enums are implicitly static | 3 | 126–156 |
UselessParentheses | Useless parentheses. | 4 | 700–701 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 941–943 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 954–956 |
EmptyWhileStmt | Avoid empty while statements | 3 | 963–965 |
EmptyWhileStmt | Avoid empty while statements | 3 | 1198–1200 |
EmptyWhileStmt | Avoid empty while statements | 3 | 1207–1209 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1254–1256 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1424–1426 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 120–124 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 594 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 843–845 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 302–306 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 423–425 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_OK': the field is declared in an interface type | 3 | 72 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_OK' due to existing import 'java.net.HttpURLConnection' | 4 | 72 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_PERM' due to existing import 'java.net.HttpURLConnection' | 4 | 78 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_MOVED_PERM': the field is declared in an interface type | 3 | 78 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_MOVED_TEMP': the field is declared in an interface type | 3 | 84 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_TEMP' due to existing import 'java.net.HttpURLConnection' | 4 | 84 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_SEE_OTHER': the field is declared in an interface type | 3 | 90 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_SEE_OTHER' due to existing import 'java.net.HttpURLConnection' | 4 | 90 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_11_MOVED_TEMP': the field is declared in an interface type | 3 | 98 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_NOT_FOUND' due to existing import 'java.net.HttpURLConnection' | 4 | 103 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_NOT_FOUND': the field is declared in an interface type | 3 | 103 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_UNAUTHORIZED' due to existing import 'java.net.HttpURLConnection' | 4 | 108 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_UNAUTHORIZED': the field is declared in an interface type | 3 | 108 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_FORBIDDEN' due to existing import 'java.net.HttpURLConnection' | 4 | 113 |
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'HTTP_FORBIDDEN': the field is declared in an interface type | 3 | 113 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getResponseCode': the method is declared in an interface type | 3 | 122 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getURL': the method is declared in an interface type | 3 | 130 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getResponseMessage': the method is declared in an interface type | 3 | 139 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getHeaderFields': the method is declared in an interface type | 3 | 147 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRequestProperty': the method is declared in an interface type | 3 | 159 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRequestMethod': the method is declared in an interface type | 3 | 173–174 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setUseCaches': the method is declared in an interface type | 3 | 184 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setConnectTimeout': the method is declared in an interface type | 3 | 194 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setReadTimeout': the method is declared in an interface type | 3 | 204 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getContentType': the method is declared in an interface type | 3 | 213 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type | 3 | 225 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getHeaderField': the method is declared in an interface type | 3 | 236 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getContentLength': the method is declared in an interface type | 3 | 246 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setInstanceFollowRedirects': the method is declared in an interface type | 3 | 256 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setDoOutput': the method is declared in an interface type | 3 | 265 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setFixedLengthStreamingMode': the method is declared in an interface type | 3 | 274 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getOutputStream': the method is declared in an interface type | 3 | 283 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setChunkedStreamingMode': the method is declared in an interface type | 3 | 293 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getRequestMethod': the method is declared in an interface type | 3 | 301 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'usingProxy': the method is declared in an interface type | 3 | 309 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'connect': the method is declared in an interface type | 3 | 317 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'configure': the method is declared in an interface type | 3 | 335–337 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setHostnameVerifier': the method is declared in an interface type | 3 | 348–349 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 3 | 65 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 3 | 78–79 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DISABLED': the field is declared in an interface type | 3 | 60–66 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'NONE': the field is declared in an interface type | 3 | 60–66 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifiers 'public static final' on field 'DISABLED': the field is declared in an interface type | 3 | 60–66 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 45–444 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 202 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 83 |
UselessParentheses | Useless parentheses. | 4 | 84 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 149 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'OperationType': nested enums are implicitly static | 3 | 114–125 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 864 |
UselessParentheses | Useless parentheses. | 4 | 1302 |
UselessParentheses | Useless parentheses. | 4 | 1443 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 327–328 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 473–477 |
EmptyWhileStmt | Avoid empty while statements | 3 | 513–515 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 901–902 |
UselessParentheses | Useless parentheses. | 4 | 1525–1526 |
UselessParentheses | Useless parentheses. | 4 | 1527–1528 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 77 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.eclipse.jgit.lib.ObjectReader' | 4 | 56 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 116 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 120 |
UselessParentheses | Useless parentheses. | 4 | 127 |
UselessParentheses | Useless parentheses. | 4 | 134 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 200 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 293 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 381–383 |
EmptyIfStmt | Avoid empty if statements | 3 | 1216–1219 |
UselessParentheses | Useless parentheses. | 4 | 1290 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1826–1833 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 2165–2167 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 87 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 172–190 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 173–189 |
UselessParentheses | Useless parentheses. | 4 | 463 |
UselessParentheses | Useless parentheses. | 4 | 463 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 166–168 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 182–198 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 304–306 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 505 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 826 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 64 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Format': nested enums are implicitly static | 3 | 71–117 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'private' on constructor 'ParseableSimpleDateFormat(String)': enum constructors are implicitly private | 3 | 131–133 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 231–233 |
UselessParentheses | Useless parentheses. | 4 | 261–262 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'setRepository': the method is declared in an interface type | 3 | 315 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'index': private methods cannot be overridden | 3 | 169–173 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'createArray': private methods cannot be overridden | 3 | 176–178 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 91 |
UselessParentheses | Useless parentheses. | 4 | 203 |
UselessParentheses | Useless parentheses. | 4 | 206 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Status': nested enums are implicitly static | 3 | 54–69 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 45–1344 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'match': the method is already in a final class | 3 | 129–136 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseBase10': the method is already in a final class | 3 | 210–244 |
UselessParentheses | Useless parentheses. | 4 | 235 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 238–240 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseLongBase10': the method is already in a final class | 3 | 264–298 |
UselessParentheses | Useless parentheses. | 4 | 289 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 292–294 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt16': the method is already in a final class | 3 | 315–328 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt32': the method is already in a final class | 3 | 345–369 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt64': the method is already in a final class | 3 | 387–435 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseHexInt4': the method is already in a final class | 3 | 446–451 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseTimeZoneOffset': the method is already in a final class | 3 | 465–467 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'parseTimeZoneOffset': the method is already in a final class | 3 | 485–491 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'next': the method is already in a final class | 3 | 504–511 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'nextLF': the method is already in a final class | 3 | 524–526 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'nextLF': the method is already in a final class | 3 | 541–549 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'headerEnd': the method is already in a final class | 3 | 562–571 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'headerStart': the method is already in a final class | 3 | 586–605 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prev': the method is already in a final class | 3 | 618–626 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prevLF': the method is already in a final class | 3 | 639–641 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prevLF': the method is already in a final class | 3 | 657–666 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lineMap': the method is already in a final class | 3 | 696–705 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lineMapOrBinary': the method is already in a final class | 3 | 723–730 |
UselessParentheses | Useless parentheses. | 4 | 748 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'author': the method is already in a final class | 3 | 767–774 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'committer': the method is already in a final class | 3 | 789–798 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'tagger': the method is already in a final class | 3 | 813–826 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'encoding': the method is already in a final class | 3 | 841–851 |
UselessParentheses | Useless parentheses. | 4 | 958 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'commitMessage': the method is already in a final class | 3 | 1254–1265 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'tagMessage': the method is already in a final class | 3 | 1278–1287 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'endOfParagraph': the method is already in a final class | 3 | 1303–1313 |
UselessParentheses | Useless parentheses. | 4 | 1306 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyWhileStmt | Avoid empty while statements | 3 | 100–102 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 112 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'neq': private methods cannot be overridden | 3 | 117–119 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'lc': private methods cannot be overridden | 3 | 121–123 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 3 | 428 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 122 |
UselessParentheses | Useless parentheses. | 4 | 126 |
UselessParentheses | Useless parentheses. | 4 | 127 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 405–407 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 71–73 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 149–151 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 154–156 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'init': the method is already in a final class | 3 | 589–592 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'save': the method is already in a final class | 3 | 594–600 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.time.Duration' | 4 | 46 |