Set links as invalid on unknown errors
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
d7404af020
commit
71c1415b58
2 files changed
+3
-2
No files matched your search
@@ -30,7 +30,7 @@ import org.apache.commons.logging.LogFactory;
|
||||
/**
|
||||
* Checks links which are normal URLs
|
||||
* @author <a href="mailto:bwalding@apache.org">Ben Walding</a>
|
||||
* @version $Id: HTTPLinkValidator.java,v 1.12 2004/07/05 21:03:37 brett Exp $
|
||||
* @version $Id: HTTPLinkValidator.java,v 1.13 2004/08/01 22:28:14 carlos Exp $
|
||||
*/
|
||||
public class HTTPLinkValidator implements LinkValidator
|
||||
{
|
||||
@@ -101,7 +101,7 @@ public class HTTPLinkValidator implements LinkValidator
|
||||
|
||||
if (sl == null) {
|
||||
LOG.info("Unknown error validating link : " + link);
|
||||
return LVR_VALID;
|
||||
return LVR_INVALID;
|
||||
}
|
||||
|
||||
if (hm.getStatusCode() == 302)
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.4-SNAPSHOT" date="in CVS">
|
||||
<action dev="carlos" type="fix">Set links as invalid on unknown errors</action>
|
||||
<action dev="carlos" type="fix" issue="MPLINKCHECK-8">Use CDATA in file name</action>
|
||||
<action dev="carlos" type="add">Added <code>maven.linkcheck.exclude</code> property</action>
|
||||
</release>
|
||||
|
||||
Reference in new issue
Block a user