velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1780301 - /velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java
Date Thu, 26 Jan 2017 01:21:35 GMT
Author: cbrisson
Date: Thu Jan 26 01:21:35 2017
New Revision: 1780301

URL: http://svn.apache.org/viewvc?rev=1780301&view=rev
Log:
[engine] fixing \n ocurrences in progress

Modified:
    velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java

Modified: velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java?rev=1780301&r1=1780300&r2=1780301&view=diff
==============================================================================
--- velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java
(original)
+++ velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ParseException.java
Thu Jan 26 01:21:35 2017
@@ -160,7 +160,7 @@ public class ParseException extends Exce
   /**
    * The end of line string for this machine.
    */
-  protected String eol = System.getProperty("line.separator", "\n");
+  protected String eol = System.lineSeparator();
  
   /**
    * Used to convert raw characters to their escaped version



Mime
View raw message