Repository: jclouds-labs
Updated Branches:
  refs/heads/master 888de423d -> 7e2b0582c


Address InjectOnConstructorOfAbstractClass warning

Found via error-prone 2.2.0.


Project: http://git-wip-us.apache.org/repos/asf/jclouds-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/7e2b0582
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs/tree/7e2b0582
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs/diff/7e2b0582

Branch: refs/heads/master
Commit: 7e2b0582ca9f9998bfb196a3a0b57f51a404f08e
Parents: 888de42
Author: Andrew Gaul <g...@apache.org>
Authored: Sat Apr 14 18:29:29 2018 -0700
Committer: Andrew Gaul <g...@apache.org>
Committed: Sat Apr 14 18:30:18 2018 -0700

----------------------------------------------------------------------
 .../main/java/org/jclouds/jdbc/repository/GenericRepository.java   | 2 --
 .../profitbricks/rest/binder/BaseProfitBricksRequestBinder.java    | 2 --
 2 files changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/7e2b0582/jdbc/src/main/java/org/jclouds/jdbc/repository/GenericRepository.java
----------------------------------------------------------------------
diff --git 
a/jdbc/src/main/java/org/jclouds/jdbc/repository/GenericRepository.java 
b/jdbc/src/main/java/org/jclouds/jdbc/repository/GenericRepository.java
index fcb872e..84e896d 100644
--- a/jdbc/src/main/java/org/jclouds/jdbc/repository/GenericRepository.java
+++ b/jdbc/src/main/java/org/jclouds/jdbc/repository/GenericRepository.java
@@ -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 @@ public abstract class GenericRepository<T, PK extends 
Serializable> {
    protected final Class<T> entityClass;
    protected final Provider<EntityManager> entityManager;
 
-   @Inject
    @SuppressWarnings("unchecked")
    protected GenericRepository(Provider<EntityManager> entityManager) {
       this.entityManager = entityManager;

http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/7e2b0582/profitbricks-rest/src/main/java/org/apache/jclouds/profitbricks/rest/binder/BaseProfitBricksRequestBinder.java
----------------------------------------------------------------------
diff --git 
a/profitbricks-rest/src/main/java/org/apache/jclouds/profitbricks/rest/binder/BaseProfitBricksRequestBinder.java
 
b/profitbricks-rest/src/main/java/org/apache/jclouds/profitbricks/rest/binder/BaseProfitBricksRequestBinder.java
index 9c44d4b..88def7a 100644
--- 
a/profitbricks-rest/src/main/java/org/apache/jclouds/profitbricks/rest/binder/BaseProfitBricksRequestBinder.java
+++ 
b/profitbricks-rest/src/main/java/org/apache/jclouds/profitbricks/rest/binder/BaseProfitBricksRequestBinder.java
@@ -19,7 +19,6 @@ package org.apache.jclouds.profitbricks.rest.binder;
 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 @@ public abstract class BaseProfitBricksRequestBinder<T> 
implements MapBinder {
    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;

Reply via email to