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 3c09775be4..5da2509a1b 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 Andy Scherzinger + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2014 Luke Owncloud + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-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 7ab3f411dd..1880ce8c58 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 bf1faa4e63..2b9404aade 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/preferences/AppPreferences.java b/app/src/main/java/com/nextcloud/client/preferences/AppPreferences.java index febd96c621..b2517b5fa5 100644 --- a/app/src/main/java/com/nextcloud/client/preferences/AppPreferences.java +++ b/app/src/main/java/com/nextcloud/client/preferences/AppPreferences.java @@ -1,25 +1,13 @@ /* - * Nextcloud Android client application + * Nextcloud - Android Client * - * @author Chris Narkiewicz - * @author TSI-mc - * Copyright (C) 2019 Chris Narkiewicz, EZ Aquarii - * 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 Jonas Mayer + * SPDX-FileCopyrightText: 2023 TSI-mc + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-License-Identifier: GPL-3.0-or-later AND AGPL-3.0-or-later */ - package com.nextcloud.client.preferences; import com.nextcloud.appReview.AppReviewShownModel; @@ -34,16 +22,13 @@ import androidx.annotation.Nullable; /** * This interface provides single point of entry for access to all application - * preferences and allows clients to subscribe for specific configuration - * changes. + * preferences and allows clients to subscribe for specific configuration changes. */ public interface AppPreferences { /** * Preferences listener. Callbacks should be invoked on main thread. - * - * Maintainers should extend this interface with callbacks for specific - * events. + * Maintainers should extend this interface with callbacks for specific events. */ interface Listener { default void onDarkThemeModeChanged(DarkMode mode) { @@ -324,8 +309,6 @@ public interface AppPreferences { List readLogEntry(); - - /** * Saves the version code as the last seen version code. * diff --git a/app/src/main/java/com/owncloud/android/MainApp.java b/app/src/main/java/com/owncloud/android/MainApp.java index eb58122ea2..8f119a5b37 100644 --- a/app/src/main/java/com/owncloud/android/MainApp.java +++ b/app/src/main/java/com/owncloud/android/MainApp.java @@ -10,7 +10,7 @@ * SPDX-FileCopyrightText: 2016 Andy Scherzinger * SPDX-FileCopyrightText: 2015 ownCloud Inc. * SPDX-FileCopyrightText: 2014 David A. Velasco - * SPDX-FileCopyrightText: 2013 masensio + * SPDX-FileCopyrightText: 2013 Masensio * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android; 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 8cd5d4afa2..e7a5572ea4 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,13 @@ /* - * 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: 2016 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-FileCopyrightText: 2011-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,13 +26,10 @@ import com.owncloud.android.R; import com.owncloud.android.lib.common.accounts.AccountTypeUtils; import com.owncloud.android.lib.common.utils.Log_OC; - /** * Authenticator for ownCloud accounts. - * * Controller class accessed from the system AccountManager, * providing integration of ownCloud accounts with the Android system. - * * TODO - better separation in operations for OAuth-capable and regular ownCloud accounts. * TODO - review completeness */ diff --git a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorActivity.java b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorActivity.java index e0d05cce6d..bf90cf0784 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorActivity.java +++ b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorActivity.java @@ -1,19 +1,9 @@ /* - * Copyright (C) 2009 The Android Open Source Project + * Nextcloud - Android Client * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-FileCopyrightText: 2009 The Android Open Source Project + * SPDX-License-Identifier: Apache-2.0 */ - package com.owncloud.android.authentication; import android.accounts.AccountAuthenticatorResponse; @@ -34,13 +24,11 @@ import androidx.appcompat.app.AppCompatActivity; * This result will be sent as the result of the request when the activity finishes. If this is never set or if it is set to null * then error AccountManager.ERROR_CODE_CANCELED will be called on the response. */ - public abstract class AccountAuthenticatorActivity extends AppCompatActivity { private AccountAuthenticatorResponse mAccountAuthenticatorResponse; private Bundle mResultBundle; - /** * Set the result that is to be sent as the result of the request that caused this Activity to be launched. * If result is null or this method is never called then the request will be canceled. diff --git a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorService.java b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorService.java index 915b015d25..fe50573b0f 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorService.java +++ b/app/src/main/java/com/owncloud/android/authentication/AccountAuthenticatorService.java @@ -1,23 +1,9 @@ -/** - * ownCloud Android client application - * - * Copyright (C) 2011 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: 2011 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only */ - package com.owncloud.android.authentication; import android.app.Service; diff --git a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java index 5dda695807..70561b2f9c 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -1,19 +1,16 @@ /* - * ownCloud Android client application - * - * @author Bartek Przybylski - * @author David A. Velasco - * @author masensio - * @author Mario Danic - * @author TSI-mc - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2017 Mario Danic - * Copyright (C) 2023 TSI-mc + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2023 TSI-mc + * SPDX-FileCopyrightText: 2019-2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Mario Danic + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2013-2015 masensio + * SPDX-FileCopyrightText: 2013-2015 David A. Velasco + * SPDX-FileCopyrightText: 2011-2012 Bartosz Przybylski * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.authentication; import android.Manifest; 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 fa7e303206..5fb85bc95e 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: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2013-2015 masensio + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ @file:Suppress("DEPRECATION") @@ -35,9 +25,8 @@ import com.owncloud.android.lib.resources.users.GetUserInfoRemoteOperation import java.lang.ref.WeakReference /** - * Async Task to verify the credentials of a user + * 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/LoginUrlInfo.java b/app/src/main/java/com/owncloud/android/authentication/LoginUrlInfo.java index 6df8930edd..026b556835 100644 --- a/app/src/main/java/com/owncloud/android/authentication/LoginUrlInfo.java +++ b/app/src/main/java/com/owncloud/android/authentication/LoginUrlInfo.java @@ -1,7 +1,7 @@ /* * Nextcloud - Android Client * - * SPDX-FileCopyrightText: 2016 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 Andy Scherzinger * SPDX-FileCopyrightText: 2016 Nextcloud * SPDX-License-Identifier: AGPL-3.0-or-later */ 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 3402949740..c4fdb527c1 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: 2022 Unpublished + * 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/db/ProviderMeta.java b/app/src/main/java/com/owncloud/android/db/ProviderMeta.java index b070fe8eb7..8a64b554d5 100644 --- a/app/src/main/java/com/owncloud/android/db/ProviderMeta.java +++ b/app/src/main/java/com/owncloud/android/db/ProviderMeta.java @@ -1,23 +1,13 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author Bartek Przybylski - * @author David A. Velasco - * @author masensio - * Copyright (C) 2011 Bartek Przybylski - * Copyright (C) 2016 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 . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2016-2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2014-2015 Masensio + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-FileCopyrightText: 2011 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.db; diff --git a/app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java b/app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java index be25643a9b..8223c22a9f 100644 --- a/app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java @@ -1,22 +1,11 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @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 . + * SPDX-FileCopyrightText: 2019-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2013 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; @@ -72,14 +61,11 @@ import androidx.localbroadcastmanager.content.LocalBroadcastManager; import static com.owncloud.android.datamodel.OCFile.PATH_SEPARATOR; - /** - * Remote operation performing the synchronization of the list of files contained - * in a folder identified with its remote path. - * - * Fetches the list and properties of the files contained in the given folder, including their - * properties, and updates the local database with them. - * + * Remote operation performing the synchronization of the list of files contained in a folder identified with its + * remote path. + * Fetches the list and properties of the files contained in the given folder, including their properties, and updates + * the local database with them. * Does NOT enter in the child folders to synchronize their contents also. */ @SuppressWarnings("PMD.AvoidDuplicateLiterals") diff --git a/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java b/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java index aae3ab6417..25c8f4e112 100644 --- a/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java @@ -1,25 +1,12 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * @author masensio - * @author Tobias Kaminsky - * 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: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 Masensio + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; @@ -36,7 +23,6 @@ import com.owncloud.android.lib.resources.files.RemoveFileRemoteOperation; import com.owncloud.android.operations.common.SyncOperation; import com.owncloud.android.utils.MimeTypeUtil; - /** * Remote operation performing the removal of a remote file or folder in the ownCloud server. */ @@ -48,7 +34,6 @@ public class RemoveFileOperation extends SyncOperation { private final boolean inBackground; private final Context context; - /** * Constructor * @@ -70,7 +55,6 @@ public class RemoveFileOperation extends SyncOperation { this.context = context; } - /** * Getter for the file to remove (or removed, if the operation was successfully performed). * diff --git a/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java b/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java index f0a90d5d0a..197a1d2e63 100644 --- a/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java @@ -1,24 +1,13 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * @author masensio - * 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: 2020-2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018-2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 Masensio + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.text.TextUtils; @@ -37,7 +26,6 @@ import com.owncloud.android.utils.MimeTypeUtil; import java.io.File; import java.io.IOException; - /** * Remote operation performing the rename of a remote file (or folder?) in the ownCloud server. */ diff --git a/appscan/build.gradle b/appscan/build.gradle index 3b93da9977..78722d997d 100644 --- a/appscan/build.gradle +++ b/appscan/build.gradle @@ -3,7 +3,7 @@ * * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-FileCopyrightText: 2024 Alper Ozturk - * SPDX-FileCopyrightText: 2023 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2023 Álvaro Brey * SPDX-FileCopyrightText: 2023 Andy Scherzinger * SPDX-License-Identifier: AGPL-3.0-or-later */