GitHub user zentol opened a pull request: https://github.com/apache/flink/pull/5147
[FLINK-8241][tests] Remove ResultPartitionWriter-related "@PrepareForTest" annotations ## What is the purpose of the change This is a cleanup PR that removes usages of powermocks `@PrepareForTest` annotation for the {{ResultPartitionWriter}} class. These are no longer necessary with the latest refactorings. ## Brief change log * remove all instances where the {{ResultPartitionWriter}} was used for {{@PrepareForTest}} annotations * adjusted (now) outdated javadocs ## Verifying this change Run on travis. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zentol/flink 8241 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5147.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5147 ---- commit ec8f725980539457f92ca0944559392b727084d9 Author: zentol <ches...@apache.org> Date: 2017-12-11T14:31:57Z [FLINK-8241][tests] Remove ResultPartitionWriter-related "@PrepareForTest" annotations ---- ---