diff options
author | George Fraser <george@fivetran.com> | 2019-01-07 00:53:30 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-01-07 00:53:30 -0800 |
commit | a72728087513660d17cdf9919b0c5fd50a084b2a (patch) | |
tree | ece51511d03c383a70eb4ed4119a44c692577756 /src/main | |
parent | ba156f46e00f2075f2f11fb18e72bcd09deb1192 (diff) | |
download | java-language-server-a72728087513660d17cdf9919b0c5fd50a084b2a.zip |
Unused
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/javacs/WarnUnused.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/javacs/WarnUnused.java b/src/main/java/org/javacs/WarnUnused.java index 614c887..b3a2237 100644 --- a/src/main/java/org/javacs/WarnUnused.java +++ b/src/main/java/org/javacs/WarnUnused.java @@ -7,6 +7,7 @@ import javax.lang.model.element.*; class WarnUnused extends TreePathScanner<Void, Void> { private final Trees trees; + // TODO ignore writes when calculating used private final Set<Element> declared = new HashSet<>(), used = new HashSet<>(); WarnUnused(JavacTask task) { |