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..



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to