Browse Source

forgot this

server
Thomas Johnson 2 years ago
parent
commit
d4ceeb6893
  1. 3
      proto/ProtoOut.java

3
proto/ProtoOut.java

@ -5,6 +5,7 @@ import javafx.scene.chart.XYChart;
import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collector;
import java.util.stream.Collectors;
@ -76,7 +77,7 @@ public class ProtoOut
commit(); // Make it so!
}
synchronized public void giveUserListing(String username, ArrayList<String> names) throws IOException
synchronized public void giveUserListing(String username, List<String> names) throws IOException
{
out.writeByte(ProtoID.LISTING.b);
// I can recognize bad code when I write it, and this is bad code.

Loading…
Cancel
Save