mirror of https://github.com/apache/openjpa.git
fix codestyle only
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a7ce9df2e
commit
2889520be9
|
@ -135,7 +135,7 @@ public abstract class SingleEMFTestCase
|
|||
* for the class is its simple name.
|
||||
*/
|
||||
public int count(Class<?> c) {
|
||||
return count(getAlias(c));
|
||||
return count(getAlias(c));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -154,8 +154,8 @@ public abstract class SingleEMFTestCase
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> List<T> getAll(EntityManager em, Class<T> t) {
|
||||
return (List<T>)em.createQuery("SELECT p FROM " + getAlias(t) + " p")
|
||||
.getResultList();
|
||||
return (List<T>)em.createQuery("SELECT p FROM " + getAlias(t) + " p")
|
||||
.getResultList();
|
||||
}
|
||||
|
||||
public String getAlias(Class<?> t) {
|
||||
|
|
Loading…
Reference in New Issue