refactor
This commit is contained in:
coderfengyun 2014-07-19 10:17:04 +08:00
parent bd25e36f72
commit a1d32a7e29
1 changed files with 0 additions and 6 deletions

View File

@ -15,12 +15,6 @@ import org.springframework.stereotype.Component;
@Component
public class AgentRepository extends AbstractRepositoty {
private final Object addDeleteLock = new Object();
public Object getAddDeleteLock() {
return addDeleteLock;
}
public boolean attach(Agent agentWithoutId) {
Session session = this.getSessionHelper().openSession();
Transaction transaction = session.beginTransaction();