Skip to content

Commit

Permalink
yegor256#8 Removed unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiranda committed Jun 25, 2014
1 parent a162191 commit 0433e86
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions s3auth-relay/src/main/java/com/s3auth/relay/HttpFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ final class HttpFacade implements Closeable {
HttpFacade(@NotNull final Hosts hosts, final int port, final int sslport)
throws IOException {
this.server = new ServerSocket(port);
this.secured =
((SSLServerSocketFactory) SSLServerSocketFactory.getDefault())
.createServerSocket(sslport);
this.secured = SSLServerSocketFactory.getDefault()
.createServerSocket(sslport);
final HttpThread thread = new HttpThread(this.sockets, hosts);
final Runnable runnable = new VerboseRunnable(
new HttpFacade.HttpThreadRunnable(thread), true, false
Expand Down

0 comments on commit 0433e86

Please sign in to comment.