You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2025/03/06 07:36:00 UTC
[jira] [Updated] (MNG-8612) Node.asString vs toString
[ https://issues.apache.org/jira/browse/MNG-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated MNG-8612:
---------------------------------
Affects Version/s: 4.0.0-rc-3
> Node.asString vs toString
> -------------------------
>
> Key: MNG-8612
> URL: https://issues.apache.org/jira/browse/MNG-8612
> Project: Maven
> Issue Type: Bug
> Affects Versions: 4.0.0-rc-3
> Reporter: Elliotte Rusty Harold
> Assignee: Guillaume Nodet
> Priority: Blocker
>
> The Node interface has an asString method. It seems likely that this should just be toString like other Java classes. However, if there's a reason for a separate method, the JavaDoc should explain that. Currently it says "Returns a string representation of this dependency node." which is almost what the JavaDoc for the generic toString method of object says: "Returns a string representation of the object."
--
This message was sent by Atlassian Jira
(v8.20.10#820010)