Improved: Corrected checkstyle formatting issues, 'is preceded/not preceded with whitespace' for plugins component.
(OFBIZ-11874)
This fixes following checkstyle issues:
'{' is not preceded with whitespace.
'{' is not followed by whitespace.
'}' is not followed by whitespace.
'}' is not preceded with whitespace.
'typecast' is not followed by whitespace.
'try' is not followed by whitespace.
';' is preceded with whitespace.
This commit is contained in:
@@ -44,8 +44,8 @@ public class ExampleWebSockets {
|
||||
try {
|
||||
if (session.isOpen()) {
|
||||
synchronized (clients) {
|
||||
for(Session client : clients){
|
||||
if (!client.equals(session)){
|
||||
for (Session client : clients) {
|
||||
if (!client.equals(session)) {
|
||||
client.getBasicRemote().sendText(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user