Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Replace lateinit binding of dependencies with constructor-injection #1292

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 16, 2016

  1. Replace lateinit binding of dependencies with constructor-injection

    It is considered good practice in Spring applications to use
    constructor injection whenever possible (the main reasons are better
    readability and testability of classes).
    Moreover, starting with 4.3.RC1 version of Spring, the @Autowired
    annotation is no longer needed when a class has a single constructor.
    Leveraging this fact along with Kotlin's very concise constructor
    syntax yields some nice readability improvements
    geoand committed Sep 16, 2016
    Configuration menu
    Copy the full SHA
    c1bc191 View commit details
    Browse the repository at this point in the history