mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +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;
|
running = false;
|
||||||
if(socket != null) tryToClose(socket);
|
if(socket != null) tryToClose(socket);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user