Browse Source

Add SPDX header

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 year ago
parent
commit
65bca7903e
28 changed files with 97 additions and 364 deletions
  1. 12 18
      app/src/main/aidl/com/nextcloud/android/sso/aidl/IInputStreamService.aidl
  2. 5 21
      app/src/main/java/com/nextcloud/android/sso/Constants.java
  3. 1 1
      app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java
  4. 1 1
      app/src/main/java/com/nextcloud/android/sso/aidl/IThreadListener.java
  5. 1 1
      app/src/main/java/com/nextcloud/android/sso/aidl/NextcloudRequest.java
  6. 1 1
      app/src/main/java/com/nextcloud/android/sso/aidl/ParcelFileDescriptorUtil.java
  7. 1 1
      app/src/main/java/com/owncloud/android/services/AccountManagerService.java
  8. 3 15
      app/src/main/java/com/owncloud/android/ui/activities/ActivitiesActivity.java
  9. 3 15
      app/src/main/java/com/owncloud/android/ui/activities/ActivitiesContract.java
  10. 3 16
      app/src/main/java/com/owncloud/android/ui/activities/ActivitiesPresenter.java
  11. 4 16
      app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesRepository.java
  12. 3 15
      app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesServiceApi.java
  13. 4 19
      app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesServiceApiImpl.java
  14. 3 15
      app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivityRepositories.java
  15. 4 16
      app/src/main/java/com/owncloud/android/ui/activities/data/activities/RemoteActivitiesRepository.java
  16. 3 15
      app/src/main/java/com/owncloud/android/ui/activities/data/files/FileRepositories.java
  17. 4 16
      app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesRepository.java
  18. 4 16
      app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesServiceApi.java
  19. 4 19
      app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesServiceApiImpl.java
  20. 4 16
      app/src/main/java/com/owncloud/android/ui/activities/data/files/RemoteFilesRepository.java
  21. 1 1
      app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionActivity.java
  22. 4 15
      app/src/main/java/third_parties/aosp/SQLiteTokenizer.java
  23. 5 16
      app/src/main/java/third_parties/sufficientlysecure/ProcessVEvent.java
  24. 5 16
      app/src/main/java/third_parties/sufficientlysecure/SaveCalendar.java
  25. 3 15
      app/src/test/java/com/owncloud/android/ui/activities/ActivitiesPresenterTest.java
  26. 3 15
      app/src/test/java/com/owncloud/android/ui/activities/data/activities/RemoteActivitiesRepositoryTest.java
  27. 3 15
      app/src/test/java/com/owncloud/android/ui/activities/data/files/RemoteFilesRepositoryTest.java
  28. 5 18
      app/src/test/java/com/owncloud/android/utils/OwnCloudSessionTest.java

+ 12 - 18
app/src/main/aidl/com/nextcloud/android/sso/aidl/IInputStreamService.aidl

@@ -1,20 +1,14 @@
-/***
-	Copyright (c) 2008-2011 CommonsWare, LLC
-	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.
-
-	From _The Busy Coder's Guide to Advanced Android Development_
-		http://commonsware.com/AdvAndroid
-
-
-	More information here: https://github.com/abeluck/android-streams-ipc
-*/
-
+/*
+ * Nextcloud - Android Client
+ *
+ * SPDX-FileCopyrightText: 2008-2011 CommonsWare, LLC
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * From _The Busy Coder's Guide to Advanced Android Development_
+ * http://commonsware.com/AdvAndroid
+ *
+ * More information here: https://github.com/abeluck/android-streams-ipc
+ */
 package com.nextcloud.android.sso.aidl;
 
 // Declare the interface.
@@ -26,7 +20,7 @@ interface IInputStreamService {
     ParcelFileDescriptor performNextcloudRequest(in ParcelFileDescriptor input);
 
     ParcelFileDescriptor performNextcloudRequestAndBodyStreamV2(in ParcelFileDescriptor input,
-                                                                 in ParcelFileDescriptor requestBodyParcelFileDescriptor);
+                                                                in ParcelFileDescriptor requestBodyParcelFileDescriptor);
 
     ParcelFileDescriptor performNextcloudRequestV2(in ParcelFileDescriptor input);
 }

