From d9552dfc34f9f9cebdd303948ba5b705a3782989 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Wed, 8 Dec 2021 19:29:29 +0100 Subject: [PATCH] wip --- build.xml | 2 +- pom.xml | 34 +++++-------------- src/net/sourceforge/plantuml/emoji/Emoji.java | 8 ++--- .../sourceforge/plantuml/version/Version.java | 6 ++-- 4 files changed, 15 insertions(+), 35 deletions(-) diff --git a/build.xml b/build.xml index cb6ff16d7..764b8da62 100644 --- a/build.xml +++ b/build.xml @@ -38,8 +38,8 @@ - + diff --git a/pom.xml b/pom.xml index f3d2ed505..989e287fc 100644 --- a/pom.xml +++ b/pom.xml @@ -32,15 +32,11 @@ --> 4.0.0 - net.sourceforge.plantuml plantuml - 1.2021.15-SNAPSHOT - + 1.2021.16-SNAPSHOT jar - PlantUML - PlantUML is a component that allows to quickly write : * sequence diagram, @@ -50,16 +46,13 @@ * component diagram, * state diagram * object diagram - - + https://plantuml.com - org.sonatype.oss oss-parent 7 - ${project.artifactId}-${project.version} 1.7 @@ -68,7 +61,6 @@ 1.8 net.sourceforge.plantuml.Run - @@ -80,7 +72,6 @@ - org.apache.ant @@ -106,7 +97,6 @@ test - The GNU General Public License @@ -114,18 +104,15 @@ repo - scm:svn:svn://svn.code.sf.net/p/plantuml/code/trunk scm:svn:https://svn.code.sf.net/p/plantuml/code/trunk svn://svn.code.sf.net/p/plantuml/code/trunk - Sourceforge http://sourceforge.net/tracker/?group_id=259736 - arnaud.roques @@ -133,7 +120,6 @@ plantuml@gmail.com - ${finalName} ${project.basedir}/src @@ -145,8 +131,8 @@ net/sourceforge/plantuml/version/*.png net/sourceforge/plantuml/openiconic/data/*.txt net/sourceforge/plantuml/openiconic/data/*.svg - net/sourceforge/plantuml/emoji/data/*.svg net/sourceforge/plantuml/emoji/data/*.txt + net/sourceforge/plantuml/emoji/data/*.svg net/sourceforge/plantuml/fun/*.png sprites/archimate/*.png net/sourceforge/plantuml/dedication/*.png @@ -192,7 +178,7 @@ maven-javadoc-plugin - 3.3.1 + 3.2.0 attach-javadocs @@ -200,9 +186,9 @@ jar + -Xdoclint:none + -Xdoclint:none none - true - net/sourceforge/plantuml/**/*.java @@ -242,13 +228,12 @@ - + Kludge to make 1.8 tests with 1.7 source work nicer in IntelliJ + See https://youtrack.jetbrains.com/issue/IDEA-85478 + --> intellij false @@ -261,7 +246,6 @@ 1.8 - pdf diff --git a/src/net/sourceforge/plantuml/emoji/Emoji.java b/src/net/sourceforge/plantuml/emoji/Emoji.java index 567918259..cd6520a52 100644 --- a/src/net/sourceforge/plantuml/emoji/Emoji.java +++ b/src/net/sourceforge/plantuml/emoji/Emoji.java @@ -32,8 +32,8 @@ public class Emoji { private final static Map ALL = new HashMap<>(); static { - final InputStream tmp = getRessourceAllTxt(); - try (BufferedReader br = new BufferedReader(new InputStreamReader(tmp))) { + final InputStream is = Dummy.class.getResourceAsStream("emoji.txt"); + try (BufferedReader br = new BufferedReader(new InputStreamReader(is))) { String s = null; while ((s = br.readLine()) != null) { new Emoji(s); @@ -47,10 +47,6 @@ public class Emoji { return Collections.unmodifiableMap(new TreeMap<>(ALL)); } - static private InputStream getRessourceAllTxt() { - return Dummy.class.getResourceAsStream("emoji.txt"); - } - private final List data = new ArrayList<>(); private final String unicode; private final String shortcut; diff --git a/src/net/sourceforge/plantuml/version/Version.java b/src/net/sourceforge/plantuml/version/Version.java index 48258258b..45375bd7b 100644 --- a/src/net/sourceforge/plantuml/version/Version.java +++ b/src/net/sourceforge/plantuml/version/Version.java @@ -44,7 +44,7 @@ public class Version { private static final int MAJOR_SEPARATOR = 1000000; public static int version() { - return 1202115; + return 1202116; } public static int versionPatched() { @@ -80,7 +80,7 @@ public class Version { } public static int beta() { - final int beta = 3; + final int beta = 0; return beta; } @@ -93,7 +93,7 @@ public class Version { } public static long compileTime() { - return 1638290734924L; + return 1638984322158L; } public static String compileTimeString() {