Skip to content

Commit c826fe6

Browse files
committed
chore: Fix lint issues
1 parent 0b6d2bc commit c826fe6

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITEndpointContext.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
import com.google.showcase.v1beta1.EchoClient;
55
import com.google.showcase.v1beta1.EchoSettings;
66
import com.google.showcase.v1beta1.it.util.TestClientInitializer;
7-
import org.junit.Test;
8-
97
import java.io.IOException;
108
import java.util.concurrent.TimeUnit;
9+
import org.junit.Test;
1110

12-
/** This IT tests the different user configurations allowed and their effects on
13-
* endpoint and universe domain resolution.
11+
/**
12+
* This IT tests the different user configurations allowed and their effects on endpoint and
13+
* universe domain resolution.
1414
*
15-
* <p>This test will be enhanced in the future when the settings are able to return
16-
* the resolved endpoint and universe domain values.
15+
* <p>This test will be enhanced in the future when the settings are able to return the resolved
16+
* endpoint and universe domain values.
1717
*/
1818
public class ITEndpointContext {
1919
public static final String SHOWCASE_DEFAULT_ENDPOINT = "localhost:7469";
@@ -28,7 +28,8 @@ public void endpointResolution_default() throws InterruptedException, IOExceptio
2828
} finally {
2929
if (echoClient != null) {
3030
echoClient.close();
31-
echoClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
31+
echoClient.awaitTermination(
32+
TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
3233
}
3334
}
3435
}
@@ -45,7 +46,8 @@ public void endpointResolution_userConfiguration() throws InterruptedException,
4546
} finally {
4647
if (echoClient != null) {
4748
echoClient.close();
48-
echoClient.awaitTermination(TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
49+
echoClient.awaitTermination(
50+
TestClientInitializer.AWAIT_TERMINATION_SECONDS, TimeUnit.SECONDS);
4951
}
5052
}
5153
}
@@ -61,7 +63,8 @@ public void endpointResolution_defaultBuilder() {
6163
@Test
6264
public void endpointResolution_userConfigurationBuilder() {
6365
String customEndpoint = "test.com:123";
64-
EchoSettings.Builder echoSettingsBuilder = EchoSettings.newBuilder().setEndpoint(customEndpoint);
66+
EchoSettings.Builder echoSettingsBuilder =
67+
EchoSettings.newBuilder().setEndpoint(customEndpoint);
6568
Truth.assertThat(echoSettingsBuilder.getEndpoint()).isEqualTo(customEndpoint);
6669
}
6770
}

0 commit comments

Comments
 (0)