sruehl commented on a change in pull request #8: cleanup warnings in plc4j-api, 
plc4j-core, dummy-driver
URL: https://github.com/apache/incubator-plc4x/pull/8#discussion_r170833183
 
 

 ##########
 File path: 
plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/specific/TypeSafePlcWriteRequest.java
 ##########
 @@ -71,7 +71,7 @@ public void addItem(WriteRequestItem<?> writeRequestItem) {
 
     @SuppressWarnings("unchecked")
     public List<WriteRequestItem<T>> getCheckedRequestItems() {
-        return (List) getRequestItems();
+        return (List<WriteRequestItem<T>>) ((Object) getRequestItems());
 
 Review comment:
   strange cast see other comment

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to