diff options
author | Kenny Root <kenny@the-b.org> | 2015-10-08 21:30:15 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-10-08 21:30:15 -0700 |
commit | 02447d0586463b87696e086fb29dd1b09c905f96 (patch) | |
tree | 444945b3d817a56be796103b49f9bba8340f1792 | |
parent | 3bb64a255fdc86be0436fbad64eeef4a14ed3949 (diff) | |
parent | c3c717202eef98be80c0c0fb4119eaa3badfd1b4 (diff) | |
download | connectbot-02447d0586463b87696e086fb29dd1b09c905f96.tar.gz connectbot-02447d0586463b87696e086fb29dd1b09c905f96.tar.bz2 connectbot-02447d0586463b87696e086fb29dd1b09c905f96.zip |
Merge pull request #283 from kruton/upgrade-checkstyle
Update checkstyle and fix violations
-rw-r--r-- | app/src/main/java/org/connectbot/transport/SSH.java | 2 | ||||
-rw-r--r-- | config/quality.gradle | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/java/org/connectbot/transport/SSH.java b/app/src/main/java/org/connectbot/transport/SSH.java index 0867256..c1e0d17 100644 --- a/app/src/main/java/org/connectbot/transport/SSH.java +++ b/app/src/main/java/org/connectbot/transport/SSH.java @@ -158,7 +158,7 @@ public class SSH extends AbsTransport implements ConnectionMonitor, InteractiveC else algorithmName = serverHostKeyAlgorithm; - switch(hosts.verifyHostkey(matchName, serverHostKeyAlgorithm, serverHostKey)) { + switch (hosts.verifyHostkey(matchName, serverHostKeyAlgorithm, serverHostKey)) { case KnownHosts.HOSTKEY_IS_OK: bridge.outputLine(manager.res.getString(R.string.terminal_sucess, algorithmName, fingerprint)); return true; diff --git a/config/quality.gradle b/config/quality.gradle index 2df9dcb..d521b7a 100644 --- a/config/quality.gradle +++ b/config/quality.gradle @@ -1,5 +1,10 @@ apply plugin: 'checkstyle' +checkstyle { + // This can't go past 6.7 until we upgrade to Gradle 2.7 + toolVersion = "6.7" +} + check.dependsOn 'checkstyle' task checkstyle(type: Checkstyle) { |