Skip to content

Commit a8a15bd

Browse files
Billy DawsonBilly Dawson
authored andcommitted
Fixed unknownhostexception
1 parent b776d1d commit a8a15bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-utils/src/main/java/com/ibm/ws/lars/testutils/FatUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public static MassiveRepositoryFixture getMassiveFixture() {
147147
* We never explicitly close the client and rely on the connection being closed when the JVM
148148
* exits.
149149
*/
150-
public static synchronized DB getMongoDB throws UnknownHostException() {
150+
public static synchronized DB getMongoDB() throws UnknownHostException {
151151
if (fatDB == null) {
152152
MongoClient mongoClient;
153153
mongoClient = new MongoClient("localhost:" + FatUtils.DB_PORT);

0 commit comments

Comments
 (0)