Skip to content

Commit 33535db

Browse files
committed
build: checkstyle fixes
1 parent d1b67fd commit 33535db

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

jooby/src/main/java/io/jooby/Server.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ static boolean connectionLost(@Nullable Throwable cause) {
151151
* @return True address alaredy in use.
152152
*/
153153
static boolean isAddressInUse(@Nullable Throwable cause) {
154-
return (cause instanceof BindException) ||
155-
(Optional.ofNullable(cause)
156-
.map(Throwable::getMessage)
157-
.map(String::toLowerCase)
158-
.filter(msg -> msg.contains("address already in use"))
159-
.isPresent()
160-
);
154+
return (cause instanceof BindException)
155+
|| (Optional.ofNullable(cause)
156+
.map(Throwable::getMessage)
157+
.map(String::toLowerCase)
158+
.filter(msg -> msg.contains("address already in use"))
159+
.isPresent()
160+
);
161161
}
162162
}

modules/jooby-commons-email/src/main/java/io/jooby/email/CommonsEmailModule.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package io.jooby.email;
77

88
import com.typesafe.config.Config;
9-
import com.typesafe.config.ConfigException;
109
import com.typesafe.config.ConfigException.Missing;
1110
import com.typesafe.config.ConfigFactory;
1211
import io.jooby.Extension;

0 commit comments

Comments
 (0)