Skip to content

Commit 0225fbf

Browse files
Merge pull request #2052 from nextcloud/chore/noid/reuseCompliance
Add missing SPDX headers
2 parents 9e5014c + c7e386c commit 0225fbf

File tree

230 files changed

+1489
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+1489
-148
lines changed

app/src/main/java/it/niedermann/owncloud/notes/AppendToNoteActivity.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes;
29

310
import android.os.Bundle;

app/src/main/java/it/niedermann/owncloud/notes/FormattingHelpActivity.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes;
29

310
import static it.niedermann.owncloud.notes.shared.util.NoteUtil.getFontSizeFromPreferences;

app/src/main/java/it/niedermann/owncloud/notes/LockedActivity.java

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-FileCopyrightText: 2020 Christoph Loy <[email protected]>
7+
* SPDX-License-Identifier: GPL-3.0-or-later
8+
*/
19
package it.niedermann.owncloud.notes;
210

311
import android.app.KeyguardManager;

app/src/main/java/it/niedermann/owncloud/notes/NotesApplication.java

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2023 Álvaro Brey <[email protected]>
6+
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <[email protected]>
7+
* SPDX-FileCopyrightText: 2021 Konrad Pozniak <[email protected]>
8+
* SPDX-FileCopyrightText: 2020 Christoph Loy <[email protected]>
9+
* SPDX-FileCopyrightText: 2017 Daniel Bailey <[email protected]>
10+
* SPDX-License-Identifier: GPL-3.0-or-later
11+
*/
112
package it.niedermann.owncloud.notes;
213

314
import static androidx.preference.PreferenceManager.getDefaultSharedPreferences;

app/src/main/java/it/niedermann/owncloud/notes/about/AboutActivity.java

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2015-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-FileCopyrightText: 2021 TacoTheDank <[email protected]>
7+
* SPDX-License-Identifier: GPL-3.0-or-later
8+
*/
19
package it.niedermann.owncloud.notes.about;
210

311
import android.os.Bundle;

app/src/main/java/it/niedermann/owncloud/notes/about/AboutFragmentContributingTab.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.about;
29

310
import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;

app/src/main/java/it/niedermann/owncloud/notes/about/AboutFragmentCreditsTab.java

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2023 Álvaro Brey <[email protected]>
6+
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <[email protected]>
7+
* SPDX-License-Identifier: GPL-3.0-or-later
8+
*/
19
package it.niedermann.owncloud.notes.about;
210

311
import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;

app/src/main/java/it/niedermann/owncloud/notes/about/AboutFragmentLicenseTab.java

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-FileCopyrightText: 2020 Christoph Loy <[email protected]>
7+
* SPDX-License-Identifier: GPL-3.0-or-later
8+
*/
19
package it.niedermann.owncloud.notes.about;
210

311
import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;

app/src/main/java/it/niedermann/owncloud/notes/accountpicker/AccountPickerDialogFragment.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountpicker;
29

310
import android.app.Dialog;

app/src/main/java/it/niedermann/owncloud/notes/accountpicker/AccountPickerListener.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountpicker;
29

310
import androidx.annotation.NonNull;

app/src/main/java/it/niedermann/owncloud/notes/accountswitcher/AccountSwitcherAdapter.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountswitcher;
29

310
import android.view.LayoutInflater;

app/src/main/java/it/niedermann/owncloud/notes/accountswitcher/AccountSwitcherDialog.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountswitcher;
29

310
import android.app.Dialog;

app/src/main/java/it/niedermann/owncloud/notes/accountswitcher/AccountSwitcherListener.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountswitcher;
29

310
import androidx.annotation.NonNull;

app/src/main/java/it/niedermann/owncloud/notes/accountswitcher/AccountSwitcherViewHolder.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <[email protected]>
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*/
18
package it.niedermann.owncloud.notes.accountswitcher;
29

310
import android.net.Uri;

app/src/main/java/it/niedermann/owncloud/notes/branding/Branded.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import androidx.annotation.ColorInt;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedActivity.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import static it.niedermann.owncloud.notes.branding.BrandingUtil.readBrandMainColorLiveData;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedDialogFragment.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

3-
import android.content.Context;
4-
59
import androidx.annotation.ColorInt;
610
import androidx.annotation.Nullable;
711
import androidx.fragment.app.DialogFragment;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedFragment.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import android.util.TypedValue;
@@ -8,8 +14,6 @@
814
import androidx.annotation.NonNull;
915
import androidx.fragment.app.Fragment;
1016

11-
import it.niedermann.owncloud.notes.R;
12-
1317
public abstract class BrandedFragment extends Fragment implements Branded {
1418

1519
@ColorInt

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedPreferenceCategory.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import android.content.Context;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedSnackbar.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import static it.niedermann.owncloud.notes.branding.BrandingUtil.readBrandMainColor;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedSwitchPreference.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import android.annotation.SuppressLint;

app/src/main/java/it/niedermann/owncloud/notes/branding/BrandingUtil.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import android.content.Context;

app/src/main/java/it/niedermann/owncloud/notes/branding/DeleteAlertDialogBuilder.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import android.content.Context;

app/src/main/java/it/niedermann/owncloud/notes/branding/NotesViewThemeUtils.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.branding;
28

39
import static com.nextcloud.android.common.ui.util.ColorStateListUtilsKt.buildColorStateList;

app/src/main/java/it/niedermann/owncloud/notes/edit/BaseNoteFragment.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import static java.lang.Boolean.TRUE;

app/src/main/java/it/niedermann/owncloud/notes/edit/EditNoteActivity.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import static it.niedermann.owncloud.notes.shared.model.ENavigationCategoryType.FAVORITES;

app/src/main/java/it/niedermann/owncloud/notes/edit/NoteDirectEditFragment.kt

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit
28

39
import android.annotation.SuppressLint

app/src/main/java/it/niedermann/owncloud/notes/edit/NoteEditFragment.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import static androidx.core.view.ViewCompat.isAttachedToWindow;

app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import static androidx.core.view.ViewCompat.isAttachedToWindow;

app/src/main/java/it/niedermann/owncloud/notes/edit/NoteReadonlyFragment.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import android.os.Bundle;

app/src/main/java/it/niedermann/owncloud/notes/edit/SearchableBaseNoteFragment.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit;
28

39
import android.os.Bundle;

app/src/main/java/it/niedermann/owncloud/notes/edit/category/CategoryAdapter.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit.category;
28

39
import android.content.Context;
4-
import android.graphics.drawable.Drawable;
510
import android.view.LayoutInflater;
611
import android.view.View;
712
import android.view.ViewGroup;

app/src/main/java/it/niedermann/owncloud/notes/edit/category/CategoryDialogFragment.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
/*
2+
* Nextcloud Notes - Android Client
3+
*
4+
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
5+
* SPDX-License-Identifier: GPL-3.0-or-later
6+
*/
17
package it.niedermann.owncloud.notes.edit.category;
28

39
import android.app.Dialog;
410
import android.content.Context;
511
import android.os.Bundle;
612
import android.text.Editable;
713
import android.text.TextWatcher;
8-
import android.util.Log;
914
import android.view.View;
10-
import android.view.WindowManager;
1115
import android.widget.EditText;
1216

1317
import androidx.annotation.NonNull;

0 commit comments

Comments
 (0)