Skip to content

Commit

Permalink
MongoClientWrapper: Remove unnecessary call to .build()
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Yufei (INST/ECS1) <yufei.cai@bosch-si.com>
  • Loading branch information
yufei-cai authored and thjaeckle committed Feb 7, 2019
1 parent 316a008 commit d929c66
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -188,7 +188,7 @@ private static void buildSSLSettings(final SslSettings.Builder builder) {
throw new IllegalStateException("KeyManagementException ", e);
}

builder.context(sslContext).enabled(true).build();
builder.context(sslContext).enabled(true);
}

/**
Expand Down

0 comments on commit d929c66

Please sign in to comment.