You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2025/09/24 13:16:15 UTC

(commons-geometry) 29/34: pmd fix: use larger StringBuilder

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit f2d4c11109f3e47c5219bc71610bd7a19c92e7c0
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Wed Sep 24 13:13:55 2025 +0100

    pmd fix: use larger StringBuilder
---
 .../java/org/apache/commons/geometry/euclidean/oned/OrientedPoint.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/OrientedPoint.java b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/OrientedPoint.java
index 611b8e00..614cfe32 100644
--- a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/OrientedPoint.java
+++ b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/oned/OrientedPoint.java
@@ -237,7 +237,7 @@ public final class OrientedPoint extends AbstractHyperplane<Vector1D> {
     @Override
     public String toString() {
         final StringBuilder sb = new StringBuilder();
-        sb.append(this.getClass().getSimpleName())
+        sb.append(this.getClass().getSimpleName(128))
             .append("[point= ")
             .append(point)
             .append(", direction= ")