diff options
author | Alan Young <consult.awy@gmail.com> | 2015-08-21 12:54:25 (GMT) |
---|---|---|
committer | Alan Young <consult.awy@gmail.com> | 2015-08-21 12:54:25 (GMT) |
commit | 73cb8ef5b98cf9b5026c4620a325ee799e6fcb8a (patch) | |
tree | e7f6143903c6f0bca97721a8d02b41ebd4c4c3db /src/com/isode | |
parent | dd662ecbd71e5f7c1f94f886ca22594c51115e05 (diff) | |
download | stroke-73cb8ef5b98cf9b5026c4620a325ee799e6fcb8a.zip stroke-73cb8ef5b98cf9b5026c4620a325ee799e6fcb8a.tar.bz2 |
Correct ClientSession.finish()
The default, clean finish() method needs to set up no error, not a null
instance of Error.Type (with type field == null).
Change-Id: I6912392b226dd84c411e2369844b9aee656d2e6f
Diffstat (limited to 'src/com/isode')
-rw-r--r-- | src/com/isode/stroke/client/ClientSession.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/isode/stroke/client/ClientSession.java b/src/com/isode/stroke/client/ClientSession.java index 469688d..3a226f5 100644 --- a/src/com/isode/stroke/client/ClientSession.java +++ b/src/com/isode/stroke/client/ClientSession.java @@ -621,7 +621,7 @@ public class ClientSession { } public void finish() { - finishSession((Error.Type)null); + finishSession((Error)null); } private void finishSession(final Error.Type error) { |