Skip to content

Commit 6f8eca3

Browse files
Fix javadoc pb and missing copyright (#91)
Signed-off-by: Franck LECUYER <franck.lecuyer@rte-france.com>
1 parent 070cf67 commit 6f8eca3

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

src/main/java/org/gridsuite/filter/utils/TimeUtils.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
/**
2+
* Copyright (c) 2025, RTE (http://www.rte-france.com)
3+
* This Source Code Form is subject to the terms of the Mozilla Public
4+
* License, v. 2.0. If a copy of the MPL was not distributed with this
5+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6+
*/
17
package org.gridsuite.filter.utils;
28

3-
import com.google.common.annotations.VisibleForTesting;
49
import lombok.Getter;
5-
import lombok.Setter;
610

711
import java.time.Clock;
812
import java.time.Instant;
@@ -18,7 +22,6 @@ private TimeUtils() {
1822
throw new AssertionError("Utility class should not be instantiated");
1923
}
2024

21-
@Setter(onMethod_ = {@VisibleForTesting})
2225
@Getter
2326
private static Clock clock = Clock.systemUTC();
2427

src/main/java/org/gridsuite/filter/utils/UuidUtils.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/**
2+
* Copyright (c) 2025, RTE (http://www.rte-france.com)
3+
* This Source Code Form is subject to the terms of the Mozilla Public
4+
* License, v. 2.0. If a copy of the MPL was not distributed with this
5+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6+
*/
17
package org.gridsuite.filter.utils;
28

39
import com.google.common.annotations.VisibleForTesting;
4-
import lombok.Setter;
510

611
import java.util.UUID;
712
import java.util.function.Supplier;
@@ -15,7 +20,6 @@ private UuidUtils() {
1520
throw new AssertionError("Utility class should not be instantiated");
1621
}
1722

18-
@Setter(onMethod_ = {@VisibleForTesting})
1923
private static Supplier<UUID> uuidSupplier = UUID::randomUUID;
2024

2125
public static UUID generateUUID() {

0 commit comments

Comments
 (0)