File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
jooby/src/main/java/io/jooby
modules/jooby-commons-email/src/main/java/io/jooby/email Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 66package io .jooby .email ;
77
88import com .typesafe .config .Config ;
9- import com .typesafe .config .ConfigException ;
109import com .typesafe .config .ConfigException .Missing ;
1110import com .typesafe .config .ConfigFactory ;
1211import io .jooby .Extension ;
You can’t perform that action at this time.
0 commit comments