-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typify GroupRequest and SimpleFactory classes
For the GroupRequest class, we store the list of edit-parts as a List<? extends EditPart>, in order to support casting it to e.g. a List<CustomEditPart>. For the SimpleFactory class, we replace the deprecated Class.newInstance() call with Constructor.newInstance(), to keep the compile-time exception checking (see JavaDoc for more details).
- Loading branch information
Showing
2 changed files
with
13 additions
and
12 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