global: Add or update copyright headers in Java code

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland 2018-05-02 10:29:58 -05:00
parent 24572aa861
commit aa92c4a9d5
45 changed files with 224 additions and 1 deletions

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android; package com.wireguard.android;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android; package com.wireguard.android;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android; package com.wireguard.android;
import android.annotation.TargetApi; import android.annotation.TargetApi;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity; package com.wireguard.android.activity;
import android.content.Intent; import android.content.Intent;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity; package com.wireguard.android.activity;
import android.content.Intent; import android.content.Intent;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity; package com.wireguard.android.activity;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity; package com.wireguard.android.activity;
import android.os.Bundle; import android.os.Bundle;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend; package com.wireguard.android.backend;
import com.wireguard.android.model.Tunnel; import com.wireguard.android.model.Tunnel;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend; package com.wireguard.android.backend;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend; package com.wireguard.android.backend;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.configStore; package com.wireguard.android.configStore;
import com.wireguard.config.Config; import com.wireguard.config.Config;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.configStore; package com.wireguard.android.configStore;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding; package com.wireguard.android.databinding;
import android.databinding.BindingAdapter; import android.databinding.BindingAdapter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding; package com.wireguard.android.databinding;
import android.databinding.DataBindingUtil; import android.databinding.DataBindingUtil;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding; package com.wireguard.android.databinding;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment; package com.wireguard.android.fragment;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment; package com.wireguard.android.fragment;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment; package com.wireguard.android.fragment;
import android.os.Bundle; import android.os.Bundle;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment; package com.wireguard.android.fragment;
import android.app.Activity; import android.app.Activity;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment; package com.wireguard.android.fragment;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.model; package com.wireguard.android.model;
import android.databinding.BaseObservable; import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.model; package com.wireguard.android.model;
import android.content.SharedPreferences; import android.content.SharedPreferences;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.preference; package com.wireguard.android.preference;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.preference; package com.wireguard.android.preference;
import android.Manifest; import android.Manifest;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.os.Handler; import android.os.Handler;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.content.ClipData; import android.content.ClipData;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.util.Log; import android.util.Log;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
/** /**

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import java.util.Collection; import java.util.Collection;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.databinding.ObservableArrayList; import android.databinding.ObservableArrayList;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.databinding.ObservableList; import android.databinding.ObservableList;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
/** /**

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import java.util.Collection; import java.util.Collection;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util; package com.wireguard.android.util;
import android.content.Context; import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.widget; package com.wireguard.android.widget;
import android.text.InputFilter; import android.text.InputFilter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.widget; package com.wireguard.android.widget;
import android.text.InputFilter; import android.text.InputFilter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config; package com.wireguard.config;
import android.text.TextUtils; import android.text.TextUtils;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config; package com.wireguard.config;
import android.databinding.BaseObservable; import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config; package com.wireguard.config;
import java.net.Inet4Address; import java.net.Inet4Address;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config; package com.wireguard.config;
import android.databinding.BaseObservable; import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config; package com.wireguard.config;
import android.databinding.BaseObservable; import android.databinding.BaseObservable;

View File

@ -1,4 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ /*
* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.crypto; package com.wireguard.crypto;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.crypto; package com.wireguard.crypto;
import java.security.SecureRandom; import java.security.SecureRandom;