Skip to content

Commit

Permalink
Merge pull request #2052 from nextcloud/chore/noid/reuseCompliance
Browse files Browse the repository at this point in the history
Add missing SPDX headers
  • Loading branch information
AndyScherzinger authored Mar 7, 2024
2 parents 9e5014c + c7e386c commit 0225fbf
Show file tree
Hide file tree
Showing 230 changed files with 1,489 additions and 148 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes;

import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes;

import static it.niedermann.owncloud.notes.shared.util.NoteUtil.getFontSizeFromPreferences;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-FileCopyrightText: 2020 Christoph Loy <loy.christoph@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes;

import android.app.KeyguardManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-FileCopyrightText: 2021 Konrad Pozniak <k.pozniak@gmx.at>
* SPDX-FileCopyrightText: 2020 Christoph Loy <loy.christoph@gmail.com>
* SPDX-FileCopyrightText: 2017 Daniel Bailey <dan0xii@users.noreply.github.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes;

import static androidx.preference.PreferenceManager.getDefaultSharedPreferences;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2015-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-FileCopyrightText: 2021 TacoTheDank <skytkrsfan3895@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.about;

import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.about;

import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.about;

import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-FileCopyrightText: 2020 Christoph Loy <loy.christoph@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.about;

import static it.niedermann.owncloud.notes.shared.util.SupportUtil.setTextWithURL;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountpicker;

import android.app.Dialog;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountpicker;

import androidx.annotation.NonNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountswitcher;

import android.view.LayoutInflater;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2023 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountswitcher;

import android.app.Dialog;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountswitcher;

import androidx.annotation.NonNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2020-2021 Stefan Niedermann <info@niedermann.it>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.accountswitcher;

import android.net.Uri;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import androidx.annotation.ColorInt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import static it.niedermann.owncloud.notes.branding.BrandingUtil.readBrandMainColorLiveData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.content.Context;

import androidx.annotation.ColorInt;
import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.util.TypedValue;
Expand All @@ -8,8 +14,6 @@
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import it.niedermann.owncloud.notes.R;

public abstract class BrandedFragment extends Fragment implements Branded {

@ColorInt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import static it.niedermann.owncloud.notes.branding.BrandingUtil.readBrandMainColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.annotation.SuppressLint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.branding;

import static com.nextcloud.android.common.ui.util.ColorStateListUtilsKt.buildColorStateList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import static java.lang.Boolean.TRUE;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import static it.niedermann.owncloud.notes.shared.model.ENavigationCategoryType.FAVORITES;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit

import android.annotation.SuppressLint
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import static androidx.core.view.ViewCompat.isAttachedToWindow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2015-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import static androidx.core.view.ViewCompat.isAttachedToWindow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit;

import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit.category;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
/*
* Nextcloud Notes - Android Client
*
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package it.niedermann.owncloud.notes.edit.category;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.view.View;
import android.view.WindowManager;
import android.widget.EditText;

import androidx.annotation.NonNull;
Expand Down
Loading

0 comments on commit 0225fbf

Please sign in to comment.