-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x] work on filters package #966
[5.x] work on filters package #966
Conversation
974bb8e
to
fc033fb
Compare
fc033fb
to
b78ecbb
Compare
b78ecbb
to
5e3b884
Compare
b75477f
to
6eb0866
Compare
6eb0866
to
ba53441
Compare
} | ||
|
||
// try by id next | ||
int id = ((Short) oid).intValue(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should check that oid instanceof Short
before casting here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already checked that it's a Number, I think any Number type can cast to a Short without an exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, maybe I am overthinking it here, but could it happen that a filter does have a name
but no provider for that name? then you reach this code without having checked if the oid instanceof Number
cdm/core/src/main/java/ucar/nc2/internal/iosp/hdf5/H5tiledLayoutBB.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Tara Drwenski <[email protected]>
…utBB.java Co-authored-by: Tara Drwenski <[email protected]>
Description of Changes
PR Checklist
(e.g. "[5.x]: This is my PR title")
(these labels start with "port: ")
until ready for review