mirror of
https://github.com/google/nomulus
synced 2026-09-04 15:17:13 +00:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
@@ -50,13 +50,13 @@ abstract class AugmentedDeleter implements Deleter {
|
||||
|
||||
@Override
|
||||
public Result<Void> entity(Object entity) {
|
||||
handleDeletion(Arrays.<Key<?>>asList(Key.create(entity)));
|
||||
handleDeletion(Arrays.asList(Key.create(entity)));
|
||||
return delegate.entity(entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result<Void> key(Key<?> key) {
|
||||
handleDeletion(Arrays.<Key<?>>asList(key));
|
||||
handleDeletion(Arrays.asList(key));
|
||||
return delegate.keys(key);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.joda.time.DateTime;
|
||||
/** Metadata for an {@link Ofy} transaction that saves commit logs. */
|
||||
class TransactionInfo {
|
||||
|
||||
private static final Predicate<Object> IS_DELETE = Predicates.<Object>equalTo(Delete.SENTINEL);
|
||||
private static final Predicate<Object> IS_DELETE = Predicates.equalTo(Delete.SENTINEL);
|
||||
|
||||
private enum Delete { SENTINEL }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user