Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
There were comments helping the implementor (me) understand why code is commented out and why a parameter
is now mostly unused. Now, please use `git log` to understand.
  • Loading branch information
melix committed Mar 2, 2017
1 parent 2dead89 commit f32715e
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,13 @@ public DependentsSet getRelevantDependents(String className, Set<Integer> consta
if (deps == null && constants.isEmpty()) {
return DefaultDependentsSet.EMPTY;
}
// since 3.4.1, the Set<Integer> of constants here doesn't match the set of literals, so we cannot use them
// anymore. If the set above is not empty, it means a constant has been added or changed, and we need to
// recompile everything
if (!constants.isEmpty()) {
return DependencyToAll.INSTANCE;
}
Set<String> result = new HashSet<String>();
if (deps != null && !deps.isDependencyToAll()) {
recurseDependents(new HashSet<String>(), result, deps.getDependentClasses());
}
/*for (Integer constant : constants) {
Set<String> classes = data.literalsToClasses.get(constant);
if (classes != null) {
result.addAll(classes);
}
}
*/
result.remove(className);
return new DefaultDependentsSet(result);

Expand Down

0 comments on commit f32715e

Please sign in to comment.