Changeset 6181 for trunk


Ignore:
Timestamp:
2003-12-09T12:17:25+13:00 (20 years ago)
Author:
jmt12
Message:

No longer uses caching of previous requests as they caused death of a million boxes problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocument.java

    r6007 r6181  
    146146    String request = "getText(" + offset + ", " + l + ")";
    147147    ///ystem.err.println(request);
    148     String text = (String) cache.get(request);
     148    String text = null;//(String) cache.get(request);
    149149    if(text == null || text.length() < l) {
    150150        try {
     
    183183        throw new BadLocationException("AppendLineOnlyDocument.getText(" + offset + ", " + l + ")", offset);
    184184        }
    185         cache.put(request, text);
     185        //cache.put(request, text);
    186186    }
    187187    request = null;
Note: See TracChangeset for help on using the changeset viewer.