Code Clean Up
[bgpcep.git] / concepts / src / main / java / org / opendaylight / protocol / concepts / AbstractRegistration.java
index 7a34fdac2f71f56dc5901e0bc3fe1036a14175ce..9f41a110e9dd8e556378903ed466b6868a12fc6e 100644 (file)
@@ -27,8 +27,8 @@ public abstract class AbstractRegistration implements AutoCloseable {
 
     @Override
     public final synchronized void close() {
-        if (!closed) {
-            closed = true;
+        if (!this.closed) {
+            this.closed = true;
             removeRegistration();
         }
     }