Changeset 18974

Show
Ignore:
Timestamp:
15.04.2009 15:30:18 (11 years ago)
Author:
oranfry
Message:

keeping java 1.4 compiler happy

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/anttasks/src/org/greenstone/anttasks/RegexSearchReplace.java

    r18960 r18974  
    124124        //output lines if necessary 
    125125        if ( this.fromLine != -1 || this.toLine != -1 ) { 
    126             System.out.println( "Lines: " + (this.fromLine==-1?"Start":this.fromLine) + " ~ " + (this.toLine==-1?"End":this.toLine) ); 
     126            System.out.println( "Lines: " + (this.fromLine==-1?"Start":Integer.toString(this.fromLine)) + " ~ " + (this.toLine==-1?"End":Integer.toString(this.toLine)) ); 
    127127            System.out.println(); 
    128128        }