Skip to content

Commit eb10e8b

Browse files
committed
Remove print statements from features
1 parent e91bc13 commit eb10e8b

10 files changed

+0
-12
lines changed

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodBodyContainsObjectFeature.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public Type appliesInternal(Method method) {
2323
try {
2424
SootMethod sm = getSootMethod(method);
2525
if (sm == null) {
26-
System.err.println("Method not declared: " + method);
27-
// throw new RuntimeException("Method not declared: " + method);
2826
return Type.NOT_SUPPORTED;
2927
}
3028
if (!sm.isConcrete()) return Type.NOT_SUPPORTED;

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodCallsMethodFeature.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public Type appliesInternal(Method method) {
4545
try {
4646
SootMethod sm = getSootMethod(method);
4747
if (sm == null) {
48-
System.err.println("Method not declared: " + method);
4948
return Type.NOT_SUPPORTED;
5049
}
5150
return checkMethod(sm, new ArrayList<SootMethod>());

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodInvocationClassName.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public Type appliesInternal(Method method) {
2626
SootMethod sm = getSootMethod(method);
2727

2828
if (sm == null) {
29-
System.err.println("Method not declared: " + method);
3029
return Type.NOT_SUPPORTED;
3130
}
3231

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodInvocationName.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public Type appliesInternal(Method method) {
2626
SootMethod sm = getSootMethod(method);
2727

2828
if (sm == null) {
29-
System.err.println("Method not declared: " + method);
3029
return Type.NOT_SUPPORTED;
3130
}
3231

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodInvocationOnParameterFeature.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public Type appliesInternal(Method method) {
3333
SootMethod sm = getSootMethod(method);
3434

3535
if (sm == null) {
36-
System.err.println("Method not declared: " + method);
3736
return Type.NOT_SUPPORTED;
3837
}
3938

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/MethodIsRealSetterFeature.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public Type appliesInternal(Method method) {
3131
SootMethod sm = getSootMethod(method);
3232

3333
if (sm == null) {
34-
System.err.println("Method not declared: " + method);
3534
return Type.NOT_SUPPORTED;
3635
}
3736

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/ParameterFlowsToReturn.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public Type appliesInternal(Method method) {
3030
SootMethod sm = getSootMethod(method);
3131

3232
if (sm == null) {
33-
System.err.println("Method not declared: " + method);
3433
return Type.NOT_SUPPORTED;
3534
}
3635

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/ParameterInCallFeature.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ public Type appliesInternal(Method method) {
9191
try {
9292
SootMethod sm = getSootMethod(method);
9393
if (sm == null) {
94-
System.err.println("Method not declared: " + method);
95-
// throw new RuntimeException("Method not declared: " + method);
9694
return Type.NOT_SUPPORTED;
9795
}
9896

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/ParameterToSinkFeature.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public Type appliesInternal(Method method) {
3434
SootMethod sm = getSootMethod(method);
3535

3636
if (sm == null) {
37-
System.err.println("Method not declared: " + method);
3837
return Type.NOT_SUPPORTED;
3938
}
4039

swan-pipeline/src/main/java/de/fraunhofer/iem/swan/features/code/type/SourceToReturnFeature.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public Type appliesInternal(Method method) {
3333
SootMethod sm = getSootMethod(method);
3434

3535
if (sm == null) {
36-
System.err.println("Method not declared: " + method);
3736
return Type.NOT_SUPPORTED;
3837
}
3938

0 commit comments

Comments
 (0)