Skip to content

Commit a32e5eb

Browse files
committed
Changing the indentation to 4 spaces
1 parent 2bf8eb0 commit a32e5eb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
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,17 @@
1212

1313
/**
1414
* @author Nikolaos Ballas
15-
*
1615
*/
1716
@ClientEndpoint
1817
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-
}
18+
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+
}
2828
}

0 commit comments

Comments
 (0)