You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/05/21 09:36:33 UTC

[GitHub] [james-project] Arsnael edited a comment on pull request #446: JAMES-3516 Add threadId property to MessageResult POJO, MailboxMessage POJO

Arsnael edited a comment on pull request #446:
URL: https://github.com/apache/james-project/pull/446#issuecomment-845822704


   Your ThreadId is not equal to MessageId here. You just "implement" the MessageId interface in a complete different way than the mem and Cassandra implems. I'm pretty sure if you write some quick tests and try to access it with your cast, it breaks? 
   
   I don't think ThreadId should be implemented this way... Not sure what would be the best approach here. Maybe I would have just duplicated the MessageId code and renamed it ThreadId? And add a method to make ThreadId and MessageId conversions... but I'm not sure either...
   
   @chibenwa have a better idea?


-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org