diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-10-18 15:52:17 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-10-18 15:52:17 (GMT) |
commit | 10d5bd33ce017971a25816606c06f0c73746aed8 (patch) | |
tree | edb5ccd302fb161bb382c696c17ff23626c8ab93 /src/com/isode/stroke/client/ClientSessionStanzaChannel.java | |
parent | 1731806d084707847994aea5ccb6c7e388a8d16c (diff) | |
download | stroke-10d5bd33ce017971a25816606c06f0c73746aed8.zip stroke-10d5bd33ce017971a25816606c06f0c73746aed8.tar.bz2 |
Reduce PMD's whining a little further
Change-Id: Ib02394df2c7bb818c2409b1d6f2fc3ad0d938224
Diffstat (limited to 'src/com/isode/stroke/client/ClientSessionStanzaChannel.java')
-rw-r--r-- | src/com/isode/stroke/client/ClientSessionStanzaChannel.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/com/isode/stroke/client/ClientSessionStanzaChannel.java b/src/com/isode/stroke/client/ClientSessionStanzaChannel.java index e870dda..95f59d8 100644 --- a/src/com/isode/stroke/client/ClientSessionStanzaChannel.java +++ b/src/com/isode/stroke/client/ClientSessionStanzaChannel.java @@ -41,19 +41,19 @@ public class ClientSessionStanzaChannel extends StanzaChannel { }); sessionFinishedConnection = session.onFinished.connect(new Slot1<Error>() { - public void call(Error p1) { + public void call(final Error p1) { handleSessionFinished(p1); } }); sessionStanzaReceivedConnection = session.onStanzaReceived.connect(new Slot1<Stanza>() { - public void call(Stanza p1) { + public void call(final Stanza p1) { handleStanza(p1); } }); sessionStanzaAckedConnection = session.onStanzaAcked.connect(new Slot1<Stanza>() { - public void call(Stanza p1) { + public void call(final Stanza p1) { handleStanzaAcked(p1); } }); @@ -94,8 +94,7 @@ public class ClientSessionStanzaChannel extends StanzaChannel { session.sendStanza(stanza); } - // NOPMD, ignore that Error isn't used. - private void handleSessionFinished(final Error error) { + private void handleSessionFinished(final Error error) { // NOPMD, ignore that Error isn't used. sessionFinishedConnection.disconnect(); sessionStanzaReceivedConnection.disconnect(); sessionStanzaAckedConnection.disconnect(); |