You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/09/02 01:06:09 UTC

svn commit: r265800 - /lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java

Author: cutting
Date: Thu Sep  1 16:06:08 2005
New Revision: 265800

URL: http://svn.apache.org/viewcvs?rev=265800&view=rev
Log:
Fixed some typos from too much cut+paste.

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java?rev=265800&r1=265799&r2=265800&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/searcher/FetchedSegments.java Thu Sep  1 16:06:08 2005
@@ -73,18 +73,18 @@
 
     public ParseData getParseData(UTF8 url) throws IOException {
       synchronized (this) {
-        if (content == null)
-          content = getReaders(ParseData.DIR_NAME);
+        if (parseData == null)
+          parseData = getReaders(ParseData.DIR_NAME);
       }
-      return (ParseData)getEntry(content, url, new ParseData());
+      return (ParseData)getEntry(parseData, url, new ParseData());
     }
 
     public ParseText getParseText(UTF8 url) throws IOException {
       synchronized (this) {
-        if (content == null)
-          content = getReaders(ParseText.DIR_NAME);
+        if (parseText == null)
+          parseText = getReaders(ParseText.DIR_NAME);
       }
-      return (ParseText)getEntry(content, url, new ParseText());
+      return (ParseText)getEntry(parseText, url, new ParseText());
     }
     
     private MapFile.Reader[] getReaders(String subDir) throws IOException {