From 8846907aa8e005f0b8d24830e0606b9c4311c8d7 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 1 Mar 2024 13:46:30 +0100 Subject: [PATCH] Fix wrong comment type Signed-off-by: Andy Scherzinger --- .../client/media/PlayerStateMachine.kt | 2 +- .../android/syncadapter/FileSyncService.java | 7 ++- .../android/ui/dialog/SendFilesDialog.kt | 40 ++++++++--------- .../android/ui/dialog/SendShareDialog.kt | 44 +++++++++---------- 4 files changed, 46 insertions(+), 47 deletions(-) diff --git a/app/src/main/java/com/nextcloud/client/media/PlayerStateMachine.kt b/app/src/main/java/com/nextcloud/client/media/PlayerStateMachine.kt index 5a1ece0ab382..1795fd32746a 100644 --- a/app/src/main/java/com/nextcloud/client/media/PlayerStateMachine.kt +++ b/app/src/main/java/com/nextcloud/client/media/PlayerStateMachine.kt @@ -25,7 +25,7 @@ import com.github.oxo42.stateless4j.delegates.Action import com.github.oxo42.stateless4j.transitions.Transition import java.util.ArrayDeque -/* +/** * To see visual representation of the state machine, install PlanUml plugin. * http://plantuml.com/ * diff --git a/app/src/main/java/com/owncloud/android/syncadapter/FileSyncService.java b/app/src/main/java/com/owncloud/android/syncadapter/FileSyncService.java index c71832088882..35477bc584a7 100644 --- a/app/src/main/java/com/owncloud/android/syncadapter/FileSyncService.java +++ b/app/src/main/java/com/owncloud/android/syncadapter/FileSyncService.java @@ -33,7 +33,7 @@ /** * Background service for synchronizing remote files with their local state. - * + *

* Serves as a connector to an instance of {@link FileSyncAdapter}, as required by standard Android APIs. */ public class FileSyncService extends Service { @@ -46,7 +46,7 @@ public class FileSyncService extends Service { @Inject UserAccountManager userAccountManager; @Inject ViewThemeUtils viewThemeUtils; - /* + /** * {@inheritDoc} */ @Override @@ -59,12 +59,11 @@ public void onCreate() { } } - /* + /** * {@inheritDoc} */ @Override public IBinder onBind(Intent intent) { return syncAdapter.getSyncAdapterBinder(); } - } diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SendFilesDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/SendFilesDialog.kt index b11dc503f8c8..f6ee624009d3 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/SendFilesDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/SendFilesDialog.kt @@ -1,3 +1,23 @@ +/* + * Nextcloud Android client application + * + * @author Tobias Kaminsky + * Copyright (C) 2020 Tobias Kaminsky + * Copyright (C) 2020 Nextcloud GmbH. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ package com.owncloud.android.ui.dialog import android.content.ComponentName @@ -23,26 +43,6 @@ import com.owncloud.android.ui.components.SendButtonData import com.owncloud.android.utils.theme.ViewThemeUtils import javax.inject.Inject -/* - * Nextcloud Android client application - * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * Copyright (C) 2020 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ class SendFilesDialog : BottomSheetDialogFragment(R.layout.send_files_fragment), Injectable { private var files: Array? = null diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SendShareDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/SendShareDialog.kt index c6f57dd75aeb..9aa5789a09c8 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/SendShareDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/SendShareDialog.kt @@ -1,3 +1,25 @@ +/* + * Nextcloud Android client application + * + * @author Tobias Kaminsky + * @author Andy Scherzinger + * Copyright (C) 2017 Tobias Kaminsky + * Copyright (C) 2017 Nextcloud GmbH. + * Copyright (C) 2018 Andy Scherzinger + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ package com.owncloud.android.ui.dialog import android.content.ComponentName @@ -30,28 +52,6 @@ import com.owncloud.android.utils.MimeTypeUtil import com.owncloud.android.utils.theme.ViewThemeUtils import javax.inject.Inject -/* - * Nextcloud Android client application - * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2017 Tobias Kaminsky - * Copyright (C) 2017 Nextcloud GmbH. - * Copyright (C) 2018 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ class SendShareDialog : BottomSheetDialogFragment(R.layout.send_share_fragment), Injectable { private lateinit var binding: SendShareFragmentBinding