The following document contains the results of PMD 5.6.1.
Violation | Line |
---|---|
Useless parentheses. | 211–212 |
Unnecessary use of fully qualified name 'FileMode.GITLINK' due to existing static import 'org.eclipse.jgit.lib.FileMode.GITLINK' | 212 |
Useless parentheses. | 213–214 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 122–213 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 140–161 |
Useless parentheses. | 576 |
Violation | Line |
---|---|
Useless parentheses. | 204 |
Useless parentheses. | 205 |
Violation | Line |
---|---|
Useless parentheses. | 398–399 |
Useless parentheses. | 400 |
Useless parentheses. | 532 |
Violation | Line |
---|---|
Avoid empty catch blocks | 289–292 |
Avoid empty catch blocks | 292–296 |
Violation | Line |
---|---|
Useless parentheses. | 284 |
Violation | Line |
---|---|
These nested if statements could be combined | 716–721 |
Useless parentheses. | 783–784 |
Useless parentheses. | 783 |
Useless parentheses. | 784 |
These nested if statements could be combined | 1301–1304 |
Violation | Line |
---|---|
These nested if statements could be combined | 375–379 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'state'. | 216 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 71 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 70–86 |
Violation | Line |
---|---|
Useless parentheses. | 159 |
Useless parentheses. | 172 |
Useless parentheses. | 185 |
Useless parentheses. | 199 |
Violation | Line |
---|---|
Useless parentheses. | 144 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 66 |
Avoid modifiers which are implied by the context | 79 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 56 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 72–73 |
Violation | Line |
---|---|
Avoid empty while statements | 431–433 |
Avoid empty if statements | 521–525 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 62–71 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 75–90 |
Avoid modifiers which are implied by the context | 93–99 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 45–1235 |
Avoid empty catch blocks | 714–716 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 67–79 |
Violation | Line |
---|---|
Useless parentheses. | 320 |
Useless parentheses. | 442–443 |
Useless parentheses. | 501 |
Useless parentheses. | 549 |
Violation | Line |
---|---|
Useless parentheses. | 83 |
Useless parentheses. | 133 |
Useless parentheses. | 171 |
Useless parentheses. | 206 |
Useless parentheses. | 252 |
Violation | Line |
---|---|
Useless parentheses. | 366 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'fs'. | 375 |
Avoid empty catch blocks | 440–442 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 181 |
Violation | Line |
---|---|
Useless parentheses. | 233 |
Useless parentheses. | 233 |
Avoid empty if statements | 454–457 |
Avoid empty if statements | 459–464 |
Useless parentheses. | 638 |
Useless parentheses. | 780 |
Useless parentheses. | 781 |
Useless parentheses. | 781 |
Useless parentheses. | 781 |
Useless parentheses. | 877 |
These nested if statements could be combined | 889–898 |
These nested if statements could be combined | 892–897 |
Useless parentheses. | 1120–1121 |
Avoid empty while statements | 1564–1566 |
Violation | Line |
---|---|
Useless parentheses. | 122 |
Useless parentheses. | 290 |
Useless parentheses. | 392 |
Useless parentheses. | 392 |
Violation | Line |
---|---|
These nested if statements could be combined | 246–252 |
Violation | Line |
---|---|
Useless parentheses. | 492 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 66–85 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'otp'. | 65 |
Avoid unused constructor parameters such as 'otp'. | 78 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 63–65 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 135–142 |
Unnecessary final modifier in final class | 164–166 |
Unnecessary final modifier in final class | 173–175 |
Unnecessary final modifier in final class | 182–184 |
Unnecessary final modifier in final class | 191–193 |
Unnecessary final modifier in final class | 200–202 |
Unnecessary final modifier in final class | 209–211 |
Unnecessary final modifier in final class | 222–224 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 57 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 57–59 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 54–56 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 111–112 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 153 |
Avoid modifiers which are implied by the context | 169–170 |
Avoid empty catch blocks | 516–518 |
Useless parentheses. | 709 |
Useless parentheses. | 710 |
Useless parentheses. | 737 |
Useless parentheses. | 738 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 62–79 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 53–64 |
Violation | Line |
---|---|
Ternary operators that can be simplified with || or && | 66 |
Useless parentheses. | 130 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 43–343 |
Unnecessary use of fully qualified name 'Strings.getPathSeparator' due to existing static import 'org.eclipse.jgit.ignore.internal.Strings.getPathSeparator' | 131 |
Violation | Line |
---|---|
Useless parentheses. | 138 |
Avoid modifiers which are implied by the context | 234–236 |
These nested if statements could be combined | 337–339 |
Useless parentheses. | 398 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 64–68 |
Unnecessary final modifier in final class | 72–74 |
Violation | Line |
---|---|
These nested if statements could be combined | 106–108 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–642 |
Avoid modifiers which are implied by the context | 129–141 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–158 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–791 |
Invoke equals() on the object you've already ensured is not null | 348 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–374 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–185 |
Avoid empty catch blocks | 150–152 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–240 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–448 |
Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 427 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–329 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–247 |
Violation | Line |
---|---|
Avoid empty if statements | 81–83 |
Violation | Line |
---|---|
Avoid empty if statements | 89–91 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–253 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–788 |
Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 477 |
Violation | Line |
---|---|
Avoid empty catch blocks | 247–249 |
Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 623 |
Useless parentheses. | 630 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 90–151 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–541 |
Violation | Line |
---|---|
Useless parentheses. | 100 |
Unnecessary use of fully qualified name 'PackExt.PACK' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.PACK' | 515 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 247–249 |
Useless parentheses. | 564 |
Useless parentheses. | 570 |
Useless parentheses. | 577 |
Useless parentheses. | 583 |
Useless parentheses. | 600 |
Useless parentheses. | 624 |
Useless parentheses. | 709 |
Useless parentheses. | 717 |
Useless parentheses. | 789 |
Useless parentheses. | 837 |
Useless parentheses. | 952 |
Useless parentheses. | 1059 |
Violation | Line |
---|---|
Avoid empty catch blocks | 183–185 |
Violation | Line |
---|---|
Avoid empty catch blocks | 363–365 |
Avoid empty catch blocks | 383–385 |
Useless parentheses. | 785 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–182 |
Violation | Line |
---|---|
Avoid empty catch blocks | 384–386 |
Violation | Line |
---|---|
Avoid empty catch blocks | 176–178 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 141 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60 |
Avoid modifiers which are implied by the context | 73 |
Avoid modifiers which are implied by the context | 86 |
Avoid modifiers which are implied by the context | 105 |
Avoid modifiers which are implied by the context | 134 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–465 |
Violation | Line |
---|---|
Avoid empty catch blocks | 122–124 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 62–64 |
Unnecessary final modifier in final class | 66–74 |
Unnecessary final modifier in final class | 76–80 |
Unnecessary final modifier in final class | 82–85 |
Unnecessary final modifier in final class | 87–112 |
Unnecessary final modifier in final class | 114–116 |
Unnecessary final modifier in final class | 118–120 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 360–362 |
Violation | Line |
---|---|
Avoid empty catch blocks | 112–114 |
These nested if statements could be combined | 199–201 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 63–65 |
Violation | Line |
---|---|
These nested if statements could be combined | 237–240 |
Avoid empty catch blocks | 331–333 |
Violation | Line |
---|---|
Useless parentheses. | 198 |
Violation | Line |
---|---|
Avoid empty catch blocks | 420–422 |
Avoid empty catch blocks | 457–459 |
Avoid empty catch blocks | 573–576 |
Avoid empty catch blocks | 953–955 |
Useless parentheses. | 973–975 |
Avoid empty catch blocks | 978–980 |
Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 1148 |
Unnecessary use of fully qualified name 'PackExt.INDEX' due to existing static import 'org.eclipse.jgit.internal.storage.pack.PackExt.INDEX' | 1151 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 76–80 |
Unnecessary final modifier in final class | 82–124 |
Unnecessary final modifier in final class | 126–129 |
Unnecessary final modifier in final class | 131–133 |
Unnecessary final modifier in final class | 135–137 |
Unnecessary final modifier in final class | 139–141 |
Unnecessary final modifier in final class | 143–147 |
Unnecessary final modifier in final class | 149–153 |
Unnecessary final modifier in final class | 155–162 |
Unnecessary final modifier in final class | 164–166 |
Violation | Line |
---|---|
Avoid empty catch blocks | 98–100 |
Violation | Line |
---|---|
Avoid empty catch blocks | 101–103 |
Avoid unused constructor parameters such as 'fs'. | 155 |
Violation | Line |
---|---|
These nested if statements could be combined | 327–329 |
These nested if statements could be combined | 343–345 |
Avoid using a branching statement as the last in a loop. | 501 |
Avoid using a branching statement as the last in a loop. | 594 |
Avoid using a branching statement as the last in a loop. | 640 |
Useless parentheses. | 655 |
Useless parentheses. | 656 |
Avoid empty catch blocks | 730–732 |
Useless parentheses. | 776 |
Violation | Line |
---|---|
Avoid empty catch blocks | 216–218 |
Violation | Line |
---|---|
Avoid empty catch blocks | 107–109 |
Violation | Line |
---|---|
Useless parentheses. | 163 |
Violation | Line |
---|---|
Useless parentheses. | 445 |
Useless parentheses. | 451 |
Useless parentheses. | 458 |
Useless parentheses. | 464 |
Useless parentheses. | 481 |
Useless parentheses. | 514 |
Useless parentheses. | 534 |
Useless parentheses. | 591 |
Useless parentheses. | 599 |
Avoid empty catch blocks | 714–718 |
Useless parentheses. | 849 |
Useless parentheses. | 898 |
Useless parentheses. | 1013 |
Useless parentheses. | 1119 |
Useless parentheses. | 1205 |
Violation | Line |
---|---|
Avoid empty catch blocks | 109–111 |
Violation | Line |
---|---|
Useless parentheses. | 240 |
Violation | Line |
---|---|
Useless parentheses. | 231 |
Useless parentheses. | 338 |
Violation | Line |
---|---|
Avoid empty catch blocks | 329–331 |
Avoid empty catch blocks | 336–338 |
Avoid empty catch blocks | 341–343 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'fs'. | 68 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–551 |
Avoid using a branching statement as the last in a loop. | 356 |
Useless parentheses. | 393 |
Useless parentheses. | 394 |
Avoid empty catch blocks | 451–453 |
Avoid empty catch blocks | 472–486 |
Unnecessary use of fully qualified name 'ReceiveCommand.Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 546 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 47–1490 |
Avoid using a branching statement as the last in a loop. | 516 |
These nested if statements could be combined | 538–539 |
Useless parentheses. | 1162 |
Useless parentheses. | 1177 |
Unnecessary use of fully qualified name 'Constants.HEAD' due to existing static import 'org.eclipse.jgit.lib.Constants.HEAD' | 1214 |
Unnecessary use of fully qualified name 'Constants.R_REFS' due to existing static import 'org.eclipse.jgit.lib.Constants.R_REFS' | 1245 |
Avoid modifiers which are implied by the context | 1384–1388 |
Violation | Line |
---|---|
Avoid empty catch blocks | 217–219 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 46–270 |
Useless parentheses. | 226 |
Violation | Line |
---|---|
Avoid empty if statements | 69–73 |
Violation | Line |
---|---|
Useless parentheses. | 319 |
Violation | Line |
---|---|
Avoid empty catch blocks | 136–138 |
Violation | Line |
---|---|
Useless parentheses. | 68 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 140–150 |
Unnecessary final modifier in final class | 267–269 |
Ternary operators that can be simplified with || or && | 355 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 225 |
Avoid empty catch blocks | 309–311 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 57–61 |
Unnecessary final modifier in final class | 64–66 |
Unnecessary final modifier in final class | 69–71 |
Unnecessary final modifier in final class | 74–76 |
Unnecessary final modifier in final class | 79–81 |
Unnecessary final modifier in final class | 83–93 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 82 |
Avoid modifiers which are implied by the context | 117–119 |
Avoid modifiers which are implied by the context | 158–159 |
Avoid modifiers which are implied by the context | 203–205 |
Avoid modifiers which are implied by the context | 219–220 |
Avoid modifiers which are implied by the context | 237–238 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 110–114 |
Unnecessary final modifier in final class | 118–138 |
Unnecessary final modifier in final class | 146–153 |
Unnecessary final modifier in final class | 170–172 |
Unnecessary final modifier in final class | 190–205 |
Useless parentheses. | 193 |
Unnecessary final modifier in final class | 207–216 |
Unnecessary final modifier in final class | 218–225 |
Unnecessary final modifier in final class | 227–232 |
Unnecessary final modifier in final class | 239–241 |
Unnecessary final modifier in final class | 252–254 |
Unnecessary final modifier in final class | 257–259 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 45–2609 |
Avoid empty while statements | 1849–1851 |
These nested if statements could be combined | 2129–2130 |
Useless parentheses. | 2145 |
Useless parentheses. | 2146 |
Useless parentheses. | 2514 |
Useless parentheses. | 2531 |
Avoid modifiers which are implied by the context | 2557–2575 |
Violation | Line |
---|---|
Useless parentheses. | 137 |
Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 220 |
Useless parentheses. | 253 |
Useless parentheses. | 254–255 |
Useless parentheses. | 255 |
Useless parentheses. | 256 |
Unnecessary use of fully qualified name 'PackBitmapIndex.FLAG_REUSE' due to existing static import 'org.eclipse.jgit.internal.storage.file.PackBitmapIndex.FLAG_REUSE' | 267 |
Avoid empty while statements | 275–278 |
These nested if statements could be combined | 286–289 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–589 |
Useless parentheses. | 561 |
Useless parentheses. | 573 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–605 |
Useless parentheses. | 138 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–249 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–698 |
Useless parentheses. | 172 |
Useless parentheses. | 447 |
Avoid using a branching statement as the last in a loop. | 507 |
Avoid using a branching statement as the last in a loop. | 567 |
Invoke equals() on the object you've already ensured is not null | 676 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–835 |
Avoid using a branching statement as the last in a loop. | 683 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–342 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–417 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–227 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–286 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 77–87 |
Unnecessary final modifier in final class | 101–109 |
Unnecessary final modifier in final class | 122–125 |
Unnecessary final modifier in final class | 134–139 |
Unnecessary final modifier in final class | 141–153 |
Unnecessary final modifier in final class | 155–166 |
Unnecessary final modifier in final class | 247–267 |
Unnecessary final modifier in final class | 283–303 |
Unnecessary final modifier in final class | 319–339 |
Unnecessary final modifier in final class | 346–348 |
Unnecessary final modifier in final class | 376–397 |
Violation | Line |
---|---|
Ternary operators that can be simplified with || or && | 278 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 81 |
Avoid modifiers which are implied by the context | 90 |
Avoid modifiers which are implied by the context | 97 |
Avoid modifiers which are implied by the context | 118 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 76 |
Avoid modifiers which are implied by the context | 85 |
Avoid modifiers which are implied by the context | 92 |
Avoid modifiers which are implied by the context | 99 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 71 |
Avoid modifiers which are implied by the context | 76 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–783 |
Useless parentheses. | 113 |
Avoid empty catch blocks | 554–556 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 77–117 |
Avoid modifiers which are implied by the context | 123–224 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 58–69 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 15 |
Avoid modifiers which are implied by the context | 22 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 1438–1447 |
Avoid modifiers which are implied by the context | 1477–1493 |
Violation | Line |
---|---|
Unnecessary use of fully qualified name 'StringUtils.toLowerCase' due to existing static import 'org.eclipse.jgit.util.StringUtils.toLowerCase' | 281 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 63–72 |
Avoid modifiers which are implied by the context | 81–90 |
Avoid modifiers which are implied by the context | 97–112 |
Avoid modifiers which are implied by the context | 119–131 |
Avoid modifiers which are implied by the context | 148–153 |
Avoid modifiers which are implied by the context | 160–167 |
Violation | Line |
---|---|
Do not start a literal by 0 unless its an octal value | 68 |
Do not start a literal by 0 unless its an octal value | 71 |
Do not start a literal by 0 unless its an octal value | 74 |
Do not start a literal by 0 unless its an octal value | 77 |
Do not start a literal by 0 unless its an octal value | 80 |
Do not start a literal by 0 unless its an octal value | 83 |
Do not start a literal by 0 unless its an octal value | 106 |
Do not start a literal by 0 unless its an octal value | 110 |
Do not start a literal by 0 unless its an octal value | 115 |
Do not start a literal by 0 unless its an octal value | 119 |
Do not start a literal by 0 unless its an octal value | 157 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 45 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 107–195 |
Avoid modifiers which are implied by the context | 346 |
These nested if statements could be combined | 473–476 |
These nested if statements could be combined | 512–516 |
Useless parentheses. | 514–515 |
Useless parentheses. | 610–611 |
Useless parentheses. | 610–611 |
Useless parentheses. | 610 |
Useless parentheses. | 621 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 45–1254 |
Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 563 |
Unnecessary use of fully qualified name 'Constants.OBJECT_ID_LENGTH' due to existing static import 'org.eclipse.jgit.lib.Constants.OBJECT_ID_LENGTH' | 595 |
Useless parentheses. | 928 |
Useless parentheses. | 929 |
Useless parentheses. | 1100–1101 |
Useless parentheses. | 1102 |
Useless parentheses. | 1103 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 52 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 61–118 |
These nested if statements could be combined | 191–194 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 64–126 |
Avoid modifiers which are implied by the context | 134 |
Avoid modifiers which are implied by the context | 147 |
Avoid modifiers which are implied by the context | 166 |
Avoid modifiers which are implied by the context | 181 |
Avoid modifiers which are implied by the context | 191 |
Avoid modifiers which are implied by the context | 201 |
Avoid modifiers which are implied by the context | 208 |
Avoid modifiers which are implied by the context | 219 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 68–171 |
These nested if statements could be combined | 778–780 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60 |
Avoid modifiers which are implied by the context | 72 |
Avoid modifiers which are implied by the context | 83 |
Avoid modifiers which are implied by the context | 90 |
Avoid modifiers which are implied by the context | 97 |
Avoid modifiers which are implied by the context | 104 |
Avoid modifiers which are implied by the context | 111 |
Avoid modifiers which are implied by the context | 120 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 62 |
Avoid modifiers which are implied by the context | 70 |
Avoid modifiers which are implied by the context | 80 |
Avoid modifiers which are implied by the context | 90–91 |
Violation | Line |
---|---|
Useless parentheses. | 824 |
Useless parentheses. | 825 |
Useless parentheses. | 826 |
These nested if statements could be combined | 882–883 |
Avoid empty catch blocks | 1331–1335 |
Avoid empty catch blocks | 1348–1350 |
Avoid empty catch blocks | 1361–1363 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.File' | 46 |
Violation | Line |
---|---|
Useless parentheses. | 302 |
Avoid modifiers which are implied by the context | 347–368 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–403 |
Violation | Line |
---|---|
Useless parentheses. | 86 |
Useless parentheses. | 94 |
Violation | Line |
---|---|
Useless parentheses. | 75 |
Violation | Line |
---|---|
Useless parentheses. | 141 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 47–1312 |
These nested if statements could be combined | 392–394 |
Useless parentheses. | 785–786 |
Useless parentheses. | 785–786 |
These nested if statements could be combined | 785–810 |
Useless parentheses. | 785 |
These nested if statements could be combined | 801–802 |
Useless parentheses. | 848–849 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'inCore'. | 86 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 50 |
Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 51 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationBundleLoadingException' | 49 |
Avoid unused imports such as 'org.eclipse.jgit.errors.TranslationStringMissingException' | 50 |
Violation | Line |
---|---|
Useless parentheses. | 284 |
Useless parentheses. | 286 |
Invoke equals() on the object you've already ensured is not null | 298 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 61–67 |
Violation | Line |
---|---|
Overriding method merely calls super | 152–154 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–651 |
Avoid modifiers which are implied by the context | 107–116 |
Avoid empty catch blocks | 247–250 |
Unnecessary use of fully qualified name 'RawParseUtils.decode' due to existing static import 'org.eclipse.jgit.util.RawParseUtils.decode' | 295 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 56–62 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–392 |
Violation | Line |
---|---|
Useless parentheses. | 195 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 69 |
Violation | Line |
---|---|
Avoid empty catch blocks | 138–141 |
Avoid empty catch blocks | 157–172 |
Violation | Line |
---|---|
Useless parentheses. | 121 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 64 |
Avoid modifiers which are implied by the context | 72 |
Avoid modifiers which are implied by the context | 79 |
Avoid modifiers which are implied by the context | 82–101 |
Avoid modifiers which are implied by the context | 104–181 |
Avoid modifiers which are implied by the context | 184–274 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.eclipse.jgit.lib.AnyObjectId' | 60 |
Do not start a literal by 0 unless its an octal value | 86 |
Do not start a literal by 0 unless its an octal value | 87 |
Do not start a literal by 0 unless its an octal value | 88 |
Do not start a literal by 0 unless its an octal value | 89 |
Avoid using a branching statement as the last in a loop. | 324 |
Avoid empty while statements | 740–742 |
Violation | Line |
---|---|
Avoid empty catch blocks | 193–196 |
Useless parentheses. | 371 |
Violation | Line |
---|---|
Useless qualified this usage in the same class. | 1358 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 126 |
Violation | Line |
---|---|
Useless parentheses. | 528 |
Avoid using a branching statement as the last in a loop. | 622 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 58–68 |
Avoid modifiers which are implied by the context | 80–81 |
Avoid modifiers which are implied by the context | 93–94 |
Violation | Line |
---|---|
Avoid empty catch blocks | 331–333 |
Avoid empty catch blocks | 342–344 |
Avoid empty catch blocks | 372–374 |
Violation | Line |
---|---|
Avoid empty catch blocks | 423–425 |
Avoid empty catch blocks | 480–482 |
Avoid empty catch blocks | 500–503 |
Avoid empty catch blocks | 802–804 |
Violation | Line |
---|---|
Avoid empty catch blocks | 185–187 |
Avoid empty catch blocks | 191–193 |
Useless parentheses. | 437 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–1982 |
Avoid empty catch blocks | 380–382 |
Avoid empty catch blocks | 391–393 |
Avoid empty catch blocks | 407–409 |
Avoid empty catch blocks | 1055–1057 |
Avoid empty catch blocks | 1362–1364 |
Violation | Line |
---|---|
Avoid empty catch blocks | 266–268 |
Avoid empty catch blocks | 303–305 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 71 |
Avoid modifiers which are implied by the context | 85 |
Avoid modifiers which are implied by the context | 98 |
Avoid modifiers which are implied by the context | 118 |
Avoid modifiers which are implied by the context | 135 |
Avoid modifiers which are implied by the context | 144 |
Violation | Line |
---|---|
Avoid using java.lang.ThreadGroup; it is not thread safe | 112 |
Avoid empty catch blocks | 316–318 |
Avoid empty catch blocks | 342–344 |
Avoid empty catch blocks | 426–428 |
Avoid empty catch blocks | 428–430 |
Avoid empty catch blocks | 430–432 |
Avoid empty catch blocks | 435–437 |
Avoid empty catch blocks | 440–442 |
Violation | Line |
---|---|
Useless qualified this usage in the same class. | 70 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 112–114 |
Avoid modifiers which are implied by the context | 154–156 |
Avoid modifiers which are implied by the context | 176 |
Avoid modifiers which are implied by the context | 199 |
Avoid modifiers which are implied by the context | 211 |
Avoid modifiers which are implied by the context | 221 |
Violation | Line |
---|---|
Unnecessary use of fully qualified name 'ReceiveCommand.Result.OK' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.OK' | 539 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Collection' | 50 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 218–220 |
Violation | Line |
---|---|
Useless parentheses. | 175 |
Useless parentheses. | 176 |
Avoid empty catch blocks | 192–194 |
Avoid empty if statements | 416–418 |
Avoid empty if statements | 419–421 |
Violation | Line |
---|---|
Useless parentheses. | 96–114 |
Avoid empty if statements | 392–394 |
Violation | Line |
---|---|
Avoid empty catch blocks | 110–112 |
Avoid empty catch blocks | 112–114 |
Avoid empty catch blocks | 123–125 |
Avoid empty catch blocks | 129–131 |
Violation | Line |
---|---|
Avoid empty catch blocks | 102–104 |
Avoid empty catch blocks | 104–106 |
Avoid empty catch blocks | 106–108 |
Avoid empty catch blocks | 108–110 |
Avoid empty catch blocks | 113–115 |
Avoid empty catch blocks | 119–121 |
Violation | Line |
---|---|
Avoid empty catch blocks | 367–369 |
Avoid empty catch blocks | 369–371 |
Avoid empty catch blocks | 390–392 |
These nested if statements could be combined | 454–467 |
Avoid empty catch blocks | 464–466 |
Violation | Line |
---|---|
These nested if statements could be combined | 103–107 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 69–70 |
Avoid modifiers which are implied by the context | 94–95 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.OutputStream' | 46 |
Avoid unused imports such as 'org.eclipse.jgit.lib.ProgressMonitor' | 48 |
Violation | Line |
---|---|
Avoid empty catch blocks | 232–234 |
Avoid empty catch blocks | 372–374 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 106–112 |
Useless parentheses. | 851 |
Useless parentheses. | 1026 |
Avoid empty catch blocks | 1184–1188 |
Avoid empty catch blocks | 1204–1208 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 77–88 |
Avoid empty catch blocks | 245–247 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 66–72 |
Avoid modifiers which are implied by the context | 84–85 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60–65 |
Avoid modifiers which are implied by the context | 75 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 82–88 |
Avoid modifiers which are implied by the context | 102 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 62–85 |
Avoid modifiers which are implied by the context | 99–101 |
Avoid modifiers which are implied by the context | 123–126 |
Avoid modifiers which are implied by the context | 144–146 |
Violation | Line |
---|---|
Useless parentheses. | 267 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 87–98 |
Avoid empty catch blocks | 265–268 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 116–118 |
Avoid modifiers which are implied by the context | 166–168 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 75–98 |
Avoid modifiers which are implied by the context | 101–134 |
Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 279 |
Useless parentheses. | 777 |
These nested if statements could be combined | 780–784 |
Unnecessary use of fully qualified name 'Result.NOT_ATTEMPTED' due to existing static import 'org.eclipse.jgit.transport.ReceiveCommand.Result.NOT_ATTEMPTED' | 843 |
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 |
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 |
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 |
Violation | Line |
---|---|
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 |
Useless parentheses. | 295 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 64–69 |
Avoid modifiers which are implied by the context | 79 |
Violation | Line |
---|---|
These nested if statements could be combined | 553–554 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 75–127 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 81 |
Avoid modifiers which are implied by the context | 86 |
Violation | Line |
---|---|
Useless parentheses. | 154 |
Violation | Line |
---|---|
Avoid empty catch blocks | 170–173 |
Avoid empty catch blocks | 176–178 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 61 |
Violation | Line |
---|---|
Useless parentheses. | 89 |
Violation | Line |
---|---|
Avoid empty catch blocks | 118–120 |
Violation | Line |
---|---|
Avoid empty catch blocks | 153–155 |
Avoid empty catch blocks | 213–215 |
Avoid empty catch blocks | 252–254 |
Violation | Line |
---|---|
Useless parentheses. | 182 |
Avoid empty catch blocks | 352–354 |
Avoid empty catch blocks | 359–361 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 47–1454 |
These nested if statements could be combined | 760–762 |
Avoid empty while statements | 910–912 |
Avoid empty catch blocks | 931–933 |
Avoid empty catch blocks | 937–939 |
Violation | Line |
---|---|
Useless parentheses. | 115 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 93–104 |
Violation | Line |
---|---|
Useless parentheses. | 275–276 |
Useless parentheses. | 346 |
Useless parentheses. | 347 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 44–1727 |
Avoid modifiers which are implied by the context | 114–144 |
Useless parentheses. | 677–678 |
Avoid empty catch blocks | 834–836 |
Avoid empty catch blocks | 847–849 |
Avoid empty while statements | 856–858 |
Avoid empty catch blocks | 891–893 |
Avoid empty catch blocks | 1005–1007 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 62–67 |
Avoid modifiers which are implied by the context | 76 |
Violation | Line |
---|---|
These nested if statements could be combined | 120–124 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 597 |
Avoid empty catch blocks | 846–848 |
Violation | Line |
---|---|
Avoid empty catch blocks | 421–423 |
Violation | Line |
---|---|
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_OK' due to existing import 'java.net.HttpURLConnection' | 72 |
Avoid modifiers which are implied by the context | 72 |
Avoid modifiers which are implied by the context | 78 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_PERM' due to existing import 'java.net.HttpURLConnection' | 78 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_MOVED_TEMP' due to existing import 'java.net.HttpURLConnection' | 84 |
Avoid modifiers which are implied by the context | 84 |
Avoid modifiers which are implied by the context | 90 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_SEE_OTHER' due to existing import 'java.net.HttpURLConnection' | 90 |
Avoid modifiers which are implied by the context | 98 |
Avoid modifiers which are implied by the context | 103 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_NOT_FOUND' due to existing import 'java.net.HttpURLConnection' | 103 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_UNAUTHORIZED' due to existing import 'java.net.HttpURLConnection' | 108 |
Avoid modifiers which are implied by the context | 108 |
Unnecessary use of fully qualified name 'java.net.HttpURLConnection.HTTP_FORBIDDEN' due to existing import 'java.net.HttpURLConnection' | 113 |
Avoid modifiers which are implied by the context | 113 |
Avoid modifiers which are implied by the context | 122 |
Avoid modifiers which are implied by the context | 130 |
Avoid modifiers which are implied by the context | 139 |
Avoid modifiers which are implied by the context | 147 |
Avoid modifiers which are implied by the context | 159 |
Avoid modifiers which are implied by the context | 173–174 |
Avoid modifiers which are implied by the context | 184 |
Avoid modifiers which are implied by the context | 194 |
Avoid modifiers which are implied by the context | 204 |
Avoid modifiers which are implied by the context | 213 |
Avoid modifiers which are implied by the context | 225 |
Avoid modifiers which are implied by the context | 236 |
Avoid modifiers which are implied by the context | 246 |
Avoid modifiers which are implied by the context | 256 |
Avoid modifiers which are implied by the context | 265 |
Avoid modifiers which are implied by the context | 274 |
Avoid modifiers which are implied by the context | 283 |
Avoid modifiers which are implied by the context | 293 |
Avoid modifiers which are implied by the context | 301 |
Avoid modifiers which are implied by the context | 309 |
Avoid modifiers which are implied by the context | 317 |
Avoid modifiers which are implied by the context | 335–337 |
Avoid modifiers which are implied by the context | 348–349 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 65 |
Avoid modifiers which are implied by the context | 78–79 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60–66 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60–66 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 60–66 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 45–445 |
Avoid using a branching statement as the last in a loop. | 202 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 149 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 111–122 |
Useless parentheses. | 648 |
Avoid using a branching statement as the last in a loop. | 877 |
Useless parentheses. | 1315 |
Useless parentheses. | 1455 |
Violation | Line |
---|---|
Useless parentheses. | 282–283 |
Avoid empty catch blocks | 436–440 |
Avoid empty while statements | 476–478 |
These nested if statements could be combined | 852–853 |
Useless parentheses. | 1471–1472 |
Useless parentheses. | 1473–1474 |
Violation | Line |
---|---|
Useless parentheses. | 77 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.eclipse.jgit.lib.ObjectReader' | 56 |
Violation | Line |
---|---|
Useless parentheses. | 116 |
Violation | Line |
---|---|
Useless parentheses. | 121 |
Useless parentheses. | 128 |
Useless parentheses. | 135 |
Unnecessary use of fully qualified name 'StandardCharsets.UTF_8' due to existing static import 'java.nio.charset.StandardCharsets.UTF_8' | 181 |
Useless parentheses. | 230 |
Violation | Line |
---|---|
Avoid using a branching statement as the last in a loop. | 200 |
Avoid using a branching statement as the last in a loop. | 293 |
Violation | Line |
---|---|
Avoid empty if statements | 624–627 |
Useless parentheses. | 695 |
Avoid empty catch blocks | 1205–1212 |
Avoid empty catch blocks | 1533–1535 |
Violation | Line |
---|---|
Do not start a literal by 0 unless its an octal value | 83 |
These nested if statements could be combined | 199–217 |
These nested if statements could be combined | 200–216 |
Useless parentheses. | 473 |
Useless parentheses. | 473 |
Violation | Line |
---|---|
These nested if statements could be combined | 129–145 |
Violation | Line |
---|---|
Avoid empty catch blocks | 295–297 |
Avoid using a branching statement as the last in a loop. | 496 |
Ternary operators that can be simplified with || or && | 809 |
Violation | Line |
---|---|
Useless parentheses. | 64 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 71–117 |
Violation | Line |
---|---|
Avoid empty catch blocks | 119–121 |
Avoid empty catch blocks | 179–181 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 315 |
Violation | Line |
---|---|
Useless parentheses. | 91 |
Useless parentheses. | 203 |
Useless parentheses. | 206 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 54–69 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 45–1255 |
Unnecessary final modifier in final class | 128–135 |
Unnecessary final modifier in final class | 209–243 |
Useless parentheses. | 234 |
Avoid empty catch blocks | 237–239 |
Unnecessary final modifier in final class | 263–297 |
Useless parentheses. | 288 |
Avoid empty catch blocks | 291–293 |
Unnecessary final modifier in final class | 314–327 |
Unnecessary final modifier in final class | 344–368 |
Unnecessary final modifier in final class | 386–434 |
Unnecessary final modifier in final class | 445–450 |
Unnecessary final modifier in final class | 464–466 |
Unnecessary final modifier in final class | 484–490 |
Unnecessary final modifier in final class | 503–510 |
Unnecessary final modifier in final class | 523–525 |
Unnecessary final modifier in final class | 540–548 |
Unnecessary final modifier in final class | 561–569 |
Unnecessary final modifier in final class | 582–584 |
Unnecessary final modifier in final class | 600–609 |
Unnecessary final modifier in final class | 637–663 |
Useless parentheses. | 659 |
Unnecessary final modifier in final class | 678–685 |
Unnecessary final modifier in final class | 700–709 |
Unnecessary final modifier in final class | 724–737 |
Unnecessary final modifier in final class | 752–762 |
Useless parentheses. | 869 |
Unnecessary final modifier in final class | 1165–1176 |
Unnecessary final modifier in final class | 1189–1198 |
Unnecessary final modifier in final class | 1214–1224 |
Useless parentheses. | 1217 |
Violation | Line |
---|---|
Avoid empty while statements | 100–102 |
Avoid using a branching statement as the last in a loop. | 112 |
Violation | Line |
---|---|
Invoke equals() on the object you've already ensured is not null | 428 |
Violation | Line |
---|---|
Useless parentheses. | 122 |
Useless parentheses. | 126 |
Useless parentheses. | 127 |
Violation | Line |
---|---|
Avoid empty catch blocks | 163–165 |
Avoid empty catch blocks | 168–170 |
Violation | Line |
---|---|
Ternary operators that can be simplified with || or && | 85 |
Unnecessary final modifier in final class | 589–592 |
Unnecessary final modifier in final class | 594–600 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.time.Duration' | 46 |