https://kotlinlang.org logo
a

apatrida

10/22/2015, 9:59 PM
I wanted to use private data classes for items returned via my HTTP controller, but its methods are public and can’t return private or internal objects. So I made them internal, but can’t hide the private data classes, so they have to be internal. but then one test needs them, so they all become public again.