deepsourcestatus / test-repository

Non-final static fields should not be public JAVA-S1050
Security
Critical
8 months ago8 months old
10
11  public static class A {
12
13    public static String props = null;14    static {
15      try {
16        props = new String(UrlRequest.class.getResourceAsStream("a.properties").readAllBytes());