Skip to content

Commit

Permalink
Remove unwanted object creation
Browse files Browse the repository at this point in the history
  • Loading branch information
anistor committed Jun 13, 2015
1 parent 28d8fa4 commit 5f6f66d
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -241,7 +241,6 @@ public void onFilterResult(Object userContext, Object instance, Object eventType
if (filterAndConvert && event instanceof EventImpl) {
EventImpl<K, V> eventImpl = (EventImpl<K, V>) event;
EventImpl<K, V> clone = eventImpl.clone();
FilterResultImpl filterResult = new FilterResultImpl(instance, projection, sortProjection);
clone.setValue((V) makeFilterResult(instance, projection, sortProjection));
event = clone;
}
Expand Down

0 comments on commit 5f6f66d

Please sign in to comment.