From bb1ede559805e2fd18c36c55e3e4f6739dee89f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Fri, 12 Apr 2019 14:28:53 -0300 Subject: [PATCH] Update changelog, refs #1691 --- docs/pages/release_notes.md | 1 + .../typeresolution/typedefinition/JavaTypeDefinitionSimple.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index dcec3b34b5..2336c88a99 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -29,6 +29,7 @@ Being based on a proper Antlr grammar, CPD can: * go * [#1751](https://github.com/pmd/pmd/issues/1751): \[go] Parsing errors encountered with escaped backslash * java + * [#1691](https://github.com/pmd/pmd/issues/1691): \[java] Possible Data Race in JavaTypeDefinitionSimple.getGenericType * [#1729](https://github.com/pmd/pmd/issues/1729): \[java] JavaRuleViolation loses information in `className` field when class has package-private access level * java-bestpractices * [#1720](https://github.com/pmd/pmd/issues/1720): \[java] UnusedImports false positive for Javadoc link with array type diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/typedefinition/JavaTypeDefinitionSimple.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/typedefinition/JavaTypeDefinitionSimple.java index ba9d87d159..b1eca9da7f 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/typedefinition/JavaTypeDefinitionSimple.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/typedefinition/JavaTypeDefinitionSimple.java @@ -130,7 +130,7 @@ import java.util.logging.Logger; } /* - * Set a default to circuit-brake any recursions (ie: raw types with no generic info) + * Set a default to circuit-break any recursions (ie: raw types with no generic info) * Object.class is a right answer in those scenarios */ genericArgs[index] = forClass(Object.class);