Skip to content

Commit e7d8bd3

Browse files
committed
MenuService: tweak formatting
1 parent 2dd1ccd commit e7d8bd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/scijava/menu/DefaultMenuService.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ private synchronized void addModules(final Collection<ModuleInfo> items,
165165
* </p>
166166
*/
167167
private HashMap<String, ShadowMenu> rootMenus() {
168-
if (rootMenus == null) {
169-
initRootMenus();
170-
}
168+
if (rootMenus == null) initRootMenus();
171169
return rootMenus;
172170
}
173171

0 commit comments

Comments
 (0)