Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–19 unchanged (19 lines)
20 const val NOTIFICATION_CHANNEL_FILE_OBSERVER: String = "NOTIFICATION_CHANNEL_FILE_OBSERVER"
21 const val NOTIFICATION_CHANNEL_PUSH: String = "NOTIFICATION_CHANNEL_PUSH"
22 const val NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS: String = "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
23 const val NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS: String = "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
24 const val NOTIFICATION_CHANNEL_CONTENT_OBSERVER: String = "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
25
26 @JvmStatic
27 fun createUploadNotificationTag(remotePath: String?, localPath: String): String = remotePath + localPath
28}
29

After

…lines 1–18 unchanged (18 lines)
19 const val NOTIFICATION_CHANNEL_FILE_SYNC: String = "NOTIFICATION_CHANNEL_FILE_SYNC"
20 const val NOTIFICATION_CHANNEL_FILE_OBSERVER: String = "NOTIFICATION_CHANNEL_FILE_OBSERVER"
21 const val NOTIFICATION_CHANNEL_PUSH: String = "NOTIFICATION_CHANNEL_PUSH"
22 const val NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS: String = "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
23 const val NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS: String = "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
24 const val NOTIFICATION_CHANNEL_CONTENT_OBSERVER: String = "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
25}
26

Before

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "notifications"
object_declaration
object "object"
identifier "NotificationUtils"
class_body
{ "{"
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_GENERAL"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_GENERAL"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_DOWNLOAD"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_DOWNLOAD"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_UPLOAD"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_UPLOAD"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_MEDIA"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_MEDIA"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_FILE_SYNC"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_FILE_SYNC"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_FILE_OBSERVER"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_FILE_OBSERVER"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_PUSH"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_PUSH"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
" "\""
function_declaration
modifiers
annotation
@ "@"
user_type
identifier "JvmStatic"
fun "fun"
identifier "createUploadNotificationTag"
function_value_parameters
( "("
parameter
identifier "remotePath"
: ":"
nullable_type
user_type
identifier "String"
? "?"
, ","
parameter
identifier "localPath"
: ":"
user_type
identifier "String"
) ")"
: ":"
user_type
identifier "String"
function_body
= "="
binary_expression
identifier "remotePath"
+ "+"
identifier "localPath"
} "}"

After

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "notifications"
object_declaration
object "object"
identifier "NotificationUtils"
class_body
{ "{"
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_GENERAL"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_GENERAL"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_DOWNLOAD"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_DOWNLOAD"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_UPLOAD"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_UPLOAD"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_MEDIA"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_MEDIA"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_FILE_SYNC"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_FILE_SYNC"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_FILE_OBSERVER"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_FILE_OBSERVER"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_PUSH"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_PUSH"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_BACKGROUND_OPERATIONS"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_OFFLINE_OPERATIONS"
" "\""
property_declaration
modifiers
property_modifier
const "const"
val "val"
variable_declaration
identifier "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
string_content "NOTIFICATION_CHANNEL_CONTENT_OBSERVER"
" "\""
} "}"