Permalink
Browse files

Missed one

  • Loading branch information...
1 parent 3763593 commit 33426a16e0585c994b3942e6fd3835c69efd1928 @elandau elandau committed Mar 19, 2013
@@ -4,7 +4,6 @@
import java.util.List;
import java.util.Map;
-import javax.annotation.Nullable;
import javax.persistence.PersistenceException;
import org.apache.commons.lang.StringUtils;
@@ -266,7 +265,7 @@ public void remove(T entity) throws PersistenceException {
final List<T> entities = Lists.newArrayList();
visitAll(new Function<T, Boolean>() {
@Override
- public synchronized Boolean apply(@Nullable T entity) {
+ public synchronized Boolean apply(T entity) {
entities.add(entity);
try {
lifecycleHandler.onPostLoad(entity);
@@ -368,7 +367,7 @@ public void visitAll(final Function<T, Boolean> callback) throws PersistenceExce
.withIncludeEmptyRows(false)
.forEachRow(new Function<Row<K,String>, Boolean>() {
@Override
- public Boolean apply(@Nullable Row<K, String> row) {
+ public Boolean apply(Row<K, String> row) {
if (row.getColumns().isEmpty())
return true;
T entity = entityMapper.constructEntity(row.getKey(), row.getColumns());

0 comments on commit 33426a1

Please sign in to comment.