Skip to content

Commit 81c4516

Browse files
committed
Use primitive boolean instead of the boxed value
1 parent dde4425 commit 81c4516

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/JavaUISourceLocator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ public void initializeFromMemento(String memento) throws CoreException {
322322
index = memento.indexOf("</findAll>", start); //$NON-NLS-1$
323323
if (index > 0) {
324324
String findAll = memento.substring(start, index);
325-
Boolean all = Boolean.valueOf(findAll);
325+
boolean all = Boolean.parseBoolean(findAll);
326326
String rest = memento.substring(index + 10);
327327
fJavaProject = (IJavaProject) JavaCore.create(handle);
328-
fIsFindAllSourceElements = all.booleanValue();
328+
fIsFindAllSourceElements = all;
329329
fSourceLocator.initializeFromMemento(rest);
330330
}
331331
}

0 commit comments

Comments
 (0)