mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-23 17:52:22 -05:00
16 lines
299 B
Plaintext
16 lines
299 B
Plaintext
|
package pkg;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
public class TestClassCast {
|
||
|
public void test(List var1) {
|
||
|
Object var2 = var1;
|
||
|
if(var1 != null) {
|
||
|
((List)(var2 = new ArrayList(var1))).add("23");
|
||
|
}
|
||
|
|
||
|
System.out.println(((List)var2).size());
|
||
|
}
|
||
|
}
|