Skip to content

Commit 49a70da

Browse files
committed
remove lazy
1 parent c506641 commit 49a70da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kotlin-jira-client/kotlin-jira-client-sdk/src/main/kotlin/com/linkedplanet/kotlinjiraclient/sdk/SdkJiraCommentOperator.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ import com.linkedplanet.kotlinjiraclient.sdk.util.*
3434

3535
object SdkJiraCommentOperator : JiraCommentOperator {
3636

37-
private val issueService: IssueService by lazy { ComponentAccessor.getIssueService() }
38-
private val commentService : CommentService by lazy { ComponentAccessor.getComponent(CommentService::class.java) }
39-
private val jiraAuthenticationContext by lazy { ComponentAccessor.getJiraAuthenticationContext() }
37+
private val issueService: IssueService = ComponentAccessor.getIssueService()
38+
private val commentService : CommentService = ComponentAccessor.getComponent(CommentService::class.java)
39+
private val jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext()
4040
private fun user() = jiraAuthenticationContext.loggedInUser
4141
private val dispatchEvent: Boolean = true // default dispatch behaviour for this operator
4242

0 commit comments

Comments
 (0)