From 4c97a5c462d2963ed93e1d69b9f7e0760ea5377f Mon Sep 17 00:00:00 2001 From: Sjoerd Talsma Date: Mon, 20 Aug 2018 09:38:55 +0200 Subject: [PATCH] JavaDoc: Use UML doclet version 2 (requires JDK 9) --- .../enumerables/jdbi/EnumerableArgumentFactory.java | 4 ++-- .../jdbi3/EnumerableArgumentFactory.java | 2 +- .../nl/talsmasoftware/enumerables/Enumerable.java | 5 +---- .../nl/talsmasoftware/enumerables/package-info.java | 4 +--- pom.xml | 13 ++++--------- 5 files changed, 9 insertions(+), 19 deletions(-) diff --git a/enumerables-jdbi/src/main/java/nl/talsmasoftware/enumerables/jdbi/EnumerableArgumentFactory.java b/enumerables-jdbi/src/main/java/nl/talsmasoftware/enumerables/jdbi/EnumerableArgumentFactory.java index 311d6749..b420dc8c 100644 --- a/enumerables-jdbi/src/main/java/nl/talsmasoftware/enumerables/jdbi/EnumerableArgumentFactory.java +++ b/enumerables-jdbi/src/main/java/nl/talsmasoftware/enumerables/jdbi/EnumerableArgumentFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2017 Talsma ICT + * Copyright 2016-2018 Talsma ICT * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ * public interface MyDao { * ... * {@literal @}SqlQuery("select ... as obj from ... where type = :type") - * List<MyValueObject> queryWithType({@literal @}Bind("type") MyTypeEnumerable type); + * List<MyValueObject> queryWithType({@literal @}Bind("type") MyTypeEnumerable type); * ... * } * diff --git a/enumerables-jdbi3/src/main/java/nl/talsmasoftware/enumerables/jdbi3/EnumerableArgumentFactory.java b/enumerables-jdbi3/src/main/java/nl/talsmasoftware/enumerables/jdbi3/EnumerableArgumentFactory.java index 78a36d81..b4c01a74 100644 --- a/enumerables-jdbi3/src/main/java/nl/talsmasoftware/enumerables/jdbi3/EnumerableArgumentFactory.java +++ b/enumerables-jdbi3/src/main/java/nl/talsmasoftware/enumerables/jdbi3/EnumerableArgumentFactory.java @@ -34,7 +34,7 @@ * public interface MyDao { * ... * {@literal @}SqlQuery("select ... as obj from ... where type = :type") - * List<MyValueObject> queryWithType({@literal @}Bind("type") MyTypeEnumerable type); + * List<MyValueObject> queryWithType({@literal @}Bind("type") MyTypeEnumerable type); * ... * } * diff --git a/enumerables/src/main/java/nl/talsmasoftware/enumerables/Enumerable.java b/enumerables/src/main/java/nl/talsmasoftware/enumerables/Enumerable.java index 2e1c1965..1e09a68c 100644 --- a/enumerables/src/main/java/nl/talsmasoftware/enumerables/Enumerable.java +++ b/enumerables/src/main/java/nl/talsmasoftware/enumerables/Enumerable.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2017 Talsma ICT + * Copyright 2016-2018 Talsma ICT * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,9 +59,6 @@ *

* TODO: Talk about values(), ordinal(), and other enum concepts. * TODO: Document an example of how using it. - *

- * Here is a generated UML class diagram for this core Enumerable class:
- *

Class diagram of enumerables package
* * @author Sjoerd Talsma */ diff --git a/enumerables/src/main/java/nl/talsmasoftware/enumerables/package-info.java b/enumerables/src/main/java/nl/talsmasoftware/enumerables/package-info.java index 879956e8..795d30f4 100644 --- a/enumerables/src/main/java/nl/talsmasoftware/enumerables/package-info.java +++ b/enumerables/src/main/java/nl/talsmasoftware/enumerables/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2017 Talsma ICT + * Copyright 2016-2018 Talsma ICT * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,8 +31,6 @@ * but also offers a possibility to represent yet unknown additional values by parsing them. * In fact; parsing a known value results in the single constant reference. * Same goes for serialization and deserialization. - *

- * Class diagram for this package:

package class diagram
* * @author Sjoerd Talsma */ diff --git a/pom.xml b/pom.xml index e2469584..bb672792 100644 --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,7 @@ 4.3.0 1.6.8 1.4 - 1.0.18 + 2.0.0-rc.2 @@ -275,20 +275,15 @@ jar + + 9 + nl.talsmasoftware.umldoclet.UMLDoclet nl.talsmasoftware umldoclet ${umldoclet.version} - UTF-8 - true - - -umlImageFormat SVG - -umlImageDirectory images - -umlCommand "hide empty fields" - -umlCommand "hide empty methods" -