Project

General

Profile

« Previous | Next » 

Revision 1766

Added by Jing Tao over 21 years ago

Change a array size from 4*10(testing) to 4*1024.

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
1016 1016
          String fileName = currentNode.nodedata;
1017 1017
          Reader reader = 
1018 1018
                          EmlSAXHandler.readInlineDataFromFileSystem(fileName);
1019
          char [] characterArray = new char [4*10];
1019
          char [] characterArray = new char [4*1024];
1020 1020
          try
1021 1021
          {
1022 1022
            int length = reader.read(characterArray);

Also available in: Unified diff