forked from j62/ctbrec
Code cleanup - Remove compiler warnings
This commit is contained in:
parent
c6dd2bb06c
commit
f2d3026d0a
|
@ -2,9 +2,6 @@ package ctbrec.recorder.postprocessing;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.NotImplementedExcetion;
|
||||
import ctbrec.Recording;
|
||||
|
@ -12,7 +9,6 @@ import ctbrec.recorder.RecordingManager;
|
|||
|
||||
public class Webhook extends AbstractPlaceholderAwarePostProcessor {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(Webhook.class);
|
||||
public static final String URL = "webhook.url";
|
||||
public static final String HEADERS = "webhook.headers";
|
||||
public static final String METHOD = "webhook.method";
|
||||
|
|
|
@ -664,6 +664,7 @@ public class MyFreeCamsClient {
|
|||
return camservString;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private boolean isBroadcasterOnWebRTC(SessionState state) {
|
||||
return (Optional.ofNullable(state).map(SessionState::getM).map(Model::getFlags).orElse(0) & 524288) == 524288;
|
||||
}
|
||||
|
|
|
@ -11,8 +11,6 @@ import java.util.regex.Matcher;
|
|||
import java.util.regex.Pattern;
|
||||
|
||||
import org.json.JSONObject;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
|
||||
|
@ -27,7 +25,6 @@ import okhttp3.Response;
|
|||
|
||||
public class ShowupHttpClient extends HttpClient {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(ShowupHttpClient.class);
|
||||
private String csrfToken;
|
||||
|
||||
protected ShowupHttpClient() {
|
||||
|
|
Loading…
Reference in New Issue