mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
add Closeable/Flushable interfaces
This commit is contained in:
1 parent
5a11a28a35
commit
601376561b
15 files changed
+34
-15
No files matched your search
@@ -9,6 +9,7 @@ package net.i2p.sam;
|
||||
*/
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Properties;
|
||||
@@ -31,7 +32,7 @@ import net.i2p.util.Log;
|
||||
*
|
||||
* @author human
|
||||
*/
|
||||
abstract class SAMMessageSession {
|
||||
abstract class SAMMessageSession implements Closeable {
|
||||
|
||||
protected final Log _log;
|
||||
private I2PSession session;
|
||||
|
||||
Reference in new issue
Block a user