Skip to content
This repository
Browse code

Missed one

  • Loading branch information...
commit 33426a16e0585c994b3942e6fd3835c69efd1928 1 parent 3763593
elandau authored March 18, 2013
5  astyanax-entity-mapper/src/main/java/com/netflix/astyanax/entitystore/DefaultEntityManager.java
@@ -4,7 +4,6 @@
4 4
 import java.util.List;
5 5
 import java.util.Map;
6 6
 
7  
-import javax.annotation.Nullable;
8 7
 import javax.persistence.PersistenceException;
9 8
 
10 9
 import org.apache.commons.lang.StringUtils;
@@ -266,7 +265,7 @@ public void remove(T entity) throws PersistenceException {
266 265
         final List<T> entities = Lists.newArrayList();
267 266
         visitAll(new Function<T, Boolean>() {
268 267
             @Override
269  
-            public synchronized Boolean apply(@Nullable T entity) {
  268
+            public synchronized Boolean apply(T entity) {
270 269
                 entities.add(entity);
271 270
                 try {
272 271
                     lifecycleHandler.onPostLoad(entity);
@@ -368,7 +367,7 @@ public void visitAll(final Function<T, Boolean> callback) throws PersistenceExce
368 367
                     .withIncludeEmptyRows(false)
369 368
                     .forEachRow(new Function<Row<K,String>, Boolean>() {
370 369
                         @Override
371  
-                        public Boolean apply(@Nullable Row<K, String> row) {
  370
+                        public Boolean apply(Row<K, String> row) {
372 371
                             if (row.getColumns().isEmpty())
373 372
                                 return true;
374 373
                             T entity = entityMapper.constructEntity(row.getKey(), row.getColumns());

0 notes on commit 33426a1

Please sign in to comment.
Something went wrong with that request. Please try again.