Skip to content

Commit 77509e1

Browse files
committed
Renamed openOnAndBlock(Shell parent), since almost no one used it anyway...
1 parent 064a525 commit 77509e1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/com/diffplug/common/swt/Shells.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,16 @@ public Shell openOn(Shell parent) {
127127
return shell;
128128
}
129129

130-
/** Opens the shell on this parent and blocks. */
130+
/**
131+
* @deprecated for {@link #openOnBlocking(Shell)} - same behavior, but name is consistent with the others.
132+
*/
133+
@Deprecated
131134
public void openOnAndBlock(Shell parent) {
135+
openOnBlocking(parent);
136+
}
137+
138+
/** Opens the shell on this parent and blocks. */
139+
public void openOnBlocking(Shell parent) {
132140
SwtMisc.loopUntilDisposed(openOn(parent));
133141
}
134142

0 commit comments

Comments
 (0)