Browse Source

Merge "Use entrySet() instead of keySet()"

stable-0.10
Shawn Pearce 14 years ago committed by Code Review
parent
commit
1572c9f4a7
  1. 5
      org.eclipse.jgit/src/org/eclipse/jgit/api/MergeResult.java

5
org.eclipse.jgit/src/org/eclipse/jgit/api/MergeResult.java

@ -169,8 +169,9 @@ public class MergeResult {
this.mergeStrategy = mergeStrategy; this.mergeStrategy = mergeStrategy;
this.description = description; this.description = description;
if (lowLevelResults != null) if (lowLevelResults != null)
for (String path : lowLevelResults.keySet()) for (Map.Entry<String, org.eclipse.jgit.merge.MergeResult<?>> result : lowLevelResults
addConflict(path, lowLevelResults.get(path)); .entrySet())
addConflict(result.getKey(), result.getValue());
} }
/** /**

Loading…
Cancel
Save