mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
8 lines
177 B
Java
8 lines
177 B
Java
// "Remove 'getClass()' call" "true"
|
|
public class Main {
|
|
Class<?> test(Class<?> obj) {
|
|
return switch(obj.hashCode()) {
|
|
default -> obj.<caret>getClass();
|
|
};
|
|
}
|
|
} |