From 7b99cffca8ed5cf361ef1226c88e4d1054b2af61 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 17 Nov 2021 00:26:43 -0800 Subject: [PATCH] Fix OptionValueParser header --- .../kotlin/carbon.base-conventions.gradle.kts | 1 + .../command/argument/OptionValueParser.java | 25 ++++++++----------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/build-logic/src/main/kotlin/carbon.base-conventions.gradle.kts b/build-logic/src/main/kotlin/carbon.base-conventions.gradle.kts index f0f02e5e..f5b1d2e3 100644 --- a/build-logic/src/main/kotlin/carbon.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/carbon.base-conventions.gradle.kts @@ -16,6 +16,7 @@ indra { license { header.set(resources.text.fromFile(rootProject.file("LICENSE_HEADER"))) + exclude("net/draycia/carbon/common/command/argument/OptionValueParser.java") } tasks { diff --git a/common/src/main/java/net/draycia/carbon/common/command/argument/OptionValueParser.java b/common/src/main/java/net/draycia/carbon/common/command/argument/OptionValueParser.java index 98a5b571..3adcf737 100644 --- a/common/src/main/java/net/draycia/carbon/common/command/argument/OptionValueParser.java +++ b/common/src/main/java/net/draycia/carbon/common/command/argument/OptionValueParser.java @@ -1,21 +1,18 @@ /* - * CarbonChat + * PermissionsEx + * Copyright (C) zml and PermissionsEx contributors * - * Copyright (c) 2021 Josua Parks (Vicarious) - * Contributors + * 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 * - * 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. + * http://www.apache.org/licenses/LICENSE-2.0 * - * 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 . + * 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. */ package net.draycia.carbon.common.command.argument;