cleanup
This commit is contained in:
parent
dd7225cbbe
commit
7dfb3f91a3
1
pom.xml
1
pom.xml
|
@ -47,7 +47,6 @@
|
||||||
<version>${org.springframework.version}</version>
|
<version>${org.springframework.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
<artifactId>slf4j-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
|
|
|
@ -2,14 +2,10 @@ package de.ctdo.bunti.dao;
|
||||||
|
|
||||||
import de.ctdo.bunti.model.Room;
|
import de.ctdo.bunti.model.Room;
|
||||||
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
|
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
|
||||||
import org.springframework.stereotype.Repository;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author: lucas
|
|
||||||
* @date: 15.03.12 22:01
|
|
||||||
*/
|
|
||||||
public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO {
|
public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO {
|
||||||
|
|
||||||
public RoomsDAOImpl() {
|
public RoomsDAOImpl() {
|
||||||
|
@ -28,7 +24,7 @@ public final class RoomsDAOImpl extends HibernateDaoSupport implements RoomsDAO
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Room getRoom(int id) {
|
public Room getRoom(int id) {
|
||||||
return (Room) getHibernateTemplate().get(Room.class, new Integer(id));
|
return getHibernateTemplate().get(Room.class, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
|
|
||||||
$("#messages").append("type: " + data.type + " name=" + data.deviceName + "<br/>" );
|
$("#messages").append("type: " + data.type + " name=" + data.deviceName + "<br/>" );
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$( "#tabs" ).tabs({ cookie: { expires: 1 } });
|
$( "#tabs" ).tabs({ cookie: { expires: 1 } });
|
||||||
|
|
Loading…
Reference in New Issue