Changeset 22481

Show
Ignore:
Timestamp:
22.07.2010 16:29:27 (9 years ago)
Author:
sjm84
Message:

A few minor fixes to the new ant task

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/ant-tasks/src/org/greenstone/anttasks/InsertUniqueValue.java

    r22480 r22481  
    122122            try { 
    123123                //create temp file. 
    124                 temp = File.createTempFile("rsr", ".tmp"); 
     124                temp = File.createTempFile("iuv", ".tmp"); 
    125125 
    126126                //delete temp file when program exits. 
     
    159159                    hasMoreLines = false; 
    160160                } else { 
    161  
    162161                    //only if within the given line range 
    163162                    if ( ( fromLine == -1 || lineNumber >= fromLine ) && ( toLine == -1 || lineNumber < toLine ) ) {