mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Removed unnecessary throws declarations.
This commit is contained in:
@@ -188,7 +188,7 @@ class DroidtoothPlugin implements DuplexPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
public void stop() throws IOException {
|
||||
public void stop() {
|
||||
running = false;
|
||||
if(socket != null) tryToClose(socket);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ abstract class TcpPlugin implements DuplexPlugin {
|
||||
this.pollingInterval = pollingInterval;
|
||||
}
|
||||
|
||||
public boolean start() throws IOException {
|
||||
public boolean start() {
|
||||
running = true;
|
||||
pluginExecutor.execute(new Runnable() {
|
||||
public void run() {
|
||||
@@ -130,7 +130,7 @@ abstract class TcpPlugin implements DuplexPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
public void stop() throws IOException {
|
||||
public void stop() {
|
||||
running = false;
|
||||
if(socket != null) tryToClose(socket);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ class TorPlugin implements DuplexPlugin {
|
||||
return "TOR_PLUGIN_NAME";
|
||||
}
|
||||
|
||||
public boolean start() throws IOException {
|
||||
public boolean start() {
|
||||
synchronized(this) {
|
||||
running = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user