From a1d32a7e29126603613a7f328355b4ef215920f2 Mon Sep 17 00:00:00 2001 From: coderfengyun Date: Sat, 19 Jul 2014 10:17:04 +0800 Subject: [PATCH] refactor refactor --- .../bench4q/master/domain/repository/AgentRepository.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/repository/AgentRepository.java b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/repository/AgentRepository.java index 78b9140a..d2a846a3 100644 --- a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/repository/AgentRepository.java +++ b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/repository/AgentRepository.java @@ -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();