-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MetadataWrapper: remove plugin annotations
All ReaderFilters define the Metadata they are bound to in their constructor. There is really no reason to be trying to dynamically discover these. The Filter should be the unit of discovery, with any accessory classes bound by their use. This also removes the messy @attr use in several MetadataWrapper implementations. The AbstractReaderFilter#setParent method has been updated to use the known metadata class (if available) to create a new MetadataWrapper and wrap the parent metadata. This logic is significantly simplified.
- Loading branch information
Showing
5 changed files
with
47 additions
and
89 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
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