From 40d6c87629dc6d910695fad5c2a7a5074e4cc36b Mon Sep 17 00:00:00 2001 From: Matt Malec Date: Mon, 1 Apr 2024 23:00:55 -0400 Subject: [PATCH] chore: run the spotless checks --- .../application/entities/ApplicationEgg.java | 2 +- .../application/entities/DockerImage.java | 20 ++++++++- .../entities/impl/ApplicationEggImpl.java | 2 +- .../entities/impl/DockerImageImpl.java | 45 +++++++++++++------ 4 files changed, 51 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/ApplicationEgg.java b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/ApplicationEgg.java index 8d1fd72..1b56249 100644 --- a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/ApplicationEgg.java +++ b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/ApplicationEgg.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Matt Malec, and the Pterodactyl4J contributors + * Copyright 2021-2024 Matt Malec, and the Pterodactyl4J contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/DockerImage.java b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/DockerImage.java index 50a88a0..22b37ad 100644 --- a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/DockerImage.java +++ b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/DockerImage.java @@ -1,7 +1,23 @@ +/* + * Copyright 2024 Matt Malec, and the Pterodactyl4J 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.mattmalec.pterodactyl4j.application.entities; public interface DockerImage { - String getName(); + String getName(); - String getImage(); + String getImage(); } diff --git a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/ApplicationEggImpl.java b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/ApplicationEggImpl.java index e23b7c6..7c0362e 100644 --- a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/ApplicationEggImpl.java +++ b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/ApplicationEggImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Matt Malec, and the Pterodactyl4J contributors + * Copyright 2021-2024 Matt Malec, and the Pterodactyl4J contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/DockerImageImpl.java b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/DockerImageImpl.java index 680344b..4c101d8 100644 --- a/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/DockerImageImpl.java +++ b/src/main/java/com/mattmalec/pterodactyl4j/application/entities/impl/DockerImageImpl.java @@ -1,22 +1,39 @@ +/* + * Copyright 2024 Matt Malec, and the Pterodactyl4J 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.mattmalec.pterodactyl4j.application.entities.impl; import com.mattmalec.pterodactyl4j.application.entities.DockerImage; public class DockerImageImpl implements DockerImage { - private final String name; - private final String image; + private final String name; + private final String image; + + public DockerImageImpl(String name, String image) { + this.name = name; + this.image = image; + } - public DockerImageImpl(String name, String image) { - this.name = name; - this.image = image; - } - @Override - public String getName() { - return name; - } + @Override + public String getName() { + return name; + } - @Override - public String getImage() { - return image; - } + @Override + public String getImage() { + return image; + } }