Skip to content

Commit de446c4

Browse files
Merge pull request #77 from gayanW/java-10-72
Suppress warning ChoiceGeneratorBase() has been deprecated
2 parents 1ed210e + 43509f2 commit de446c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/gov/nasa/jpf/vm/ChoiceGeneratorBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static boolean useRandomization() {
100100
* don't use this since it is not safe for cascaded ChoiceGenerators
101101
* (we need the 'id' to be as context specific as possible)
102102
*/
103-
@Deprecated
103+
@Deprecated(forRemoval = true)
104104
protected ChoiceGeneratorBase() {
105105
id = "?";
106106
}

src/main/gov/nasa/jpf/vm/choice/PermutationCG.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public class PermutationCG extends ChoiceGeneratorBase<int[]>{
3232
protected PermutationGenerator pg;
3333
protected int[] permutation;
3434

35+
@Deprecated(forRemoval = true)
36+
@SuppressWarnings("removal")
3537
public PermutationCG (PermutationGenerator pg){
3638
this.pg = pg;
3739
}

0 commit comments

Comments
 (0)