Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 5249206

Browse files
committed
raw types, trailing spaces
1 parent c08b605 commit 5249206

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/test/java/org/sonatype/spice/jersey/client/ahc/tests/tests/AbstractGrizzlyServerTester.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract class AbstractGrizzlyServerTester extends TestCase {
3333
private SelectorThread selectorThread;
3434

3535
private int port = getEnvVariable("JERSEY_HTTP_PORT", 9997);
36-
36+
3737
private static int getEnvVariable(final String varName, int defaultValue) {
3838
if (null == varName) {
3939
return defaultValue;
@@ -52,26 +52,26 @@ private static int getEnvVariable(final String varName, int defaultValue) {
5252
public AbstractGrizzlyServerTester(String name) {
5353
super(name);
5454
}
55-
55+
5656
public UriBuilder getUri() {
5757
return UriBuilder.fromUri("http://localhost").port(port).path(CONTEXT);
5858
}
59-
60-
public void startServer(Class... resources) {
59+
60+
public void startServer(Class<?>... resources) {
6161
start(ContainerFactory.createContainer(Adapter.class, resources));
6262
}
63-
63+
6464
public void startServer(ResourceConfig config) {
6565
start(ContainerFactory.createContainer(Adapter.class, config));
6666
}
67-
67+
6868
private void start(Adapter adapter) {
6969
if (selectorThread != null && selectorThread.isRunning()){
7070
stopServer();
7171
}
7272

7373
System.out.println("Starting GrizzlyServer port number = " + port);
74-
74+
7575
URI u = UriBuilder.fromUri("http://localhost").port(port).build();
7676
try {
7777
selectorThread = GrizzlyServerFactory.create(u, adapter);
@@ -91,13 +91,13 @@ private void start(Adapter adapter) {
9191
}
9292
}
9393
}
94-
94+
9595
public void stopServer() {
9696
if (selectorThread.isRunning()) {
9797
selectorThread.stopEndpoint();
9898
}
9999
}
100-
100+
101101
@Override
102102
public void tearDown() {
103103
stopServer();

0 commit comments

Comments
 (0)