Skip to content

Commit

Permalink
removed @nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
lgirndt committed Apr 16, 2012
1 parent 039a1de commit 026033d
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -2,8 +2,6 @@

import java.util.Map;

import javax.annotation.Nullable;

import com.google.common.base.Function;
import com.google.common.collect.Maps;
import com.lmax.disruptor.EventHandler;
Expand All @@ -19,7 +17,7 @@ public class ReservationEventHandler implements EventHandler<UnitEvent>{
public ReservationEventHandler(final Iterable<Operation> operations) {
this.operations = Maps.uniqueIndex(operations,new Function<Operation, EventType>() {
@Override
public EventType apply(@Nullable final Operation operation) {
public EventType apply(final Operation operation) {
return operation.handles();
}
});
Expand Down

0 comments on commit 026033d

Please sign in to comment.