Enable PMD rule UnnecessaryFullyQualifiedName and fix violations
This commit is contained in:
parent
b1a88b01ab
commit
b68f1587b2
3 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,7 @@ import java.io.File;
|
|||
|
||||
public class IntegrityCheckProfile {
|
||||
|
||||
public static void main(final java.lang.String[] args) {
|
||||
public static void main(final String[] args) {
|
||||
if (args.length != 2) {
|
||||
System.out.println("usage: java IntegrityCheckProfile <lookup-file> <profile-folder>");
|
||||
return;
|
||||
|
|
|
@ -226,7 +226,7 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
|
|||
if (track != null) {
|
||||
if (headers != null) // compressed
|
||||
{
|
||||
java.io.ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
Writer w = new OutputStreamWriter(new GZIPOutputStream(baos), "UTF-8");
|
||||
w.write(handler.formatTrack(track));
|
||||
w.close();
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
<exclude name="SimplifyBooleanReturns" />
|
||||
<exclude name="UncommentedEmptyConstructor" />
|
||||
<exclude name="UncommentedEmptyMethodBody" />
|
||||
<exclude name="UnnecessaryFullyQualifiedName" />
|
||||
<exclude name="UnnecessaryModifier" />
|
||||
<exclude name="UnusedFormalParameter" />
|
||||
<exclude name="UnusedLocalVariable" />
|
||||
|
|
Loading…
Reference in a new issue