meghrathod / chatX

Non-final static fields should not be public JAVA-S1050
Security
Critical
2 years ago2 years old
 8public class pubServer {
 9    public static MessageQueue<userMessage> q = new MessageQueue<>();
10    public static ArrayList<PrintWriter> noslist = new ArrayList<>();
11    public static ArrayList<User> Userdb = new ArrayList<User>();12
13    public static void main(String[] args) throws Exception {
14        System.out.println("Server signing On");
 6import java.util.ArrayList;
 7
 8public class pubServer {
 9    public static MessageQueue<userMessage> q = new MessageQueue<>();10    public static ArrayList<PrintWriter> noslist = new ArrayList<>();
11    public static ArrayList<User> Userdb = new ArrayList<User>();
12
 7
 8public class pubServer {
 9    public static MessageQueue<userMessage> q = new MessageQueue<>();
10    public static ArrayList<PrintWriter> noslist = new ArrayList<>();11    public static ArrayList<User> Userdb = new ArrayList<User>();
12
13    public static void main(String[] args) throws Exception {