瀏覽代碼

Added suppresswarnings to setJaxbContext

I don't think we could do any better here, without unnecessarily reorganizing
the message model classes.
Nagy Attila Gabor 7 年之前
父節點
當前提交
4fbe208e6b

+ 1 - 1
RISE-V2G-Shared/src/main/java/com/v2gclarity/risev2g/shared/messageHandling/MessageHandler.java

@@ -301,7 +301,7 @@ public final class MessageHandler {
 		this.jaxbContext = jaxbContext;
 	}
 	
-	public synchronized void setJaxbContext(Class... classesToBeBound) {
+	public synchronized void setJaxbContext(@SuppressWarnings("rawtypes") Class... classesToBeBound) {
 		try {
 			setJaxbContext(JAXBContext.newInstance(classesToBeBound));