From 6caed46dba2c8be34c3cb32dc6bddf31f98eac02 Mon Sep 17 00:00:00 2001
From: Sven Göthel <sgothel@jausoft.com>
Date: Sun, 4 Feb 2024 07:33:21 +0100
Subject: Use new com.jogamp.common.util.StringUtil (GlueGen)

---
 .../classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java')

diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java
index 5d60e2686..b538d1546 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java
@@ -55,17 +55,6 @@ public class TextRegionUtil {
         this.renderModes = renderModes;
     }
 
-    public static int getCharCount(final String s, final char c) {
-        final int sz = s.length();
-        int count = 0;
-        for(int i=0; i<sz; i++) {
-            if( s.charAt(i) == c ) {
-                count++;
-            }
-        }
-        return count;
-    }
-
     /**
      * Add the string in 3D space w.r.t. the font in font em-size [0..1] at the end of the {@link GLRegion}
      * while passing the progressed {@link AffineTransform}.
-- 
cgit v1.2.3