Minor bug fixes#342
Conversation
- Fix incorrect "compare" method in the TimeZoneDefinition class - Fix NPE in the AttachmentCollection class - Fix incorrect casting in the ComplexPropertyDefinitionBase class
|
Hi @vbauer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution! TTYL, AZPRBOT; |
|
👍 |
There was a problem hiding this comment.
can you have some words on why you removed that block?
There was a problem hiding this comment.
The next line was:
if (!((value instanceof Object) || (value instanceof ISearchStringProvider)))
Any not-null object is instance of Object class, so this expressions is always "true", it means that full expressions is always "false".
There was a problem hiding this comment.
so the ISearchStringProvider check was a bug?
There was a problem hiding this comment.
Yep... the first part of this expression is always "true".
|
JFYI: I've just removed unnecessary "instanceof" operator in the last commit. |
Remove unnecessary assertions, Simplify constant expressions. minor bug fixes
|
@vbauer thanks for your contribution |
No description provided.