Why couldn't kotlin annotations work the same way ...
# announcements
c
Why couldn't kotlin annotations work the same way as Java in relation to array type parameters? Kotlin (eek):
@RequestMapping(method = arrayOf(RequestMethod.POST), value = "", consumes = arrayOf(MediaType.APPLICATION_JSON_VALUE), produces = arrayOf(MediaType.APPLICATION_XML_VALUE))
Java:
@RequestMapping(method = RequestMethod.POST, value = "", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_XML_VALUE)