Skip to content
Permalink
Browse files

Cleaned up Warnings

  • Loading branch information...
Ghost-Programmer committed Apr 6, 2019
1 parent 0abe768 commit 8e71680d263980e17a0b842c3b8cc3a806afe3fd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/name/mymiller/extensions/utils/pipelines/switches/RemoteSwitch.java
@@ -6,7 +6,7 @@
* @author jmiller Class used to remote enable/disable the predicate for use in
* pipeline switches.
*/
public class RemoteSwitch<A> implements Predicate<A> {
public class RemoteSwitch implements Predicate<Object> {

private boolean enabled = false;

@@ -44,7 +44,7 @@ public synchronized void setEnabled(boolean enabled) {
}

@Override
public boolean test(A t) {
public boolean test(Object t) {
return this.isEnabled();
}

0 comments on commit 8e71680

Please sign in to comment.
You can’t perform that action at this time.