move protected to private

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2018-10-15 09:48:39 -04:00
parent 977c9a8ec8
commit 3f8cee20e1
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public final class SWTConsoleShell extends Shell {
} }
/** Create contents of the shell. */ /** Create contents of the shell. */
protected void createContents() { private void createContents() {
console = new SWTConsole(this, SWT.NONE); console = new SWTConsole(this, SWT.NONE);
setText("Console Application"); //$NON-NLS-1$ setText("Console Application"); //$NON-NLS-1$
} }

View File

@ -149,7 +149,7 @@ public final class SWTConsoleView extends Composite implements ConsoleDelayIO {
} }
/** @param next the next message */ /** @param next the next message */
protected void appendConsoleOutput(final String next) { private void appendConsoleOutput(final String next) {
Display.getDefault().syncExec(new Runnable() { Display.getDefault().syncExec(new Runnable() {
@SuppressWarnings("synthetic-access") @SuppressWarnings("synthetic-access")
@Override @Override