From 308525987dfef96c5174a0d01cc87c0c37da53c9 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 20 Jun 2012 02:14:07 -0700 Subject: [PATCH] Fix compilation error, Protip: Don't use java7 things when compiling for java6, and Don't report successful build on compilation errors cpw. --- fml/common/cpw/mods/fml/common/FMLLogFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/common/cpw/mods/fml/common/FMLLogFormatter.java b/fml/common/cpw/mods/fml/common/FMLLogFormatter.java index e1bcb20afe..d8576d346c 100644 --- a/fml/common/cpw/mods/fml/common/FMLLogFormatter.java +++ b/fml/common/cpw/mods/fml/common/FMLLogFormatter.java @@ -51,7 +51,7 @@ final class FMLLogFormatter extends Formatter } msg.append(record.getMessage()); - msg.append(System.lineSeparator()); + msg.append(System.getProperty("line.separator")); Throwable thr = record.getThrown(); if (thr != null)