-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unsupported conversions can be explicitly added to prevent an inherit…
…ed type (like Number) from allowing all derivate types to become supported conversions. For example, Long is a Number and Long can convert to/from a Date. However, Byte is a Number, but it should not convert to/from a Date. By adding an explicit UNSUPPORTED conversion, it will prevent it. Furthermore, the allSupported/getSupported conversions will filter these out so they are not adverstised as available conversions.
- Loading branch information
Showing
3 changed files
with
92 additions
and
26 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
Oops, something went wrong.