> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + * See the License for the specific language governing permissions and
> + * limitations under the License.
> + */
> +package org.jclouds.jdbc.repository;
> +
> +import com.google.inject.Inject;
> +import com.google.inject.Provider;
> +
> +import javax.persistence.EntityManager;
> +import java.io.Serializable;
> +import java.lang.reflect.ParameterizedType;
> +
> +public abstract class GenericRepository<T, PK extends Serializable> {
> +
> + protected Class<T> entityClass;
Make this field final.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/173/files#r29934301