فهرست منبع

Fix wrong comment type

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 سال پیش
والد
کامیت
8846907aa8

+ 1 - 1
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/
  *

+ 3 - 4
app/src/main/java/com/owncloud/android/syncadapter/FileSyncService.java

@@ -33,7 +33,7 @@ import dagger.android.AndroidInjection;
 
 /**
  * Background service for synchronizing remote files with their local state.
- * 
+ * <p>
  * 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 class FileSyncService extends Service {
         }
     }
 
-    /*
+    /**
      * {@inheritDoc}
      */
     @Override
     public IBinder onBind(Intent intent) {
        return syncAdapter.getSyncAdapterBinder();
     }
-    
 }

+ 20 - 20
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 <http://www.gnu.org/licenses/>.
+ */
 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 <http://www.gnu.org/licenses/>.
- */
 class SendFilesDialog : BottomSheetDialogFragment(R.layout.send_files_fragment), Injectable {
 
     private var files: Array<OCFile>? = null

+ 22 - 22
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 <http://www.gnu.org/licenses/>.
+ */
 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 <http://www.gnu.org/licenses/>.
- */
 class SendShareDialog : BottomSheetDialogFragment(R.layout.send_share_fragment), Injectable {
 
     private lateinit var binding: SendShareFragmentBinding