Skip to content

Commit

Permalink
Remove throws IOException from Releasable.close()
Browse files Browse the repository at this point in the history
  • Loading branch information
JessHolle authored and irbull committed Jan 10, 2019
1 parent e837fae commit 42e4baa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/com/eclipsesource/v8/Releasable.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public interface Releasable extends Closeable {
* Release the underlying resources. Once an object is released
* it typically cannot be used again.
*/
void release();
void close();

/**
* Synonym for {@link #close()}.
*/
void release();
}

0 comments on commit 42e4baa

Please sign in to comment.