Skip to content

Commit c109e0c

Browse files
author
lorenzo-patane
committed
Fields converted to local variables #2
1 parent 32d7d81 commit c109e0c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/mcping/MCPing.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77

88
public class MCPing
99
{
10-
11-
private final static Gson gson = new Gson();
12-
1310
public FinalResponse getPing(PingOptions options) throws IOException
1411
{
12+
final Gson gson = new Gson();
1513
Pinger a = new Pinger();
1614
a.setAddress(new InetSocketAddress(options.getHostname(),options.getPort()));
1715
a.setTimeout(options.getTimeout());

0 commit comments

Comments
 (0)