Skip to content

Commit

Permalink
making methods final
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdalpra committed Jan 1, 2016
1 parent fdc567c commit 7fab6b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/jcabi/ssh/SSH.java
Expand Up @@ -199,7 +199,7 @@ public static String escape(final String arg) {
randomize = true, randomize = true,
types = IOException.class types = IOException.class
) )
protected Session session() throws IOException { protected final Session session() throws IOException {
try { try {
JSch.setConfig("StrictHostKeyChecking", "no"); JSch.setConfig("StrictHostKeyChecking", "no");
JSch.setLogger(new JschLogger()); JSch.setLogger(new JschLogger());
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/jcabi/ssh/SSHByPassword.java
Expand Up @@ -82,7 +82,7 @@ public SSHByPassword(final String adr, final int prt,
randomize = true, randomize = true,
types = IOException.class types = IOException.class
) )
protected Session session() throws IOException { protected final Session session() throws IOException {
try { try {
JSch.setConfig("StrictHostKeyChecking", "no"); JSch.setConfig("StrictHostKeyChecking", "no");
JSch.setLogger(new JschLogger()); JSch.setLogger(new JschLogger());
Expand Down

0 comments on commit 7fab6b8

Please sign in to comment.