File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/reactivex/internal/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public void hashSetCallableEnum() {
41
41
Method m = Functions .HashSetCallable .class .getMethod ("values" );
42
42
m .setAccessible (true );
43
43
Method e = Functions .HashSetCallable .class .getMethod ("valueOf" , String .class );
44
- m .setAccessible (true );
44
+ e .setAccessible (true );
45
45
46
46
for (Enum <HashSetCallable > o : (Enum <HashSetCallable >[])m .invoke (null )) {
47
47
assertSame (o , e .invoke (null , o .name ()));
@@ -60,7 +60,7 @@ public void naturalComparatorEnum() {
60
60
Method m = Functions .NaturalComparator .class .getMethod ("values" );
61
61
m .setAccessible (true );
62
62
Method e = Functions .NaturalComparator .class .getMethod ("valueOf" , String .class );
63
- m .setAccessible (true );
63
+ e .setAccessible (true );
64
64
65
65
for (Enum <NaturalComparator > o : (Enum <NaturalComparator >[])m .invoke (null )) {
66
66
assertSame (o , e .invoke (null , o .name ()));
You can’t perform that action at this time.
0 commit comments