Skip to content
Permalink
Browse files
Address InjectOnConstructorOfAbstractClass warning
Found via error-prone 2.2.0.
  • Loading branch information
gaul committed Apr 15, 2018
1 parent 888de42 commit 7e2b0582ca9f9998bfb196a3a0b57f51a404f08e
Showing 2 changed files with 0 additions and 4 deletions.
@@ -16,7 +16,6 @@
*/
package org.jclouds.jdbc.repository;

import com.google.inject.Inject;
import com.google.inject.Provider;

import javax.persistence.EntityManager;
@@ -28,7 +27,6 @@
protected final Class<T> entityClass;
protected final Provider<EntityManager> entityManager;

@Inject
@SuppressWarnings("unchecked")
protected GenericRepository(Provider<EntityManager> entityManager) {
this.entityManager = entityManager;
@@ -19,7 +19,6 @@
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.base.Strings;
import com.google.common.base.Supplier;
import com.google.inject.Inject;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
@@ -36,7 +35,6 @@
protected final Map<String, Object> requestBuilder;
protected final Json jsonBinder;

@Inject
protected BaseProfitBricksRequestBinder(String paramName, Json jsonBinder, Supplier<URI> endpointSupplier) {
this.paramName = checkNotNull(paramName, "Initialize 'paramName' in constructor");
this.jsonBinder = jsonBinder;

0 comments on commit 7e2b058

Please sign in to comment.