Skip to content

Commit 0b41398

Browse files
committed
Rename constant in TypeUtils
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
1 parent 66dc0db commit 0b41398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/github/markusbernhardt/xmldoclet/TypeUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class TypeUtils {
2323
*
2424
* This way, we invert that order for a conventional representation of a method signature.
2525
*/
26-
private static final Pattern methodSignatureWithReturnTypeAtRightSide = Pattern.compile("^(\\(.*\\))(.*)");
26+
private static final Pattern METHOD_SIGNATURE_WITH_RETURN_TYPE_AT_RIGHT_SIDE = Pattern.compile("^(\\(.*\\))(.*)");
2727

2828
public TypeUtils(final Types types, final Elements elements) {
2929
this.types = types;
@@ -126,7 +126,7 @@ static String getQualifiedName(final Element element) {
126126

127127
static String getQualifiedName(final TypeMirror typeMirror) {
128128
final String qualified = typeMirror.toString();
129-
final var matcher = methodSignatureWithReturnTypeAtRightSide.matcher(qualified);
129+
final var matcher = METHOD_SIGNATURE_WITH_RETURN_TYPE_AT_RIGHT_SIDE.matcher(qualified);
130130

131131
return matcher.matches() ? matcher.group(2) + " " + matcher.group(1) : qualified;
132132
}

0 commit comments

Comments
 (0)