Skip to content
Permalink
Browse files

stop

  • Loading branch information...
bobjacobsen committed Oct 25, 2018
1 parent a3e7698 commit 81f6edb2f17ab586101f28bc6d0a8fd37741bed3
@@ -116,6 +116,7 @@ public AbstractAutomaton(String name) {
* <p>
* Overrides the superclass method to do local accounting.
*/
@SuppressWarnings("deprecation") // Thread.stop not likely to be removed
public void start() {
if (currentThread != null) {
log.error("Start with currentThread not null!");
@@ -190,6 +190,7 @@ private void startReadNCEconsistThread(boolean check) {
}
}

@SuppressWarnings("deprecation") // Thread.stop not likely to be removed
private void stopReadNCEconsistThread() {
if (mb != null) {
try {
@@ -120,6 +120,7 @@ public void forward(Hub.Memo m) {
}

// For testing
@SuppressWarnings("deprecation") // Thread.stop not likely to be removed
void stopHubThread() {
if (t != null) {
t.stop();
@@ -289,6 +289,7 @@ void setStreamPortController(LnStreamPortController x){

}

@SuppressWarnings("deprecation") // Thread.stop not likely to be removed
public void dispose(){
if(lsc != null){
lsc.dispose();
@@ -255,6 +255,7 @@ void setStreamPortController(jmri.jmrix.lenz.XNetStreamPortController x){
//jmri.InstanceManager.getDefault(jmri.jmrix.ConnectionConfigManager.class).add(new Z21XNetConnectionConfig(xsc));
}

@SuppressWarnings("deprecation") // Thread.stop not likely to be removed
public void dispose(){
if(xsc != null){
xsc.dispose();

0 comments on commit 81f6edb

Please sign in to comment.
You can’t perform that action at this time.