Issues (164)

java/com/github/theresasogunle/RaveConstant.java (4 issues)

1
package com.github.theresasogunle;
2
3
/**
4
 * @author Theresa
5
 */
6
public class RaveConstant {
0 ignored issues
show
This looks like a utility class. You may want to hide the implict public constructor behind a private one, so the class cannot be instantiated,
Loading history...
7
8
    public static String SECRET_KEY;
0 ignored issues
show
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making SECRET_KEY final.

See this CWE advisory on why this is a security issue.

Loading history...
9
    public static String PUBLIC_KEY;
0 ignored issues
show
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making PUBLIC_KEY final.

See this CWE advisory on why this is a security issue.

Loading history...
10
    public static Environment ENVIRONMENT;
0 ignored issues
show
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making ENVIRONMENT final.

See this CWE advisory on why this is a security issue.

Loading history...
11
12
}
13
    
14