appc-dg-common sonar fixes part 2
[appc.git] / appc-dg / appc-dg-shared / appc-dg-common / src / main / java / org / onap / appc / dg / common / utils / JAXBUtil.java
index 38012b1..7f3cf39 100644 (file)
@@ -36,6 +36,8 @@ import java.io.InputStreamReader;
 
 public class JAXBUtil {
 
+    private JAXBUtil() {}
+
     public static <T> T toObject(String xml, Class<T> type) throws JAXBException {
 
         //create JAXB context
@@ -48,6 +50,5 @@ public class JAXBUtil {
         BufferedReader reader = new BufferedReader(new InputStreamReader(xmlInputStream));
 
         return type.cast(unmarshaller.unmarshal(reader));
-
     }
 }