Skip to content

Commit 6ed60ac

Browse files
committed
Changing the indentation to 4 spaces
1 parent 5256d04 commit 6ed60ac

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
*
2+
*
33
*/
44
package org.javaee7.websocket.binary;
55

@@ -12,17 +12,18 @@
1212

1313
/**
1414
* @author Nikolaos Ballas
15-
*
15+
*
1616
*/
1717
@ClientEndpoint
1818
public class MyEndpointClient {
19-
@OnOpen
20-
public void onOpen(Session session) {
21-
System.out.println("[Action]->Invokint method onOpen of the class:"+ this.getClass().getCanonicalName());
22-
try {
23-
session.getBasicRemote().sendBinary(ByteBuffer.wrap("Hello World!".getBytes()));
24-
} catch (IOException ioe) {
25-
ioe.printStackTrace();
26-
}
27-
}
19+
20+
@OnOpen
21+
public void onOpen(Session session) {
22+
System.out.println("[Action]->Invokint method onOpen of the class:" + this.getClass().getCanonicalName());
23+
try {
24+
session.getBasicRemote().sendBinary(ByteBuffer.wrap("Hello World!".getBytes()));
25+
} catch (IOException ioe) {
26+
ioe.printStackTrace();
27+
}
28+
}
2829
}

0 commit comments

Comments
 (0)