ktlint: A comment in a 'value_argument_list' is only allowed when placed on a separate line

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-12-05 16:29:33 +01:00
parent f2da9b93de
commit ae9c092997
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -37,14 +37,17 @@ class DateUtils(val context: Context) {
/* date formatter in local timezone and locale */
private var format: DateFormat = DateFormat.getDateTimeInstance(
DateFormat.DEFAULT, // dateStyle
DateFormat.SHORT, // timeStyle
// dateStyle
DateFormat.DEFAULT,
// timeStyle
DateFormat.SHORT,
context.resources.configuration.locales[0]
)
/* date formatter in local timezone and locale */
private var formatTime: DateFormat = DateFormat.getTimeInstance(
DateFormat.SHORT, // timeStyle
// timeStyle
DateFormat.SHORT,
context.resources.configuration.locales[0]
)