Use Boolean constants instead of Boolean.valueOf
Boolean.TRUE and Boolean.FALSE are shorter and easier to read. It also
fixes a PMD violation.
@@ -189,12 +189,12 @@ public void read(final InputStream in) throws IOException, Pack200Exception {
bcLabelCount++;
break;
case 170: // tableswitch
- switchIsTableSwitch.add(Boolean.valueOf(true));
+ switchIsTableSwitch.add(Boolean.TRUE);
bcCaseCountCount++;
bcLabelCount++;
break;
case 171: // lookupswitch
- switchIsTableSwitch.add(Boolean.valueOf(false));
+ switchIsTableSwitch.add(Boolean.FALSE);
bcCaseCountCount++;
bcLabelCount++;
break;
