Skip to content

Commit

Permalink
MODE-1117 Minor change to local variable name
Browse files Browse the repository at this point in the history
As suggested by Brian, the name of a local variable in a JcrVersionHistoryNode method could
have been better, so it was changed. This is a pretty minor change.
  • Loading branch information
rhauch committed Mar 16, 2011
1 parent 50bd5c8 commit 8bf27db
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -290,10 +290,10 @@ private void addValuesNotInSet( Value[] values,
List<Value> newValues,
String versionUuid,
Set<Value> exceptIn ) throws RepositoryException {
for (Value predecessor : values) {
if (!versionUuid.equals(predecessor.getString()) && !exceptIn.contains(predecessor)) {
exceptIn.add(predecessor);
newValues.add(predecessor);
for (Value value : values) {
if (!versionUuid.equals(value.getString()) && !exceptIn.contains(value)) {
exceptIn.add(value);
newValues.add(value);
}
}
}
Expand Down

0 comments on commit 8bf27db

Please sign in to comment.