Removed unnecessary throws declarations.

This commit is contained in:
akwizgran
2012-11-24 13:35:04 +00:00
parent dc932764ec
commit d706363866
3 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ class DroidtoothPlugin implements DuplexPlugin {
} }
} }
public void stop() throws IOException { public void stop() {
running = false; running = false;
if(socket != null) tryToClose(socket); if(socket != null) tryToClose(socket);
} }

View File

@@ -48,7 +48,7 @@ abstract class TcpPlugin implements DuplexPlugin {
this.pollingInterval = pollingInterval; this.pollingInterval = pollingInterval;
} }
public boolean start() throws IOException { public boolean start() {
running = true; running = true;
pluginExecutor.execute(new Runnable() { pluginExecutor.execute(new Runnable() {
public void run() { public void run() {
@@ -130,7 +130,7 @@ abstract class TcpPlugin implements DuplexPlugin {
} }
} }
public void stop() throws IOException { public void stop() {
running = false; running = false;
if(socket != null) tryToClose(socket); if(socket != null) tryToClose(socket);
} }

View File

@@ -67,7 +67,7 @@ class TorPlugin implements DuplexPlugin {
return "TOR_PLUGIN_NAME"; return "TOR_PLUGIN_NAME";
} }
public boolean start() throws IOException { public boolean start() {
synchronized(this) { synchronized(this) {
running = true; running = true;
} }