[
http://jira.codehaus.org/browse/MTAGLIST-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MTAGLIST-36.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Fixed in r7523.
> Wrong file name reported for files that contains the word java in the middle
> of the name
> ----------------------------------------------------------------------------------------
>
> Key: MTAGLIST-36
> URL: http://jira.codehaus.org/browse/MTAGLIST-36
> Project: Maven 2.x Taglist Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Dennis Lundberg
> Assignee: Dennis Lundberg
> Fix For: 2.3
>
>
> This was reported by Matt Lindner:
> {quote}
> A thing I've found whilst using the plugin is that it does seem to do a funny
> thing with class names. we've identified that whenever a java source file
> has .java in it the file name reported is actually the name without anything
> matching the regexp .java, i.e. consider the following java source file:
> {code}
> package de.main.health ;
> class XYjavatest
> {
> // TODO something
> }
> {code}
> the class name reported to having the todo in it is called
> de.main.health.Xtest.
> we think the mistake is happening in in FileReport.java:145, the source line
> reading
> className = packageName + "." + file.getName().replaceAll( ".java",
> "" );
> where the ".java" could possibly replaced with "\\.java$" - because it's
> thought of as a regexp?
> {quote}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email