identifier refactoring
This commit is contained in:
parent
5710360504
commit
fdc2b99494
@ -32,10 +32,10 @@ class SharedUser implements HasID {
|
||||
|
||||
public class SharedConstructorArgument {
|
||||
public static void main(String[] args) {
|
||||
Unsafe us = new Unsafe();
|
||||
IDChecker.test(() -> new SharedUser(us));
|
||||
Safe sa = new Safe();
|
||||
IDChecker.test(() -> new SharedUser(sa));
|
||||
Unsafe unsafe = new Unsafe();
|
||||
IDChecker.test(() -> new SharedUser(unsafe));
|
||||
Safe safe = new Safe();
|
||||
IDChecker.test(() -> new SharedUser(safe));
|
||||
}
|
||||
}
|
||||
/* Output:
|
||||
|
Loading…
x
Reference in New Issue
Block a user