diff --git a/pom.xml b/pom.xml
index f31474c..29a81ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,6 @@
${org.springframework.version}
-
org.slf4j
slf4j-api
diff --git a/src/main/java/de/ctdo/bunti/dao/RoomsDAOImpl.java b/src/main/java/de/ctdo/bunti/dao/RoomsDAOImpl.java
index c20e5c3..faa1b78 100644
--- a/src/main/java/de/ctdo/bunti/dao/RoomsDAOImpl.java
+++ b/src/main/java/de/ctdo/bunti/dao/RoomsDAOImpl.java
@@ -2,14 +2,10 @@ package de.ctdo.bunti.dao;
import de.ctdo.bunti.model.Room;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
-import org.springframework.stereotype.Repository;
import java.util.List;
-/**
- * @author: lucas
- * @date: 15.03.12 22:01
- */
+
public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO {
public RoomsDAOImpl() {
@@ -28,7 +24,7 @@ public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO
@Override
public Room getRoom(int id) {
- return (Room) getHibernateTemplate().get(Room.class, new Integer(id));
+ return getHibernateTemplate().get(Room.class, id);
}
@Override
diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp
index 0924b36..52ad1b0 100644
--- a/src/main/webapp/WEB-INF/jsp/index.jsp
+++ b/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -73,6 +73,7 @@
$("#messages").append("type: " + data.type + " name=" + data.deviceName + "
" );
});
+
});
$( "#tabs" ).tabs({ cookie: { expires: 1 } });