Changeset 29918 for other-projects

Show
Ignore:
Timestamp:
22.05.2015 02:28:11 (4 years ago)
Author:
davidb
Message:

access line-separator in a Java 1.6 compatible way

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/main-form/my-design.jsp

    r29917 r29918  
    150150         String line = br.readLine(); 
    151151 
     152     String line_sep = System.getProperty("line.separator"); 
    152153         while (line != null) { 
    153154            sb.append(line); 
    154             sb.append(System.lineSeparator()); 
     155            sb.append(line_sep); 
    155156            line = br.readLine(); 
    156157         }