File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/libraries/net/src/processing/net Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,8 @@ public void run() {
310310 public void write (int data ) { // will also cover char
311311 int index = 0 ;
312312 while (index < clientCount ) {
313- clients [index ].write (data );
314313 if (clients [index ].active ()) {
314+ clients [index ].write (data );
315315 index ++;
316316 } else {
317317 removeIndex (index );
@@ -323,8 +323,8 @@ public void write(int data) { // will also cover char
323323 public void write (byte data []) {
324324 int index = 0 ;
325325 while (index < clientCount ) {
326- clients [index ].write (data );
327326 if (clients [index ].active ()) {
327+ clients [index ].write (data );
328328 index ++;
329329 } else {
330330 removeIndex (index );
@@ -336,8 +336,8 @@ public void write(byte data[]) {
336336 public void write (String data ) {
337337 int index = 0 ;
338338 while (index < clientCount ) {
339- clients [index ].write (data );
340339 if (clients [index ].active ()) {
340+ clients [index ].write (data );
341341 index ++;
342342 } else {
343343 removeIndex (index );
You can’t perform that action at this time.
0 commit comments