From a9f7789bd13adb75296e427fb3463b955e391b77 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 23 Oct 2024 15:21:29 +0100 Subject: [PATCH] Format --- .../main/java/de/cyface/synchronization/ErrorHandler.java | 5 +---- .../src/main/kotlin/de/cyface/synchronization/Constants.kt | 5 +---- .../src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java b/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java index dc993da82..be8b1d8bd 100644 --- a/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java +++ b/synchronization/src/main/java/de/cyface/synchronization/ErrorHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2023 Cyface GmbH + * Copyright 2018-2024 Cyface GmbH * * This file is part of the Cyface SDK for Android. * @@ -41,8 +41,6 @@ * support time for all involved. * * @author Armin Schnabel - * @version 2.2.0 - * @since 2.2.0 */ public class ErrorHandler extends BroadcastReceiver { @@ -121,7 +119,6 @@ public void onReceive(final Context context, final Intent intent) { Validate.notNull(errorCode); String errorMessage; switch (errorCode) { - case UNAUTHORIZED: errorMessage = context .getString(de.cyface.synchronization.R.string.error_message_credentials_incorrect); diff --git a/synchronization/src/main/kotlin/de/cyface/synchronization/Constants.kt b/synchronization/src/main/kotlin/de/cyface/synchronization/Constants.kt index c6471e14c..608ba6005 100644 --- a/synchronization/src/main/kotlin/de/cyface/synchronization/Constants.kt +++ b/synchronization/src/main/kotlin/de/cyface/synchronization/Constants.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2023 Cyface GmbH + * Copyright 2017-2024 Cyface GmbH * * This file is part of the Cyface SDK for Android. * @@ -23,13 +23,10 @@ package de.cyface.synchronization * * @author Klemens Muthmann * @author Armin Schnabel - * @version 1.3.1 - * @since 2.0.0 */ object Constants { /** * Tag used to identify Logcat messages issued by instances of this package. */ const val TAG = "de.cyface.sync" - } \ No newline at end of file diff --git a/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt b/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt index 87398a2a2..6faf5c499 100644 --- a/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt +++ b/synchronization/src/main/kotlin/de/cyface/synchronization/SyncAdapter.kt @@ -303,7 +303,7 @@ class SyncAdapter private constructor( for (attachmentIndex in syncableAttachments.indices) { val attachment = syncableAttachments[attachmentIndex] - Log.d(TAG, "Preparing to upload attachment (id ${attachment.id}).") + Log.d(TAG, "Preparing to upload attachment (id ${attachment.id} path ${attachment.path}).") validateFileFormat(attachment) var transferTempFile: File? = null