diff --git a/agent/src/main/java/org/openremote/agent/custom/CustomAgent.java b/agent/src/main/java/org/openremote/agent/custom/CustomAgent.java index 2a152dec8..4610d6490 100644 --- a/agent/src/main/java/org/openremote/agent/custom/CustomAgent.java +++ b/agent/src/main/java/org/openremote/agent/custom/CustomAgent.java @@ -1,9 +1,6 @@ /* * Copyright 2017, OpenRemote Inc. * - * See the CONTRIBUTORS.txt file in the distribution for a - * full listing of individual contributors. - * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the @@ -15,10 +12,14 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * along with this program. If not, see . + * + * SPDX-License-Identifier: AGPL-3.0-or-later */ package org.openremote.agent.custom; +import java.util.Optional; + import org.openremote.model.asset.Asset; import org.openremote.model.asset.agent.Agent; import org.openremote.model.asset.agent.AgentDescriptor; @@ -27,57 +28,57 @@ import org.openremote.model.value.ValueDescriptor; import jakarta.persistence.Entity; -import java.util.Optional; /** - * This is an example of a custom {@link Agent} type; this must be registered via an - * {@link org.openremote.model.AssetModelProvider} and must conform to the same requirements as custom {@link Asset}s and - * in addition the following requirements: + * This is an example of a custom {@link Agent} type; this must be registered via an {@link + * org.openremote.model.AssetModelProvider} and must conform to the same requirements as custom + * {@link Asset}s and in addition the following requirements: * * */ @Entity public class CustomAgent extends Agent { - public enum Option { - ONE, - TWO, - THREE - }; + public enum Option { + ONE, + TWO, + THREE + }; - public static final ValueDescriptor