Skip to content

Commit

Permalink
and fix formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
oniatus committed Aug 28, 2016
1 parent 4a97894 commit a929896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public Module getLatestModuleVersion(Name id, Version minVersion, Version maxVer
Module result = null;
for (Map.Entry<Version, Module> item : modules.row(id).entrySet()) {
if (item.getKey().compareTo(minVersion) >= 0 && item.getKey().compareTo(maxVersion) < 0
&& (result == null || item.getKey().compareTo(result.getVersion()) > 0)) {
&& (result == null || item.getKey().compareTo(result.getVersion()) > 0)) {
result = item.getValue();
}
}
Expand Down

0 comments on commit a929896

Please sign in to comment.