Applied part of patch.
PR: MAVEN-164 Submitted by: Miguel Turbon git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b9cd20f629
commit
d5013b0ce0
@ -64,7 +64,7 @@ import org.apache.tools.ant.DirectoryScanner;
|
|||||||
* Main entry point into Maven used to kick off the XReference code building.
|
* Main entry point into Maven used to kick off the XReference code building.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
|
* @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
|
||||||
* @version $Id: JXR.java,v 1.3 2003/03/19 05:54:19 dion Exp $
|
* @version $Id: JXR.java,v 1.4 2003/04/18 14:38:36 bwalding Exp $
|
||||||
*/
|
*/
|
||||||
public class JXR
|
public class JXR
|
||||||
{
|
{
|
||||||
@ -189,7 +189,7 @@ public class JXR
|
|||||||
*/
|
*/
|
||||||
public static boolean isJavaFile(String filename)
|
public static boolean isJavaFile(String filename)
|
||||||
{
|
{
|
||||||
return filename.indexOf(".java") != -1;
|
return filename.endsWith(".java");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -202,7 +202,7 @@ public class JXR
|
|||||||
*/
|
*/
|
||||||
public static boolean isHtmlFile(String filename)
|
public static boolean isHtmlFile(String filename)
|
||||||
{
|
{
|
||||||
return filename.indexOf(".html") != -1;
|
return filename.endsWith(".html");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user