From 36b00f803a0b307c30f79378cd758323c242cc65 Mon Sep 17 00:00:00 2001 From: Allon Mureinik Date: Thu, 23 Feb 2017 01:20:47 +0200 Subject: [PATCH] Fix JsonToStringStyleTest.NestingPerson javadoc (closes #243) A {@link} javadoc can only reference a resolvable class name. The {@link} tag in NestingPerson's javadoc is thus broken, as it directly references JsonToStringStyle without qualifying it with the enclosing ToStringStyle class. This patch adds the enclosing class to the javadoc, thus "unbreaking" the reference. --- .../org/apache/commons/lang3/builder/JsonToStringStyleTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/builder/JsonToStringStyleTest.java b/src/test/java/org/apache/commons/lang3/builder/JsonToStringStyleTest.java index 580a25410..c60dc050c 100644 --- a/src/test/java/org/apache/commons/lang3/builder/JsonToStringStyleTest.java +++ b/src/test/java/org/apache/commons/lang3/builder/JsonToStringStyleTest.java @@ -359,7 +359,7 @@ public class JsonToStringStyleTest { } /** - * An object with nested object structures used to test {@link JsonToStringStyle}. + * An object with nested object structures used to test {@link ToStringStyle.JsonToStringStyle}. * */ static class NestingPerson {