aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-10-03 12:11:29 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-10-03 12:11:29 +0200
commitb0f09b21746380c80b738a051f313caf0b0b684d (patch)
tree01b929993b73bdaf0c93b90a5971be97385599f5 /id/server/moa-id-commons/src/main/java
parent173b6db7d9ed8c1115ec634de68b7a9d8f70f812 (diff)
downloadmoa-id-spss-b0f09b21746380c80b738a051f313caf0b0b684d.tar.gz
moa-id-spss-b0f09b21746380c80b738a051f313caf0b0b684d.tar.bz2
moa-id-spss-b0f09b21746380c80b738a051f313caf0b0b684d.zip
Code CleanUP and change to consisted Version numbers
Diffstat (limited to 'id/server/moa-id-commons/src/main/java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java4
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java1
2 files changed, 2 insertions, 3 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
index 058ad3ad0..7f40b1875 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
@@ -113,13 +113,13 @@ public class ConfigurationDBRead {
return (OnlineApplication) result.get(0);
}
- public static MOAIDConfiguration getMOAIDConfiguration() {
+ public static MOAIDConfiguration getMOAIDConfiguration() {
Logger.trace("Load MOAID Configuration from database.");
List<MOAIDConfiguration> result;
EntityManager session = ConfigurationDBUtils.getCurrentSession();
- javax.persistence.Query query = session.createQuery(QUERIES.get("getMOAIDConfiguration"));
+ javax.persistence.Query query = session.createQuery(QUERIES.get("getMOAIDConfiguration"));
result = query.getResultList();
Logger.trace("Found entries: " + result.size());
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
index 3c48efc7b..ed865d70f 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
@@ -20,7 +20,6 @@ import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
-import javax.persistence.Transient;
import org.hibernate.annotations.DynamicUpdate;