[ 
https://issues.apache.org/jira/browse/MRESOLVER-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831331#comment-17831331
 ] 

ASF GitHub Bot commented on MRESOLVER-516:
------------------------------------------

gnodet commented on code in PR #448:
URL: https://github.com/apache/maven-resolver/pull/448#discussion_r1541035094


##########
maven-resolver-tools/src/main/java/org/eclipse/aether/tools/CollectConfiguration.java:
##########
@@ -208,6 +208,9 @@ private static String 
getConfigurationType(JavaDocCapable<?> javaDocCapable) {
             if (type.startsWith("{@link ") && type.endsWith("}")) {
                 type = type.substring(7, type.length() - 1);
             }
+            if (type.startsWith("java.lang.")) {
+                type = type.substring(10);

Review Comment:
   `"java.lang.".length()` is less error-prone during refactoring...
   Same for the line above..





> Align GPG signature generator
> -----------------------------
>
>                 Key: MRESOLVER-516
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-516
>             Project: Maven Resolver
>          Issue Type: Task
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.0, 2.0.0-alpha-9
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to