Remove yang-test
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / threadpool / TestingFixedThreadPoolModule.java
index a6c9b59605b35f7bbbaf9c9c37cd6c919cfbae6e..8ac0c322231b8d29ed9213b4090280e9ba07d366 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -35,7 +35,6 @@ public class TestingFixedThreadPoolModule implements
         this.oldInstance = oldInstance;
     }
 
-
     // attributes
     @Override
     public void setThreadCount(final int threadCount) {
@@ -75,6 +74,7 @@ public class TestingFixedThreadPoolModule implements
     }
 
     @Override
+    @SuppressWarnings("IllegalCatch")
     public Closeable getInstance() {
         if (instance == null) {
             if (isReusable() && triggerNewInstanceCreation == false) { // simulate