Fixed the Policy API issues and Bugfixes
[policy/engine.git] / ECOMP-PAP-REST / src / main / java / org / openecomp / policy / pap / xacml / rest / handler / DeleteHandler.java
index ff454ad..88548ff 100644 (file)
@@ -308,7 +308,9 @@ public class DeleteHandler {
                                        return true;
                                }
                        }finally{
-                               st.close();
+                               if(st != null){
+                                       st.close();
+                               }       
                        }
                }
                return false;