Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15660

Remove KClass based Kotlin extensions and keep only reified type parameters ones

    XMLWordPrintable

    Details

    • Type: Pruning
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0 RC2
    • Component/s: None
    • Labels:
    • Last commented by a User:
      true

      Description

      After more thoughts and discussion, I think this is better to keep only the reified type parameter extensions and to remove KClass based variants.

      These KClass variants add too much overloaded options, can't leverage type system to infer the type, are not super Kotlin-ish and can be replaced by the Class original java method using Foo::class.java.

        Attachments

          Activity

            People

            Assignee:
            sdeleuze S├ębastien Deleuze
            Reporter:
            sdeleuze S├ębastien Deleuze
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 23 weeks, 5 days ago