tunnelDefinition) {
this.addr = (String) tunnelDefinition.get("addr");
}
if (isNull(this.inspect) && tunnelDefinition.containsKey("inspect")) {
- this.inspect = Boolean.valueOf((String) tunnelDefinition.get("inspect"));
+ this.inspect = Boolean.valueOf(String.valueOf(tunnelDefinition.get("inspect")));
}
if (isNull(this.bindTls) && tunnelDefinition.containsKey("bind_tls")) {
- this.bindTls = BindTls.valueOf(((String) tunnelDefinition.get("bind_tls")).toUpperCase());
+ this.bindTls = BindTls.valueOf((String.valueOf(tunnelDefinition.get("bind_tls"))).toUpperCase());
}
if (isNull(this.auth) && tunnelDefinition.containsKey("auth")) {
this.auth = (String) tunnelDefinition.get("auth");
diff --git a/src/main/java/overview.html b/src/main/java/overview.html
index 6ce1c8f6..8d86b800 100644
--- a/src/main/java/overview.html
+++ b/src/main/java/overview.html
@@ -18,14 +18,14 @@ Maven
<dependency>
<groupId>com.github.alexdlaird</groupId>
<artifactId>java-ngrok</artifactId>
- <version>1.5.3</version>
+ <version>1.5.5</version>
</dependency>
Gradle
-implementation "com.github.alexdlaird:java-ngrok:1.5.3"
+implementation "com.github.alexdlaird:java-ngrok:1.5.5"
If we want ngrok
to be available from the command line,
@@ -61,7 +61,7 @@ Java 8
<dependency>
<groupId>com.github.alexdlaird</groupId>
<artifactId>java8-ngrok</artifactId>
- <version>1.4.3</version>
+ <version>1.4.4</version>
</dependency>
@@ -69,4 +69,4 @@ Java 8
Java 9, so certain convenience methods around managing the ngrok
process (for instance, tearing it down)
are not available in the Java 8 build.
-