From bf235506eb046bcc12cf20892d821d2a00fdd74c Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Sat, 14 Mar 2015 01:19:19 +0100 Subject: [PATCH] Remove unused private field, issue #744 All violations of PMD rule [UnusedPrivateField](http://pmd.sourceforge.net/pmd-5.2.3/pmd-java/rules/java/unusedcode.html#UnusedPrivateField) are fixed. --- .../tools/checkstyle/checks/coding/HiddenFieldCheck.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/HiddenFieldCheck.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/HiddenFieldCheck.java index d2841d39a..b6afbc0e3 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/HiddenFieldCheck.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/HiddenFieldCheck.java @@ -541,9 +541,6 @@ public class HiddenFieldCheck */ private static class FieldFrame { - /** type of the frame, such as TokenTypes.CLASS_DEF or TokenTypes.ENUM_DEF */ - private final Integer frameType; - /** name of the frame, such name of the class or enum declaration */ private final String frameName; @@ -572,7 +569,6 @@ public class HiddenFieldCheck { this.parent = parent; this.staticType = staticType; - this.frameType = frameType; this.frameName = frameName; }