Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit c07f47a

Browse files
author
Eduard Ablekimov
committed
Remove unnecessary constructor keywords
1 parent 97cb9bb commit c07f47a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

firebase-fetcher/src/main/java/com/ackee/versionupdatehandler/FirebaseVersionFetcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import kotlinx.coroutines.tasks.await
99
/**
1010
* Class that fetches version configuration from Firebase Remote.
1111
*/
12-
class FirebaseVersionFetcher constructor(
12+
class FirebaseVersionFetcher(
1313
private val cacheExpiration: Int = 3600,
1414
private val minimalAttributeName: String = MINIMAL_VERSION,
1515
private val currentAttributeName: String = CURRENT_VERSION

rest-fetcher/src/main/java/com/ackee/versionupdatehandler/RestVersionFetcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import retrofit2.http.GET
2222
* @author David Bilik [[email protected]]
2323
* @since 06/02/2017
2424
*/
25-
class RestVersionFetcher constructor(
25+
class RestVersionFetcher(
2626
private val baseUrl: String,
2727
private val currentAttributeName: String = CURRENT_VERSION,
2828
private val minimalAttributeName: String = MINIMAL_VERSION

0 commit comments

Comments
 (0)