From 8c42915f02d0ae183fe87dd42fae26ca8f0fc91b Mon Sep 17 00:00:00 2001 From: Pascal Wilbrink Date: Tue, 31 Oct 2023 13:34:13 +0100 Subject: [PATCH] Added spdx Headers Signed-off-by: Pascal Wilbrink --- .../java/org/lfenergy/compas/scl/data/model/IAbstractItem.java | 3 +++ .../java/org/lfenergy/compas/scl/data/model/IHistoryItem.java | 3 +++ .../main/java/org/lfenergy/compas/scl/data/model/IItem.java | 3 +++ .../src/main/java/org/lfenergy/compas/scl/data/xml/Item.java | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IAbstractItem.java b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IAbstractItem.java index 4a6fa9a1..c07da230 100644 --- a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IAbstractItem.java +++ b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IAbstractItem.java @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2023 Alliander N.V. +// +// SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.scl.data.model; public interface IAbstractItem { diff --git a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IHistoryItem.java b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IHistoryItem.java index 37e87448..3a6929e1 100644 --- a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IHistoryItem.java +++ b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IHistoryItem.java @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2023 Alliander N.V. +// +// SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.scl.data.model; public interface IHistoryItem extends IAbstractItem { diff --git a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IItem.java b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IItem.java index 8e21090e..c47abd6b 100644 --- a/repository/src/main/java/org/lfenergy/compas/scl/data/model/IItem.java +++ b/repository/src/main/java/org/lfenergy/compas/scl/data/model/IItem.java @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2023 Alliander N.V. +// +// SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.scl.data.model; import java.util.List; diff --git a/service/src/main/java/org/lfenergy/compas/scl/data/xml/Item.java b/service/src/main/java/org/lfenergy/compas/scl/data/xml/Item.java index 69dc14a4..51854393 100644 --- a/service/src/main/java/org/lfenergy/compas/scl/data/xml/Item.java +++ b/service/src/main/java/org/lfenergy/compas/scl/data/xml/Item.java @@ -22,7 +22,7 @@ public class Item extends AbstractItem implements IItem { example = "[Label-1, Label-2]") @XmlElement(name = "Label", namespace = SCL_DATA_SERVICE_V1_NS_URI) - private List labels; + private List labels = new ArrayList<>(); public Item() { }