File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/org/kitteh/irc/client/library/feature Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2929import org .checkerframework .checker .nullness .qual .NonNull ;
3030import org .kitteh .irc .client .library .element .Actor ;
3131import org .kitteh .irc .client .library .element .User ;
32- import org .kitteh .irc .client .library .event .helper .ActorMessageEvent ;
32+ import org .kitteh .irc .client .library .event .helper .ActorEvent ;
3333
3434import java .lang .annotation .ElementType ;
3535import java .lang .annotation .Retention ;
4747 /**
4848 * {@inheritDoc}
4949 */
50- class Processor implements FilterProcessor <ActorMessageEvent <? extends Actor >, EchoMessage >, IMessageFilter <ActorMessageEvent <? extends Actor >> {
50+ class Processor implements FilterProcessor <ActorEvent <? extends Actor >, EchoMessage >, IMessageFilter <ActorEvent <? extends Actor >> {
5151 /**
5252 * Constructs the processor.
5353 */
5454 public Processor () {
5555 }
5656
5757 @ Override
58- public boolean accepts (@ NonNull ActorMessageEvent <? extends Actor > event , @ NonNull EchoMessage [] annotations ) {
58+ public boolean accepts (@ NonNull ActorEvent <? extends Actor > event , @ NonNull EchoMessage [] annotations ) {
5959 Optional <User > client = event .getClient ().getUser ();
6060 return client .isPresent () && client .get ().equals (event .getActor ());
6161 }
6262
6363 @ Override
64- public boolean accepts (ActorMessageEvent <? extends Actor > event , SubscriptionContext context ) {
64+ public boolean accepts (ActorEvent <? extends Actor > event , SubscriptionContext context ) {
6565 return this .accepts (event , context .getHandler ().getMethod ().getAnnotationsByType (EchoMessage .class ));
6666 }
6767 }
Original file line number Diff line number Diff line change 2222 * SOFTWARE.
2323 */
2424/**
25- * DNS resolution.
25+ * Networking is fun for the whole family!
2626 */
2727package org .kitteh .irc .client .library .feature .network ;
You can’t perform that action at this time.
0 commit comments