@@ -28,27 +28,10 @@ public class Method {
2828 private String subSignature ;
2929 private String signature ;
3030 private int hashCode = 0 ;
31-
32- public enum SecurityLevel {
33- HIGH ("high" ), LOW ("low" ), NEUTRAL ("neutral" ), NONE ("none" );
34-
35- private final String level ;
36-
37- SecurityLevel (String level ) {
38- this .level = level ;
39- }
40-
41- @ JsonValue
42- public String getLevel () {
43- return level ;
44- }
45- }
46-
4731 private String framework ;
4832 private String link ;
4933 private String comment ;
5034 private String discovery ;
51- private SecurityLevel securityLevel ;
5235 private RelevantPart dataIn ;
5336 private RelevantPart dataOut ;
5437 @ JsonProperty ("type" )
@@ -99,7 +82,6 @@ public Method deriveWithNewClass(String className) {
9982 m .setLink (this .link );
10083 m .setComment (this .comment );
10184 m .setDiscovery (this .discovery );
102- m .setSecurityLevel (m .securityLevel );
10385 m .setDataIn (this .dataIn );
10486 m .setDataOut (this .dataOut );
10587 // m.setCwes(this.cwes);
@@ -149,14 +131,6 @@ public void setDiscovery(String discovery) {
149131 this .discovery = discovery ;
150132 }
151133
152- public SecurityLevel getSecurityLevel () {
153- return securityLevel ;
154- }
155-
156- public void setSecurityLevel (SecurityLevel securityLevel ) {
157- this .securityLevel = securityLevel ;
158- }
159-
160134 public RelevantPart getDataIn () {
161135 return dataIn ;
162136 }
0 commit comments