Rationalize DefaultRestartInitializerTests

Closes gh-14927
This commit is contained in:
Madhura Bhave
2018-10-23 13:23:04 -07:00
parent 44e96013ff
commit bc58d4456f
2 changed files with 32 additions and 59 deletions

View File

@@ -73,7 +73,7 @@ public class DefaultRestartInitializer implements RestartInitializer {
* @return {@code true} if the stack element means that the initializer should be
* skipped
*/
protected boolean isSkippedStackElement(StackTraceElement element) {
private boolean isSkippedStackElement(StackTraceElement element) {
for (String skipped : SKIPPED_STACK_ELEMENTS) {
if (element.getClassName().startsWith(skipped)) {
return true;