This is an automated email from the ASF dual-hosted git repository.

keinmark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new 8261951  remove unnecessary locks
8261951 is described below

commit 82619513d9abd41b8fc232c6637dcaa685fee911
Author: Mark Keinhörster <[email protected]>
AuthorDate: Sun Jan 14 13:33:56 2018 +0100

    remove unnecessary locks
---
 .../java/org/apache/plc4x/java/api/messages/items/RequestItem.java    | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/RequestItem.java
 
b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/RequestItem.java
index d9266e5..fe6b178 100644
--- 
a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/RequestItem.java
+++ 
b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/RequestItem.java
@@ -30,10 +30,6 @@ public abstract class RequestItem<DATA_TYPE> {
 
     private final Address address;
 
-    private final Lock lock = new ReentrantLock();
-
-    private final Condition responseSet = lock.newCondition();
-
     public RequestItem(Class<DATA_TYPE> datatype, Address address) {
         this.datatype = datatype;
         this.address = address;

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to