Skip to content

Commit 0c17917

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of bundles/org.eclipse.ui.cocoa
1 parent 061c39a commit 0c17917

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaTitlePathUpdater.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ public class CocoaTitlePathUpdater extends TitlePathUpdater {
2727

2828
@Override
2929
public void updateTitlePath(Shell window, String path) {
30-
if (window == null || window.isDisposed())
30+
if (window == null || window.isDisposed()) {
3131
return;
32-
if (path == null)
32+
}
33+
if (path == null) {
3334
path = "";
35+
}
3436
NSWindow nsWindow = window.getShell().view.window();
3537
NSString filePathString = NSString.stringWith(path);
3638
nsWindow.setRepresentedFilename(filePathString);

0 commit comments

Comments
 (0)