Make hot methods in-line friendly
Refactor a few hot methods so that they are more likely to be in-lined by the JIT. Fixes gh-11409
This commit is contained in:
@@ -74,7 +74,7 @@ class WebTestClientContextCustomizer implements ContextCustomizer {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return (obj != null && obj.getClass().equals(getClass()));
|
||||
return (obj != null && obj.getClass() == getClass());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user