浏览代码

Add license header and code format

https://github.com/stefan-niedermann/nextcloud-deck/issues/208
Stefan Niedermann 5 年之前
父节点
当前提交
a9a2c06a1b
共有 1 个文件被更改,包括 22 次插入1 次删除
  1. 22 1
      src/main/java/com/nextcloud/client/integration/deck/DeckApi.java

+ 22 - 1
src/main/java/com/nextcloud/client/integration/deck/DeckApi.java

@@ -1,3 +1,23 @@
+/*
+ * Nextcloud application
+ *
+ * @author Stefan Niedermann
+ * Copyright (C) 2020 Stefan Niedermann <info@niedermann.it>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
 package com.nextcloud.client.integration.deck;
 
 import android.app.PendingIntent;
@@ -23,5 +43,6 @@ public interface DeckApi {
      * <a href="https://apps.nextcloud.com/apps/deck">Deck server app</a>.
      */
     @NonNull
-    Optional<PendingIntent> createForwardToDeckActionIntent(@NonNull final Notification notification, @NonNull final User user);
+    Optional<PendingIntent> createForwardToDeckActionIntent(@NonNull final Notification notification,
+                                                            @NonNull final User user);
 }