From 9e354ac8fd35f9fe5106e48b62add71eac932b77 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Wed, 3 Apr 2024 18:50:35 +0200 Subject: [PATCH] Add SPDX header Signed-off-by: Andy Scherzinger --- .../android/files/FileMenuFilterIT.kt | 21 +++----------- .../com/nextcloud/client/device/DeviceInfo.kt | 21 ++------------ .../nextcloud/client/device/DeviceModule.kt | 26 ++++------------- .../client/device/PowerManagementService.kt | 21 ++------------ .../device/PowerManagementServiceImpl.kt | 21 ++------------ .../client/errorhandling/ExceptionHandler.kt | 29 +++++-------------- .../client/integrations/deck/DeckApi.kt | 19 ++---------- .../client/integrations/deck/DeckApiImpl.kt | 19 ++---------- .../nextcloud/client/jobs/NotificationWork.kt | 26 ++++------------- .../authentication/AccountAuthenticator.java | 27 +++++------------ .../authentication/AuthenticatorAsyncTask.kt | 23 ++++----------- .../android/authentication/PassCodeManager.kt | 19 ++---------- .../android/datamodel/DecryptedPushMessage.kt | 20 ++----------- .../datamodel/SignatureVerification.kt | 19 ++---------- .../owncloud/android/datamodel/Template.kt | 21 +++----------- .../owncloud/android/db/OCUploadComparator.kt | 18 ++---------- .../android/ui/activity/FilePickerActivity.kt | 21 +++----------- .../ui/activity/RichDocumentsEditorWebView.kt | 25 ++++------------ .../ui/adapter/OCShareToOCFileConverter.kt | 22 +++----------- .../ui/dialog/ChooseTemplateDialogFragment.kt | 28 ++++-------------- .../dialog/StoragePermissionDialogFragment.kt | 21 +++----------- .../android/ui/events/CommentsEvent.kt | 21 +++----------- .../android/ui/events/FileLockEvent.kt | 21 +++----------- .../ui/fragment/OCFileListSearchAsyncTask.kt | 21 +++----------- .../android/ui/fragment/SharedListFragment.kt | 21 +++----------- .../ui/preview/PreviewBitmapActivity.kt | 22 +++----------- .../ui/preview/pdf/PreviewPdfAdapter.kt | 22 +++----------- .../ui/preview/pdf/PreviewPdfFragment.kt | 22 +++----------- .../ui/preview/pdf/PreviewPdfViewModel.kt | 22 +++----------- .../ui/trashbin/RemoteTrashbinRepository.kt | 28 ++++-------------- .../android/ui/trashbin/TrashbinActivity.kt | 25 ++++------------ .../android/ui/trashbin/TrashbinContract.kt | 21 +++----------- .../android/ui/trashbin/TrashbinPresenter.kt | 21 +++----------- .../android/ui/trashbin/TrashbinRepository.kt | 21 +++----------- .../device/TestPowerManagementService.kt | 21 ++------------ .../adapter/OCShareToOCFileConverterTest.kt | 22 +++----------- .../android/ui/db/OCUploadComparatorTest.kt | 18 ++---------- 37 files changed, 155 insertions(+), 661 deletions(-) diff --git a/app/src/androidTest/java/com/owncloud/android/files/FileMenuFilterIT.kt b/app/src/androidTest/java/com/owncloud/android/files/FileMenuFilterIT.kt index b65fb7c8e8b3..d8e6cfa14887 100644 --- a/app/src/androidTest/java/com/owncloud/android/files/FileMenuFilterIT.kt +++ b/app/src/androidTest/java/com/owncloud/android/files/FileMenuFilterIT.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.files diff --git a/app/src/main/java/com/nextcloud/client/device/DeviceInfo.kt b/app/src/main/java/com/nextcloud/client/device/DeviceInfo.kt index a67046a6ee07..4351733d6666 100644 --- a/app/src/main/java/com/nextcloud/client/device/DeviceInfo.kt +++ b/app/src/main/java/com/nextcloud/client/device/DeviceInfo.kt @@ -1,24 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * - * Copyright (C) 2019 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.nextcloud.client.device import android.content.Context diff --git a/app/src/main/java/com/nextcloud/client/device/DeviceModule.kt b/app/src/main/java/com/nextcloud/client/device/DeviceModule.kt index 8fe8fe9f0ce2..b8c244e0b596 100644 --- a/app/src/main/java/com/nextcloud/client/device/DeviceModule.kt +++ b/app/src/main/java/com/nextcloud/client/device/DeviceModule.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * @author Tobias Kaminsky - * - * Copyright (C) 2020 Chris Narkiewicz - * Copyright (C) 2019 Tobias Kaminsky - * Copyright (C) 2019 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.nextcloud.client.device import android.content.Context diff --git a/app/src/main/java/com/nextcloud/client/device/PowerManagementService.kt b/app/src/main/java/com/nextcloud/client/device/PowerManagementService.kt index 60f0ac6410e3..663df6bd8737 100644 --- a/app/src/main/java/com/nextcloud/client/device/PowerManagementService.kt +++ b/app/src/main/java/com/nextcloud/client/device/PowerManagementService.kt @@ -1,24 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.nextcloud.client.device /** diff --git a/app/src/main/java/com/nextcloud/client/device/PowerManagementServiceImpl.kt b/app/src/main/java/com/nextcloud/client/device/PowerManagementServiceImpl.kt index 8f9c5144e04c..3a060cf2b4b7 100644 --- a/app/src/main/java/com/nextcloud/client/device/PowerManagementServiceImpl.kt +++ b/app/src/main/java/com/nextcloud/client/device/PowerManagementServiceImpl.kt @@ -1,24 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.nextcloud.client.device import android.content.Context diff --git a/app/src/main/java/com/nextcloud/client/errorhandling/ExceptionHandler.kt b/app/src/main/java/com/nextcloud/client/errorhandling/ExceptionHandler.kt index 3c09775be47e..5a9ab7f17408 100644 --- a/app/src/main/java/com/nextcloud/client/errorhandling/ExceptionHandler.kt +++ b/app/src/main/java/com/nextcloud/client/errorhandling/ExceptionHandler.kt @@ -1,27 +1,12 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author LukeOwncloud - * @author AndyScherzinger - * @author Tobias Kaminsky - * @author Chris Narkiewicz - * - * Copyright (C) 2016 ownCloud Inc. - * Copyright (C) 2016 LukeOwncloud - * Copyright (C) 2019 Andy Scherzinger - * Copyright (C) 2019 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.client.errorhandling diff --git a/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApi.kt b/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApi.kt index 7ab3f411dd36..1880ce8c5806 100644 --- a/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApi.kt +++ b/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApi.kt @@ -1,21 +1,8 @@ /* - * Nextcloud application + * Nextcloud - Android Client * - * @author Stefan Niedermann - * Copyright (C) 2020 Stefan Niedermann - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Stefan Niedermann + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.client.integrations.deck diff --git a/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.kt b/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.kt index bf1faa4e63f1..2b9404aadecb 100644 --- a/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.kt +++ b/app/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.kt @@ -1,21 +1,8 @@ /* - * Nextcloud application + * Nextcloud - Android Client * - * @author Stefan Niedermann - * Copyright (C) 2020 Stefan Niedermann - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Stefan Niedermann + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.client.integrations.deck diff --git a/app/src/main/java/com/nextcloud/client/jobs/NotificationWork.kt b/app/src/main/java/com/nextcloud/client/jobs/NotificationWork.kt index 0e29f5e99cc4..04da976fbdde 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/NotificationWork.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/NotificationWork.kt @@ -1,24 +1,10 @@ /* -* Nextcloud application -* -* @author Mario Danic -* @author Chris Narkiewicz -* Copyright (C) 2017-2018 Mario Danic -* Copyright (C) 2020 Chris Narkiewicz -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -*/ + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2017-2018 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later + */ package com.nextcloud.client.jobs import android.accounts.AuthenticatorException diff --git a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticator.java b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticator.java index 8cd5d4afa207..203a1a860d3b 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticator.java +++ b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticator.java @@ -1,24 +1,14 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2017 Mario Danic + * SPDX-FileCopyrightText: 2016 AndyScherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2013 David A. Velasco + * SPDX-FileCopyrightText: 2012 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.authentication; import android.accounts.AbstractAccountAuthenticator; @@ -37,7 +27,6 @@ import com.owncloud.android.lib.common.accounts.AccountTypeUtils; import com.owncloud.android.lib.common.utils.Log_OC; - /** * Authenticator for ownCloud accounts. * diff --git a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt index fa7e3032067d..53bc3b2693dd 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt +++ b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt @@ -1,21 +1,11 @@ /* - * ownCloud Android client application - * - * @author masensio on 09/02/2015. - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Nextcloud GmbH + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ @file:Suppress("DEPRECATION") @@ -37,7 +27,6 @@ import java.lang.ref.WeakReference /** * Async Task to verify the credentials of a user */ - class AuthenticatorAsyncTask(activity: Activity) : AsyncTask?>() { private val mWeakContext: WeakReference private val mListener: WeakReference diff --git a/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt b/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt index 062e6acb4f6c..6bfc0f48b817 100644 --- a/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt +++ b/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt @@ -1,21 +1,8 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2022-2023 Álvaro Brey + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.authentication diff --git a/app/src/main/java/com/owncloud/android/datamodel/DecryptedPushMessage.kt b/app/src/main/java/com/owncloud/android/datamodel/DecryptedPushMessage.kt index 34029497402d..f65551cd5cca 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/DecryptedPushMessage.kt +++ b/app/src/main/java/com/owncloud/android/datamodel/DecryptedPushMessage.kt @@ -1,23 +1,9 @@ /* - * Nextcloud application + * Nextcloud - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2018 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2017-2018 Mario Danic + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.datamodel import android.os.Parcelable diff --git a/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt b/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt index 0310d6291add..111734fa9947 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt +++ b/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt @@ -1,21 +1,8 @@ /* - * Nextcloud application + * Nextcloud - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2018 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2017-2018 Mario Danic + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.datamodel diff --git a/app/src/main/java/com/owncloud/android/datamodel/Template.kt b/app/src/main/java/com/owncloud/android/datamodel/Template.kt index 20e0508214ee..d68906f140c9 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/Template.kt +++ b/app/src/main/java/com/owncloud/android/datamodel/Template.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.datamodel diff --git a/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt b/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt index 6ef5e63cc8ee..320de1275531 100644 --- a/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt +++ b/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt @@ -1,20 +1,8 @@ /* - * NextCloud Android client application + * Nextcloud - Android Client * - * @copyright Copyright (C) 2019 Daniele Fognini - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2019 Daniele Fognini + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.db diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FilePickerActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/FilePickerActivity.kt index 7ed93b2e2be2..1497cf247580 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FilePickerActivity.kt +++ b/app/src/main/java/com/owncloud/android/ui/activity/FilePickerActivity.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.activity diff --git a/app/src/main/java/com/owncloud/android/ui/activity/RichDocumentsEditorWebView.kt b/app/src/main/java/com/owncloud/android/ui/activity/RichDocumentsEditorWebView.kt index ba81b8724f5c..9c655508e0c2 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/RichDocumentsEditorWebView.kt +++ b/app/src/main/java/com/owncloud/android/ui/activity/RichDocumentsEditorWebView.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * @author Chris Narkiewicz - * - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * Copyright (C) 2019 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.activity diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt b/app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt index f0e9828a3f3b..995e07bf3e3f 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt +++ b/app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.adapter import com.owncloud.android.datamodel.OCFile diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.kt index 54bc469443ae..6c81dd9ce52d 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * @author Chris Narkiewicz - * @author TSI-mc - * - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * Copyright (C) 2019 Chris Narkiewicz - * Copyright (C) 20223TSI-mc - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 TSI-mc + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.dialog diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/StoragePermissionDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/StoragePermissionDialogFragment.kt index d2b179e66628..3730fe422583 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/StoragePermissionDialogFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/StoragePermissionDialogFragment.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.ui.dialog diff --git a/app/src/main/java/com/owncloud/android/ui/events/CommentsEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/CommentsEvent.kt index d27a7f2f33f9..894a813d0399 100644 --- a/app/src/main/java/com/owncloud/android/ui/events/CommentsEvent.kt +++ b/app/src/main/java/com/owncloud/android/ui/events/CommentsEvent.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.events diff --git a/app/src/main/java/com/owncloud/android/ui/events/FileLockEvent.kt b/app/src/main/java/com/owncloud/android/ui/events/FileLockEvent.kt index ce5ebe82c9e9..d741c2882ba5 100644 --- a/app/src/main/java/com/owncloud/android/ui/events/FileLockEvent.kt +++ b/app/src/main/java/com/owncloud/android/ui/events/FileLockEvent.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.ui.events diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListSearchAsyncTask.kt b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListSearchAsyncTask.kt index d7b756c58972..071bf8809735 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListSearchAsyncTask.kt +++ b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListSearchAsyncTask.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.ui.fragment diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/SharedListFragment.kt b/app/src/main/java/com/owncloud/android/ui/fragment/SharedListFragment.kt index 17e8887e865d..1b36ccf52758 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/SharedListFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/fragment/SharedListFragment.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2019 Tobias Kaminsky - * Copyright (C) 2019 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.fragment diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewBitmapActivity.kt b/app/src/main/java/com/owncloud/android/ui/preview/PreviewBitmapActivity.kt index d71a5dab6df6..e12eaf3d2417 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewBitmapActivity.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewBitmapActivity.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.preview import android.graphics.BitmapFactory diff --git a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfAdapter.kt b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfAdapter.kt index cde58f519a04..6cddf1d1a95c 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfAdapter.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfAdapter.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.preview.pdf import android.graphics.Bitmap diff --git a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfFragment.kt b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfFragment.kt index 9216b090b0d6..57377d7bac23 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfFragment.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.preview.pdf import android.content.Intent diff --git a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfViewModel.kt b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfViewModel.kt index 67ad5c7961c0..c15a712d46ad 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfViewModel.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/pdf/PreviewPdfViewModel.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.preview.pdf import android.graphics.Bitmap diff --git a/app/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.kt b/app/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.kt index 7b9b3619988c..2952fbfc5169 100644 --- a/app/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.kt +++ b/app/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * @author TSI-mc - * @author Chris Narkiewicz - * - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * Copyright (C) 2019 Chris Narkiewicz - * Copyright (C) 2023 TSI-mc - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 TSI-mc + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ @file:Suppress("DEPRECATION") diff --git a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinActivity.kt b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinActivity.kt index 611f605ae98c..4759c08e329a 100644 --- a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinActivity.kt +++ b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinActivity.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * @author Chris Narkiewicz - * - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * Copyright (C) 2019 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.trashbin diff --git a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinContract.kt b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinContract.kt index eebc54d13bce..da6aac9a7840 100644 --- a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinContract.kt +++ b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinContract.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.trashbin diff --git a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinPresenter.kt b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinPresenter.kt index 0bfcf25adda0..f3f31e18ce12 100644 --- a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinPresenter.kt +++ b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinPresenter.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.trashbin diff --git a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinRepository.kt b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinRepository.kt index 66571d95abed..634282ca1586 100644 --- a/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinRepository.kt +++ b/app/src/main/java/com/owncloud/android/ui/trashbin/TrashbinRepository.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2018 Tobias Kaminsky - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.trashbin diff --git a/app/src/test/java/com/nextcloud/client/device/TestPowerManagementService.kt b/app/src/test/java/com/nextcloud/client/device/TestPowerManagementService.kt index 09eb7b89d46a..944666f110c4 100644 --- a/app/src/test/java/com/nextcloud/client/device/TestPowerManagementService.kt +++ b/app/src/test/java/com/nextcloud/client/device/TestPowerManagementService.kt @@ -1,24 +1,9 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.nextcloud.client.device import android.annotation.SuppressLint diff --git a/app/src/test/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverterTest.kt b/app/src/test/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverterTest.kt index 3dfe88bcdec5..43c5eee4a39f 100644 --- a/app/src/test/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverterTest.kt +++ b/app/src/test/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverterTest.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Álvaro Brey Vilas - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: AGPL-3.0-or-later */ - package com.owncloud.android.ui.adapter import com.owncloud.android.lib.resources.shares.OCShare diff --git a/app/src/test/java/com/owncloud/android/ui/db/OCUploadComparatorTest.kt b/app/src/test/java/com/owncloud/android/ui/db/OCUploadComparatorTest.kt index 2d94b9274301..3c3b6efe5ab8 100644 --- a/app/src/test/java/com/owncloud/android/ui/db/OCUploadComparatorTest.kt +++ b/app/src/test/java/com/owncloud/android/ui/db/OCUploadComparatorTest.kt @@ -1,20 +1,8 @@ /* - * NextCloud Android client application + * Nextcloud - Android Client * - * @copyright Copyright (C) 2019 Daniele Fognini - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2019 Daniele Fognini + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.ui.db