You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2025/01/16 00:18:40 UTC
[I] [Improvement] Remove this unnecessary null checks as "instanceof" returns false for nulls. [gravitino]
justinmclean opened a new issue, #6272:
URL: https://github.com/apache/gravitino/issues/6272
### What would you like to be improved?
This occcurs in:
CatalogCredentialContext.java - equals
CredentialCacheKey.java - equals
PathBasedCredentialContext.java - equals
IcebergHiveCachedClientPool.java - equals
### How should we improve?
Change for example:
```
if (o == null || !(o instanceof CatalogCredentialContext)) {
```
to:
```
if (!(o instanceof CatalogCredentialContext)) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Remove the unnecessary null checks as "instanceof" returns false for nulls [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #6272: [Improvement] Remove the unnecessary null checks as "instanceof" returns false for nulls
URL: https://github.com/apache/gravitino/issues/6272
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Remove the unnecessary null checks as "instanceof" returns false for nulls [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #6272:
URL: https://github.com/apache/gravitino/issues/6272#issuecomment-2594302283
All yours, if you need any help just ask.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Remove this unnecessary null checks as "instanceof" returns false for nulls. [gravitino]
Posted by "rud9192 (via GitHub)" <gi...@apache.org>.
rud9192 commented on issue #6272:
URL: https://github.com/apache/gravitino/issues/6272#issuecomment-2594300191
I would like to be signed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org