-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored NewValidator.java to work with Sootup.
Deleting CheckEscapingValidator.java and ReturnStatementsValidator.java.
- Loading branch information
1 parent
647da14
commit 1fb79eb
Showing
8 changed files
with
190 additions
and
216 deletions.
There are no files selected for viewing
Binary file added
BIN
+463 Bytes
shared-test-resources/miniTestSuite/ValidatorTests/binary/NewKeywordValidator.class
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
shared-test-resources/miniTestSuite/ValidatorTests/source/NewKeywordValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
public class NewKeywordValidator { | ||
|
||
int x = 5; | ||
|
||
public static void main(String[] args) { | ||
NewKeywordValidator myObj = new NewKeywordValidator(); | ||
System.out.println(myObj.x); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
sootup.core/src/main/java/sootup/core/validation/CheckEscapingValidator.java
This file was deleted.
Oops, something went wrong.
239 changes: 139 additions & 100 deletions
239
sootup.core/src/main/java/sootup/core/validation/NewValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.