You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/21 13:22:31 UTC

[GitHub] [flink] AHeise commented on pull request #19145: [hotfix][streaming] fix visibility of the instance variable and fix some typos

AHeise commented on pull request #19145:
URL: https://github.com/apache/flink/pull/19145#issuecomment-1073891162


   
   > Yeah, I had the same thought. But after I checked the code, it is defined as package-private but used as protected. In this case, it even enlarge the visibility scope, because classes within this package but do not inherit `StreamTask` are able to access it.
   
   In Java, `protected` implies `package-private`, so it's strictly larger scope.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org