79078979

Date: 2024-10-11 16:06:44
Score: 0.5
Natty:
Report link

OK, I should have continued to read the blog post because that was expected. The reason it was still market as unstable was that HighlightedSnacks was accepting a List type as parameter which is inherently unstable. The solution is to use as parameter ImmutableList or wrap the set into a data class annotated with @Immutable and use that.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vgandroid