forked from apache/zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZOOKEEPER-2914: compiler warning using java 9
Replaced deprecated methods (Class.newInstance()) and removed redundant cast Author: Andor Molnar <[email protected]> Reviewers: Patrick Hunt <[email protected]> Closes apache#392 from dolphy17/ZOOKEEPER-2914 and squashes the following commits: ab7bd5e [Andor Molnar] Reverted explicit case, because java 1.7 requires it to compile b2d400b [Andor Molnar] Replaced Class.newInstance() methods (deprecated in Java 9) with Constructor.newInstance() Change-Id: Iae00f0874b69d425f35b96775d6ac9634b3ade73
- Loading branch information
Showing
4 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters