diff --git a/CSharpTranslator/src/CS2JTranslator/CS2JMain/CS2JMain.cs b/CSharpTranslator/src/CS2JTranslator/CS2JMain/CS2JMain.cs index f5e804d2..84e9509e 100644 --- a/CSharpTranslator/src/CS2JTranslator/CS2JMain/CS2JMain.cs +++ b/CSharpTranslator/src/CS2JTranslator/CS2JMain/CS2JMain.cs @@ -709,7 +709,7 @@ public static void translateFile(string fullName) { if (cfg.DebugLevel >= 1) Console.Out.WriteLine("Writing out {0}", javaFName); StreamWriter javaW = new StreamWriter(javaFName); - javaW.Write(outputMaker.compilation_unit().ToString()); + javaW.Write(outputMaker.compilation_unit().ToString().Replace("//CS2J:Java code:", "")); javaW.Close(); } else