Phil Huang
Committed by Gerrit Code Review

Format string should use %n rather than \n

%n should be used in place of \n to produce the platform-specific line separator

Change-Id: I718fdf33785ea0e78b091e01f02988bd394a9a26
...@@ -50,9 +50,9 @@ public class MainNavResource extends AbstractInjectionResource { ...@@ -50,9 +50,9 @@ public class MainNavResource extends AbstractInjectionResource {
50 "<!-- {INJECTED-VIEW-NAV-END} -->"; 50 "<!-- {INJECTED-VIEW-NAV-END} -->";
51 51
52 private static final String HDR_FORMAT = 52 private static final String HDR_FORMAT =
53 - "<div class=\"nav-hdr\">%s</div>\n"; 53 + "<div class=\"nav-hdr\">%s</div>%n";
54 private static final String NAV_FORMAT = 54 private static final String NAV_FORMAT =
55 - "<a ng-click=\"navCtrl.hideNav()\" href=\"#/%s\">%s %s</a>\n"; 55 + "<a ng-click=\"navCtrl.hideNav()\" href=\"#/%s\">%s %s</a>%n";
56 56
57 private static final String BLANK_GLYPH = "unknown"; 57 private static final String BLANK_GLYPH = "unknown";
58 58
......