File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/main/java/io/socket/client Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -315,27 +315,15 @@ private void onpacket(Packet<?> packet) {
315315 break ;
316316 }
317317
318- case Parser .EVENT : {
319- @ SuppressWarnings ("unchecked" )
320- Packet <JSONArray > p = (Packet <JSONArray >) packet ;
321- this .onevent (p );
322- break ;
323- }
324-
318+ case Parser .EVENT :
325319 case Parser .BINARY_EVENT : {
326320 @ SuppressWarnings ("unchecked" )
327321 Packet <JSONArray > p = (Packet <JSONArray >) packet ;
328322 this .onevent (p );
329323 break ;
330324 }
331325
332- case Parser .ACK : {
333- @ SuppressWarnings ("unchecked" )
334- Packet <JSONArray > p = (Packet <JSONArray >) packet ;
335- this .onack (p );
336- break ;
337- }
338-
326+ case Parser .ACK :
339327 case Parser .BINARY_ACK : {
340328 @ SuppressWarnings ("unchecked" )
341329 Packet <JSONArray > p = (Packet <JSONArray >) packet ;
You can’t perform that action at this time.
0 commit comments