Skip to content

Commit ecd3204

Browse files
committed
Add @JvmField for all constants
1 parent 592fbbb commit ecd3204

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

app/src/main/java/ru/evotor/integrations/users/GrantsTable.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package ru.evotor.integrations.users
33
import android.net.Uri
44

55
object GrantsTable {
6-
val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "grants")
7-
val URI_GRANTS_OF_AUTHENTICATED_USER = Uri.withAppendedPath(URI, "authenticated")
6+
@JvmField val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "grants")
7+
@JvmField val URI_GRANTS_OF_AUTHENTICATED_USER = Uri.withAppendedPath(URI, "authenticated")
88

9-
val ROW_ROLE_UUID = "ROLE_UUID"
10-
val ROW_TITLE = "TITLE"
9+
@JvmField val ROW_ROLE_UUID = "ROLE_UUID"
10+
@JvmField val ROW_TITLE = "TITLE"
1111
}

app/src/main/java/ru/evotor/integrations/users/RolesTable.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package ru.evotor.integrations.users
33
import android.net.Uri
44

55
object RolesTable {
6-
val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "roles")
6+
@JvmField val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "roles")
77

8-
val ROW_UUID = "UUID"
9-
val ROW_TITLE = "TITLE"
8+
@JvmField val ROW_UUID = "UUID"
9+
@JvmField val ROW_TITLE = "TITLE"
1010
}

app/src/main/java/ru/evotor/integrations/users/UsersContentProviderContract.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ package ru.evotor.integrations.users
33
import android.net.Uri
44

55
object UsersContentProviderContract {
6-
val BASE_URI = Uri.parse("content://ru.evotor.users")
6+
@JvmField val BASE_URI = Uri.parse("content://ru.evotor.users")
77
}

app/src/main/java/ru/evotor/integrations/users/UsersTable.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ package ru.evotor.integrations.users
33
import android.net.Uri
44

55
object UsersTable {
6-
val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "users")
7-
val URI_AUTHENTICATED = Uri.withAppendedPath(URI, "authenticated")
6+
@JvmField val URI = Uri.withAppendedPath(UsersContentProviderContract.BASE_URI, "users")
7+
@JvmField val URI_AUTHENTICATED = Uri.withAppendedPath(URI, "authenticated")
88

9-
val ROW_USER_UUID = "USER_UUID"
10-
val ROW_USER_SECOND_NAME = "USER_SECOND_NAME"
11-
val ROW_USER_FIRST_NAME = "USER_FIRST_NAME"
12-
val ROW_USER_PHONE = "USER_PHONE"
13-
val ROW_USER_PIN = "USER_PIN"
14-
val ROW_ROLE_UUID = "ROLE_UUID"
15-
val ROW_ROLE_TITLE = "ROLE_TITLE"
9+
@JvmField val ROW_USER_UUID = "USER_UUID"
10+
@JvmField val ROW_USER_SECOND_NAME = "USER_SECOND_NAME"
11+
@JvmField val ROW_USER_FIRST_NAME = "USER_FIRST_NAME"
12+
@JvmField val ROW_USER_PHONE = "USER_PHONE"
13+
@JvmField val ROW_USER_PIN = "USER_PIN"
14+
@JvmField val ROW_ROLE_UUID = "ROLE_UUID"
15+
@JvmField val ROW_ROLE_TITLE = "ROLE_TITLE"
1616
}

0 commit comments

Comments
 (0)