Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Oct 23, 2024
1 parent 148c790 commit a9f7789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018-2023 Cyface GmbH
* Copyright 2018-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand Down Expand Up @@ -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 {

Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2023 Cyface GmbH
* Copyright 2017-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand All @@ -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"

}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9f7789

Please sign in to comment.