Permalink
Browse files

making methods final

  • Loading branch information...
jrdalpra committed Jan 1, 2016
1 parent fdc567c commit 7fab6b8e59a301ddcd198fe58ee8a09c7bc85b3f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main/java/com/jcabi/ssh/SSH.java
  2. +1 −1 src/main/java/com/jcabi/ssh/SSHByPassword.java
@@ -199,7 +199,7 @@ public static String escape(final String arg) {
randomize = true,
types = IOException.class
)
protected Session session() throws IOException {
protected final Session session() throws IOException {
try {
JSch.setConfig("StrictHostKeyChecking", "no");
JSch.setLogger(new JschLogger());
@@ -82,7 +82,7 @@ public SSHByPassword(final String adr, final int prt,
randomize = true,
types = IOException.class
)
protected Session session() throws IOException {
protected final Session session() throws IOException {
try {
JSch.setConfig("StrictHostKeyChecking", "no");
JSch.setLogger(new JschLogger());

0 comments on commit 7fab6b8

Please sign in to comment.