aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/pacien/tincapp/intent/Actions.kt
diff options
context:
space:
mode:
authorpacien2020-09-08 20:45:39 +0200
committerpacien2020-09-08 20:52:28 +0200
commitb06679f628eeb5b6e7f917ee79024e4808ca8303 (patch)
tree9ac58cec7996e47534e70d24b406f1b48ad6d626 /app/src/main/java/org/pacien/tincapp/intent/Actions.kt
parent8e2e04233a4bbb00cd780830769d5237f085dd02 (diff)
downloadtincapp-b06679f628eeb5b6e7f917ee79024e4808ca8303.tar.gz
treewide: fix code style issues reported by linter
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/intent/Actions.kt')
-rw-r--r--app/src/main/java/org/pacien/tincapp/intent/Actions.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/intent/Actions.kt b/app/src/main/java/org/pacien/tincapp/intent/Actions.kt
index 85cfd29..62c1175 100644
--- a/app/src/main/java/org/pacien/tincapp/intent/Actions.kt
+++ b/app/src/main/java/org/pacien/tincapp/intent/Actions.kt
@@ -1,6 +1,6 @@
1/* 1/*
2 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 2 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon
3 * Copyright (C) 2017-2018 Pacien TRAN-GIRARD 3 * Copyright (C) 2017-2020 Pacien TRAN-GIRARD
4 * 4 *
5 * This program is free software: you can redistribute it and/or modify 5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
@@ -35,5 +35,5 @@ object Actions {
35 const val TINC_SCHEME = "tinc" 35 const val TINC_SCHEME = "tinc"
36 36
37 fun buildNetworkUri(netName: String, passphrase: String? = null): Uri = 37 fun buildNetworkUri(netName: String, passphrase: String? = null): Uri =
38 Uri.Builder().scheme(Actions.TINC_SCHEME).opaquePart(netName).fragment(passphrase).build() 38 Uri.Builder().scheme(TINC_SCHEME).opaquePart(netName).fragment(passphrase).build()
39} 39}