You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/14 07:41:24 UTC
[GitHub] [camel-k-runtime] squakez opened a new issue #658: SourceType should not be null
squakez opened a new issue #658:
URL: https://github.com/apache/camel-k-runtime/issues/658
As highlighted in [this PR](https://github.com/apache/camel-k-runtime/pull/648#discussion_r612501268), we may have some `null` in `SourceType`, probably leaked from the same Camel K operator which does not set the value for all sources. We should investigate where it happens and make sure all `Source`s have proper type value set.
We can also improve the same [`SourceType` enum](https://github.com/apache/camel-k-runtime/blob/master/camel-k-core/api/src/main/java/org/apache/camel/k/SourceType.java) to have a more reliable sorting strategy than the one based on [enum's ordinal](https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html#ordinal()).
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k-runtime] lburgazzoli closed issue #658: SourceType should not be null
Posted by GitBox <gi...@apache.org>.
lburgazzoli closed issue #658:
URL: https://github.com/apache/camel-k-runtime/issues/658
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org