Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 0aa9c37b authored by alperozturk's avatar alperozturk
Browse files

use JvmOverloads

parent 635e1127
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class StoreMetadataV2RemoteOperation @JvmOverloads constructor(
    private val encryptedMetadataJson: String,
    private val token: String,
    private val signature: String,
    var sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
    private val sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
) : RemoteOperation<String>() {

    /**
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import org.apache.commons.httpclient.methods.DeleteMethod
class UnlockFileV1RemoteOperation @JvmOverloads constructor(
    private val localId: Long,
    private val token: String,
    var sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
    private val sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
) : RemoteOperation<Void>() {

    @Deprecated("Deprecated in Java")
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ class UpdateMetadataV2RemoteOperation @JvmOverloads constructor(
    encryptedMetadataJson: String,
    private val token: String,
    private val signature: String,
    var sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
    private val sessionTimeOut: SessionTimeOut = defaultSessionTimeOut
) : RemoteOperation<String>() {
    private val encryptedMetadataJson: String = URLEncoder.encode(encryptedMetadataJson)