From 92719bd69eccc35cf4aec15d0fc98049cfd950cc Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 28 Jan 2008 19:30:56 +0100 Subject: [PATCH] Java: Added a close method to the session handler. --- lib/java/dolda/dolcon/Session.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/java/dolda/dolcon/Session.java b/lib/java/dolda/dolcon/Session.java index 0ef49d6..7f3cece 100644 --- a/lib/java/dolda/dolcon/Session.java +++ b/lib/java/dolda/dolcon/Session.java @@ -57,4 +57,8 @@ public class Session { throw(new ProtocolException(e)); } } + + public void close() { + conn.close(); + } } -- 2.11.0