From 09e6f5f030c7e5db1eec7f8be13cb560b3ee5799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Guillemet?= Date: Sat, 3 Aug 2024 12:13:37 +0200 Subject: [PATCH] Rename chrono.Chrono to global.chrono --- .../javacpp/{chrono/Chrono.java => global/chrono.java} | 4 ++-- src/main/java/org/bytedeco/javacpp/presets/chrono.java | 3 ++- src/main/java9/module-info.java | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) rename src/main/java/org/bytedeco/javacpp/{chrono/Chrono.java => global/chrono.java} (67%) diff --git a/src/main/java/org/bytedeco/javacpp/chrono/Chrono.java b/src/main/java/org/bytedeco/javacpp/global/chrono.java similarity index 67% rename from src/main/java/org/bytedeco/javacpp/chrono/Chrono.java rename to src/main/java/org/bytedeco/javacpp/global/chrono.java index c2eb2304..02ae14eb 100644 --- a/src/main/java/org/bytedeco/javacpp/chrono/Chrono.java +++ b/src/main/java/org/bytedeco/javacpp/global/chrono.java @@ -1,7 +1,7 @@ -package org.bytedeco.javacpp.chrono; +package org.bytedeco.javacpp.global; import org.bytedeco.javacpp.annotation.Properties; @Properties(inherit = org.bytedeco.javacpp.presets.chrono.class) -public class Chrono { +public class chrono { } diff --git a/src/main/java/org/bytedeco/javacpp/presets/chrono.java b/src/main/java/org/bytedeco/javacpp/presets/chrono.java index 70ff5687..bcc98fe8 100644 --- a/src/main/java/org/bytedeco/javacpp/presets/chrono.java +++ b/src/main/java/org/bytedeco/javacpp/presets/chrono.java @@ -1,5 +1,6 @@ package org.bytedeco.javacpp.presets; +import org.bytedeco.javacpp.annotation.Platform; import org.bytedeco.javacpp.annotation.Properties; import org.bytedeco.javacpp.tools.Info; import org.bytedeco.javacpp.tools.InfoMap; @@ -8,7 +9,7 @@ @Properties( inherit = javacpp.class, target = "org.bytedeco.javacpp.chrono", - global = "org.bytedeco.javacpp.chrono.Chrono" + global = "org.bytedeco.javacpp.global.chrono" ) public class chrono implements InfoMapper { @Override public void map(InfoMap infoMap) { diff --git a/src/main/java9/module-info.java b/src/main/java9/module-info.java index 0000ac8f..2be2d574 100644 --- a/src/main/java9/module-info.java +++ b/src/main/java9/module-info.java @@ -3,6 +3,7 @@ exports org.bytedeco.javacpp; exports org.bytedeco.javacpp.annotation; exports org.bytedeco.javacpp.chrono; + exports org.bytedeco.javacpp.global; exports org.bytedeco.javacpp.indexer; exports org.bytedeco.javacpp.tools; exports org.bytedeco.javacpp.presets;