1.1 --- a/chat/client/src/main/java/org/apidesign/html/chatserver/client/ChatClient.java Sun Jan 12 23:25:42 2014 +0100
1.2 +++ b/chat/client/src/main/java/org/apidesign/html/chatserver/client/ChatClient.java Tue Feb 11 21:59:17 2014 +0100
1.3 @@ -87,19 +87,4 @@
1.4 }
1.5 m.updateMsgs("" + (now + 1));
1.6 }
1.7 -
1.8 - static {
1.9 - ChatModel chm = new ChatModel();
1.10 - Message m = new Message();
1.11 - m.setComment("Waiting for messages from the server...");
1.12 - m.setUser("system");
1.13 - chm.getMsgs().add(m);
1.14 - chm.applyBindings();
1.15 - try {
1.16 - // XXX: this should not be in static initializer -
1.17 - // XXX: prevents unit testing!
1.18 - chm.initialRead();
1.19 - } catch (Throwable ex) {
1.20 - }
1.21 - }
1.22 }