Skip to content

Commit

Permalink
remove RuntimeInfo.console (irrelevant)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdu committed Jun 12, 2012
1 parent 73e9a63 commit 779f557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class RuntimeInfo {
private String suffix = "";
private boolean longName = true;
private boolean startShell = false;
private boolean console = true;

public RuntimeInfo() {
super();
Expand Down Expand Up @@ -335,14 +334,6 @@ public boolean isStartShell() {
return startShell;
}

public void setHasConsole(final boolean console) {
this.console = console;
}

public boolean hasConsole() {
return console;
}

public static String buildLocalNodeName(final String label,
final boolean longName) {
if (label.indexOf('@') > 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.console.IConsoleManager;
import org.erlide.backend.BackendCore;
import org.erlide.backend.BackendData;
import org.erlide.backend.IBackend;
import org.erlide.backend.IBackendListener;
import org.erlide.backend.runtimeinfo.RuntimeInfo;
import org.erlide.jinterface.ErlLogger;
import org.erlide.utils.IDisposable;

Expand All @@ -32,7 +32,7 @@ public void runtimeAdded(final IBackend b) {
if (b == null) {
return;
}
final RuntimeInfo info = b.getRuntimeInfo();
final BackendData info = b.getData();
if (!info.hasConsole()) {
return;
}
Expand Down

0 comments on commit 779f557

Please sign in to comment.