From 3cbaf16e8aa9846c0b62754d9683d5f715b2db14 Mon Sep 17 00:00:00 2001
From: "PMD CI (pmd-bot)"
Date: Fri, 28 May 2021 11:20:28 +0000
Subject: [PATCH] Update documentation
https://github.com/pmd/pmd/actions/runs/885351000
https://github.com/pmd/pmd/compare/2298f302b495...b520361d7146
---
feed.xml | 4 ++--
pmd_release_notes.html | 5 +++++
pmd_rules_java_performance.html | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/feed.xml b/feed.xml
index d75e8b9e29..bb18e3a87d 100644
--- a/feed.xml
+++ b/feed.xml
@@ -5,8 +5,8 @@
Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.
https://pmd.github.io/pmd/
- Fri, 28 May 2021 11:08:19 +0000
- Fri, 28 May 2021 11:08:19 +0000
+ Fri, 28 May 2021 11:18:32 +0000
+ Fri, 28 May 2021 11:18:32 +0000Jekyll v3.9.0
diff --git a/pmd_release_notes.html b/pmd_release_notes.html
index ad0f1fdc0b..a1141e6fd4 100644
--- a/pmd_release_notes.html
+++ b/pmd_release_notes.html
@@ -1572,6 +1572,11 @@ However, Object.clone()#3268: [java] ConstructorCallsOverridableMethod: IndexOutOfBoundsException with annotations
+
java-performance
+
+
#1438: [java] InsufficientStringBufferDeclaration false positive for initial calculated StringBuilder size
diff --git a/pmd_rules_java_performance.html b/pmd_rules_java_performance.html
index 9ed6879bbb..aecaf3627c 100644
--- a/pmd_rules_java_performance.html
+++ b/pmd_rules_java_performance.html
@@ -1955,10 +1955,10 @@ is assumed if the length of the constructor can not be determined.
Example(s):
-
StringBufferbad=newStringBuffer();
+
StringBuilderbad=newStringBuilder();bad.append("This is a long string that will exceed the default 16 characters");
-StringBuffergood=newStringBuffer(41);
+StringBuildergood=newStringBuilder(41);good.append("This is a long string, which is pre-sized");