Skip to content

Commit 538b80a

Browse files
Declare pre-generated lifebeat messages final
1 parent 93dfb34 commit 538b80a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ng-appserver/src/main/java/ng/appserver/wointegration/NGLifebeatThread.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ public class NGLifebeatThread extends Thread {
4747
public MessageGenerator _messageGenerator;
4848

4949
/**
50-
* FIXME: Yeah, this sucks
50+
* The standard messages we will send
5151
*/
5252
public static class MessageGenerator {
53-
private byte[] _hasStarted;
54-
private byte[] _lifebeat;
55-
public byte[] _willStop;
56-
private byte[] _willCrash;
57-
private byte[] _versionRequest;
53+
private final byte[] _hasStarted;
54+
private final byte[] _lifebeat;
55+
public final byte[] _willStop;
56+
private final byte[] _willCrash;
57+
private final byte[] _versionRequest;
5858

5959
public MessageGenerator( final String appName, final String localhostName, final int appPort ) {
6060
final String preString = "GET /cgi-bin/WebObjects/wotaskd.woa/wlb?";

0 commit comments

Comments
 (0)