+ 5 - 21
app/src/main/java/com/nextcloud/android/sso/Constants.java

@@ -1,27 +1,11 @@
 /*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- * @author David Luhmer
- * @author Tobias Kaminsky
- * @author Edvard Holst
- * Copyright (C) 2019 David Luhmer
- * Copyright (C) 2019 Tobias Kaminsky
- * Copyright (C) 2019 Edvard Holst
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2019 David Luhmer <david-dev@live.de>
+ * SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
-
 package com.nextcloud.android.sso;
 
 public final class Constants {

+ 1 - 1
app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

@@ -2,7 +2,7 @@
  * Nextcloud SingleSignOn
  *
  * @author David Luhmer
- * Copyright (C) 2019 David Luhmer
+ * Copyright (C) 2019 David Luhmer <david-dev@live.de>
  *
  * 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

+ 1 - 1
app/src/main/java/com/nextcloud/android/sso/aidl/IThreadListener.java

@@ -1,7 +1,7 @@
 /*
  *  Nextcloud SingleSignOn
  *
- *  @author David Luhmer
+ *  @author David Luhmer <david-dev@live.de>
  *
  * 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

+ 1 - 1
app/src/main/java/com/nextcloud/android/sso/aidl/NextcloudRequest.java

@@ -9,7 +9,7 @@
 /*
  *  Nextcloud SingleSignOn
  *
- *  @author David Luhmer
+ *  @author David Luhmer <david-dev@live.de>
  *
  * 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

+ 1 - 1
app/src/main/java/com/nextcloud/android/sso/aidl/ParcelFileDescriptorUtil.java

@@ -1,7 +1,7 @@
 /*
  *  Nextcloud SingleSignOn
  *
- *  @author David Luhmer
+ *  @author David Luhmer <david-dev@live.de>
  *
  * 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

+ 1 - 1
app/src/main/java/com/owncloud/android/services/AccountManagerService.java

@@ -1,7 +1,7 @@
 /*
  *  Nextcloud SingleSignOn
  *
- *  @author David Luhmer
+ *  @author David Luhmer <david-dev@live.de>
  *
  * 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

+ 3 - 15
app/src/main/java/com/owncloud/android/ui/activities/ActivitiesActivity.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities;
 

+ 3 - 15
app/src/main/java/com/owncloud/android/ui/activities/ActivitiesContract.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities;
 

+ 3 - 16
app/src/main/java/com/owncloud/android/ui/activities/ActivitiesPresenter.java

@@ -1,22 +1,9 @@
 /*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- * Copyright (C) 2018 Edvard Holst
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
-
 package com.owncloud.android.ui.activities;
 
 import com.nextcloud.common.NextcloudClient;

+ 4 - 16
app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesRepository.java

@@ -1,20 +1,8 @@
-/**
- *   Nextcloud Android client application
- *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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.
+/*
+ * Nextcloud - Android Client
  *
- *   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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 3 - 15
app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesServiceApi.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 4 - 19
app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivitiesServiceApiImpl.java

@@ -1,24 +1,9 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   @author Edvard Holst
- *   @author Chris Narkiewicz
- *
- *   Copyright (C) 2018 Edvard Holst
- *   Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 3 - 15
app/src/main/java/com/owncloud/android/ui/activities/data/activities/ActivityRepositories.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 4 - 16
app/src/main/java/com/owncloud/android/ui/activities/data/activities/RemoteActivitiesRepository.java

@@ -1,20 +1,8 @@
-/**
- *   Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 3 - 15
app/src/main/java/com/owncloud/android/ui/activities/data/files/FileRepositories.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 4 - 16
app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesRepository.java

@@ -1,20 +1,8 @@
-/**
- *   Nextcloud Android client application
- *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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.
+/*
+ * Nextcloud - Android Client
  *
- *   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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 4 - 16
app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesServiceApi.java

@@ -1,20 +1,8 @@
-/**
- *   Nextcloud Android client application
- *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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.
+/*
+ * Nextcloud - Android Client
  *
- *   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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 4 - 19
app/src/main/java/com/owncloud/android/ui/activities/data/files/FilesServiceApiImpl.java

@@ -1,24 +1,9 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   @author Chris Narkiewicz
- *   @author Edvard Holst
- *
- *   Copyright (C) 2018 Edvard Holst
- *   Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 4 - 16
app/src/main/java/com/owncloud/android/ui/activities/data/files/RemoteFilesRepository.java

@@ -1,20 +1,8 @@
-/**
- *   Nextcloud Android client application
+/*
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/activity/SsoGrantPermissionActivity.java

@@ -3,7 +3,7 @@
  *
  * @author David Luhmer
  * @author Andy Scherzinger
- * Copyright (C) 2018 David Luhmer
+ * Copyright (C) 2018 David Luhmer <david-dev@live.de>
  * Copyright (C) 2018 Andy Scherzinger
  *
  * This program is free software: you can redistribute it and/or modify

+ 4 - 15
app/src/main/java/third_parties/aosp/SQLiteTokenizer.java

@@ -1,21 +1,10 @@
-package third_parties.aosp;
-
 /*
- * Copyright (C) 2019 The Android Open Source Project
- *
- * 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
+ * Nextcloud - Android Client
  *
- *      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: 2019 The Android Open Source Project
+ * SPDX-License-Identifier: Apache-2.0
  */
