Removed superfluous casts
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/931698f7 Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/931698f7 Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/931698f7 Branch: refs/heads/master Commit: 931698f77f0bb243a1dc6dfa181608d4f8d63fee Parents: 2b43d8b Author: Lyor Goldstein <[email protected]> Authored: Wed Aug 1 21:19:57 2018 +0300 Committer: Lyor Goldstein <[email protected]> Committed: Wed Aug 1 21:19:57 2018 +0300 ---------------------------------------------------------------------- .../sshd/common/session/helpers/AbstractConnectionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/931698f7/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractConnectionService.java ---------------------------------------------------------------------- diff --git a/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractConnectionService.java b/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractConnectionService.java index cd711e0..a0fd163 100644 --- a/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractConnectionService.java +++ b/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractConnectionService.java @@ -759,12 +759,12 @@ public abstract class AbstractConnectionService } protected void requestSuccess(Buffer buffer) throws Exception { - AbstractSession s = (AbstractSession) getSession(); + AbstractSession s = getSession(); s.requestSuccess(buffer); } protected void requestFailure(Buffer buffer) throws Exception { - AbstractSession s = (AbstractSession) getSession(); + AbstractSession s = getSession(); s.requestFailure(buffer); }
