File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
http-generator-core/src/main/java/io/avaje/http/generator/core Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ public static UType parse(String rawType) {
4141 public static String typeDef (TypeMirror typeMirror ) {
4242 if (typeMirror .getKind () == TypeKind .DECLARED ) {
4343 DeclaredType declaredType = (DeclaredType ) typeMirror ;
44-
4544 return declaredType .asElement ().toString ();
4645 } else {
4746 return trimAnnotations (typeMirror .toString ());
@@ -50,7 +49,6 @@ public static String typeDef(TypeMirror typeMirror) {
5049
5150 /** Trim off annotations from the raw type if present. */
5251 public static String trimAnnotations (String input ) {
53-
5452 input = COMMA_PATTERN .matcher (input ).replaceAll ("," );
5553
5654 return cutAnnotations (input );
@@ -63,7 +61,6 @@ private static String cutAnnotations(String input) {
6361 }
6462
6563 final Matcher matcher = WHITE_SPACE_REGEX .matcher (input );
66-
6764 int currentIndex = 0 ;
6865 if (matcher .find ()) {
6966 currentIndex = matcher .start ();
You can’t perform that action at this time.
0 commit comments