-
+package third_parties.aosp;
 
 import java.util.ArrayList;
 import java.util.List;

+ 5 - 16
app/src/main/java/third_parties/sufficientlysecure/ProcessVEvent.java

@@ -1,22 +1,11 @@
 /*
- *  Copyright (C) 2015  Jon Griffiths (jon_p_griffiths@yahoo.com)
- *  Copyright (C) 2013  Dominik Schürmann <dominik@dominikschuermann.de>
- *  Copyright (C) 2010-2011  Lukas Aichbauer
+ * Nextcloud - Android Client
  *
- *  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/>.
+ * SPDX-FileCopyrightText: 2015 Jon Griffiths (jon_p_griffiths@yahoo.com)
+ * SPDX-FileCopyrightText: 2013 Dominik Schürmann <dominik@dominikschuermann.de>
+ * SPDX-FileCopyrightText: 2010-2011 Lukas Aichbauer
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
-
 package third_parties.sufficientlysecure;
 
 import android.annotation.SuppressLint;

+ 5 - 16
app/src/main/java/third_parties/sufficientlysecure/SaveCalendar.java

@@ -1,22 +1,11 @@
 /*
- *  Copyright (C) 2015  Jon Griffiths (jon_p_griffiths@yahoo.com)
- *  Copyright (C) 2013  Dominik Schürmann <dominik@dominikschuermann.de>
- *  Copyright (C) 2010-2011  Lukas Aichbauer
+ * Nextcloud - Android Client
  *
- *  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/>.
+ * SPDX-FileCopyrightText: 2015 Jon Griffiths (jon_p_griffiths@yahoo.com)
+ * SPDX-FileCopyrightText: 2013 Dominik Schürmann <dominik@dominikschuermann.de>
+ * SPDX-FileCopyrightText: 2010-2011 Lukas Aichbauer
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
-
 package third_parties.sufficientlysecure;
 
 import android.annotation.SuppressLint;

+ 3 - 15
app/src/test/java/com/owncloud/android/ui/activities/ActivitiesPresenterTest.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities;
 

+ 3 - 15
app/src/test/java/com/owncloud/android/ui/activities/data/activities/RemoteActivitiesRepositoryTest.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.activities;
 

+ 3 - 15
app/src/test/java/com/owncloud/android/ui/activities/data/files/RemoteFilesRepositoryTest.java

@@ -1,20 +1,8 @@
 /*
- *   Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- *   Copyright (C) 2018 Edvard Holst
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- *   License as published by the Free Software Foundation; either
- *   version 3 of the License, or 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/>.
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.activities.data.files;
 

+ 5 - 18
app/src/test/java/com/owncloud/android/utils/OwnCloudSessionTest.java

@@ -1,23 +1,10 @@
 /*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
  *
- * @author Tobias Kaminsky
- * Copyright (C) 2019 Tobias Kaminsky
- * Copyright (C) 2019 Edvard Holst
- * 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 <https://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH
+ * SPDX-FileCopyrightText: 2018 Edvard Holst <edvard.holst@gmail.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.utils;