Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Commit a54c62d

Browse files
committed
Adding missing final statements
When compiled with Java8 there were no errors but when compiled with Java7 there were compile errors about missing final statements for variable use inside an inner-class.
1 parent f3b618b commit a54c62d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/codeu/chat/server/Server.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public final class Server {
5656
private final Relay relay;
5757
private Uuid lastSeen = Uuids.NULL;
5858

59-
public Server(Uuid id, byte[] secret, Relay relay) {
59+
public Server(final Uuid id, final byte[] secret, final Relay relay) {
6060

6161
this.id = id;
6262
this.secret = Arrays.copyOf(secret, secret.length);

0 commit comments

Comments
 (0)