From 3e9c7dd72cf8beb09d2d9469d87fcfc768a92e40 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" <TBlueF@users.noreply.github.com> Date: Tue, 13 Dec 2022 21:57:06 +0100 Subject: [PATCH] And apply spotless-fixes .. again --- .../bluemap/api/markers/DetailMarker.java | 24 +++++++++++++++ .../bluemap/api/markers/ElementMarker.java | 30 +++++++++++++++++-- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/bluecolored/bluemap/api/markers/DetailMarker.java b/src/main/java/de/bluecolored/bluemap/api/markers/DetailMarker.java index bc3bb88..02c9bcf 100644 --- a/src/main/java/de/bluecolored/bluemap/api/markers/DetailMarker.java +++ b/src/main/java/de/bluecolored/bluemap/api/markers/DetailMarker.java @@ -1,3 +1,27 @@ +/* + * This file is part of BlueMap, licensed under the MIT License (MIT). + * + * Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de> + * Copyright (c) contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package de.bluecolored.bluemap.api.markers; /** diff --git a/src/main/java/de/bluecolored/bluemap/api/markers/ElementMarker.java b/src/main/java/de/bluecolored/bluemap/api/markers/ElementMarker.java index 10bfc64..0acabc9 100644 --- a/src/main/java/de/bluecolored/bluemap/api/markers/ElementMarker.java +++ b/src/main/java/de/bluecolored/bluemap/api/markers/ElementMarker.java @@ -1,3 +1,27 @@ +/* + * This file is part of BlueMap, licensed under the MIT License (MIT). + * + * Copyright (c) Blue (Lukas Rieger) <https://bluecolored.de> + * Copyright (c) contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package de.bluecolored.bluemap.api.markers; import com.flowpowered.math.vector.Vector2i; @@ -67,14 +91,14 @@ default void setStyleClasses(String... styleClasses) { default void addStyleClasses(String... styleClasses) { this.setStyleClasses(Arrays.asList(styleClasses)); } - + /** * Adds the CSS-classes that the element of this marker will have.<br> * All classes must match <code>-?[_a-zA-Z]+[_a-zA-Z0-9-]*</code><br> * @param styleClasses the style-classes this element-marker will have */ void addStyleClasses(Collection<String> styleClasses); - + interface Builder<B> { /** @@ -93,7 +117,7 @@ interface Builder<B> { /** * Removes any existing style-classes from this builder. - * @see #styleClasses(String...) + * @see #styleClasses(String...) * @return this builder for chaining */ B clearStyleClasses();