|
From: <bi...@us...> - 2008-07-25 20:33:50
|
Revision: 2495
http://archive-access.svn.sourceforge.net/archive-access/?rev=2495&view=rev
Author: binzino
Date: 2008-07-25 20:33:59 +0000 (Fri, 25 Jul 2008)
Log Message:
-----------
Changed "none" to "unknown" for HTTPStatusCodeFilter to avoid
confusion over whether "none" means "nothing is allowed at all"
vs. "no code for this record".
Modified Paths:
--------------
trunk/archive-access/projects/nutchwax/archive/src/java/org/archive/nutchwax/Importer.java
Modified: trunk/archive-access/projects/nutchwax/archive/src/java/org/archive/nutchwax/Importer.java
===================================================================
--- trunk/archive-access/projects/nutchwax/archive/src/java/org/archive/nutchwax/Importer.java 2008-07-25 20:24:53 UTC (rev 2494)
+++ trunk/archive-access/projects/nutchwax/archive/src/java/org/archive/nutchwax/Importer.java 2008-07-25 20:33:59 UTC (rev 2495)
@@ -715,10 +715,10 @@
{
Range range = new Range( );
- // Special handling for "none" where an ARCRecord doesn't have
+ // Special handling for "unknown" where an ARCRecord doesn't have
// an HTTP status code. The ARCRecord.getStatusCode() returns
// -1 in that case, so we make a range for it.
- if ( value.toLowerCase( ).equals( "none" ) )
+ if ( value.toLowerCase( ).equals( "unknown" ) )
{
range.lower = -1;
range.upper = -1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|