Skip to content

Commit

Permalink
Solves compilation problem with Java 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ctasada committed May 30, 2013
1 parent 97289e6 commit 113d234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/java/voldemort/store/readonly/io/BaseCloser.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected void exec() throws GroupIOException {
if(exc == null) {
exc = new GroupIOException(t);
} else {
exc.addSuppressed(t);
exc.addSuppressedException(t);
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/java/voldemort/store/readonly/io/GroupIOException.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public GroupIOException(Throwable cause) {
suppressed.add(cause);
}

public void addSuppressed(Throwable t) {
public void addSuppressedException(Throwable t) {
suppressed.add(t);
}

Expand Down

0 comments on commit 113d234

Please sign in to comment.