@ -253,8 +252,10 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -253,8 +252,10 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -271,9 +272,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -271,9 +272,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -174,9 +173,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@@ -174,9 +173,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
initialise();
// Add the parameters to the query string
booleanfirst=true;
@ -251,9 +248,10 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@@ -251,9 +248,10 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@ -234,9 +233,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@@ -234,9 +233,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
initialise();
// Setup request using POST stream with URL and data
@ -304,8 +301,10 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@@ -304,8 +301,10 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@ -478,9 +473,7 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -478,9 +473,7 @@ public class DelugeAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
initialise();
// Login first?
if(sessionCookie==null){
@ -582,11 +575,11 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -582,11 +575,11 @@ public class DelugeAdapter implements IDaemonAdapter {
@ -464,12 +463,10 @@ public class KTorrentAdapter implements IDaemonAdapter {
@@ -464,12 +463,10 @@ public class KTorrentAdapter implements IDaemonAdapter {
@ -587,7 +586,7 @@ public class QBittorrentAdapter implements IDaemonAdapter {
@@ -587,7 +586,7 @@ public class QBittorrentAdapter implements IDaemonAdapter {
@ -328,9 +326,7 @@ public class RTorrentAdapter implements IDaemonAdapter {
@@ -328,9 +326,7 @@ public class RTorrentAdapter implements IDaemonAdapter {
throwsDaemonException,MalformedURLException{
// Initialise the HTTP client
if(rpcclient==null){
initialise();
}
initialise();
StringBuilderparamsBuilder=newStringBuilder();
for(Objectarg:arguments){
@ -365,14 +361,13 @@ public class RTorrentAdapter implements IDaemonAdapter {
@@ -365,14 +361,13 @@ public class RTorrentAdapter implements IDaemonAdapter {
@ -84,10 +83,17 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -84,10 +83,17 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -425,13 +431,6 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -425,13 +431,6 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -502,7 +501,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -502,7 +501,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -523,7 +522,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -523,7 +522,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -233,9 +232,7 @@ public class TTorrentAdapter implements IDaemonAdapter {
@@ -233,9 +232,7 @@ public class TTorrentAdapter implements IDaemonAdapter {
@ -267,8 +264,10 @@ public class TTorrentAdapter implements IDaemonAdapter {
@@ -267,8 +264,10 @@ public class TTorrentAdapter implements IDaemonAdapter {
@ -403,9 +402,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -403,9 +402,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
// Setup request using POST stream with URL and data
@ -477,8 +474,10 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -477,8 +474,10 @@ public class TransmissionAdapter implements IDaemonAdapter {
@ -226,9 +226,7 @@ public class VuzeAdapter implements IDaemonAdapter {
@@ -226,9 +226,7 @@ public class VuzeAdapter implements IDaemonAdapter {
// TODO: It would be nicer to now split each of these steps into separate makeVuzeCalls when there are multiple logical steps such as stopping a torrent before removing it