Skip to content

Commit 61eec2f

Browse files
committed
No effective change, tidy generator Util
1 parent 4b9d755 commit 61eec2f

File tree

1 file changed

+0
-3
lines changed
  • http-generator-core/src/main/java/io/avaje/http/generator/core

1 file changed

+0
-3
lines changed

http-generator-core/src/main/java/io/avaje/http/generator/core/Util.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)