Revision: 6798 Author: j...@google.com Date: Tue Nov 10 10:16:22 2009 Log: Fixes unnecessary newlines in obfuscated, generated CSS. Review by: bobv (desk check). http://code.google.com/p/google-web-toolkit/source/detail?r=6798
Modified: /trunk/user/src/com/google/gwt/resources/css/CssGenerationVisitor.java ======================================= --- /trunk/user/src/com/google/gwt/resources/css/CssGenerationVisitor.java Wed May 20 16:14:31 2009 +++ /trunk/user/src/com/google/gwt/resources/css/CssGenerationVisitor.java Tue Nov 10 10:16:22 2009 @@ -85,7 +85,7 @@ public void endVisit(CssMediaRule x, Context ctx) { out.indentOut(); out.print("}"); - out.newline(); + out.newlineOpt(); } @Override @@ -98,7 +98,7 @@ public void endVisit(CssPageRule x, Context ctx) { out.indentOut(); out.print("}"); - out.newline(); + out.newlineOpt(); } @Override @@ -274,7 +274,7 @@ private void closeBrace() { out.indentOut(); out.print('}'); - out.newline(); + out.newlineOpt(); } private void colon() { --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---