Fix: unmappable character for encoding ASCII

Having a unicode character in the source code seems to break
diffy [1]. Replace the character with its escape sequence.

[1] https://gerrit-review.googlesource.com/#/c/50350/

Change-Id: I1efeb334601e978d3a0a57be88702edbc19759ad
This commit is contained in:
David Pursehouse
2013-10-11 18:00:26 +09:00
committed by Shawn Pearce
parent 3670fce262
commit 16f3286c65

View File

@@ -888,7 +888,8 @@ public class Gerrit implements EntryPoint {
userSummaryPanel.setStyleName(RESOURCES.css().menuBarUserNamePanel());
userSummaryPanel.add(l);
userSummaryPanel.add(avatar);
userSummaryPanel.add(new InlineLabel(""));
// "BLACK DOWN-POINTING SMALL TRIANGLE"
userSummaryPanel.add(new InlineLabel(" \u25be"));
userPopup.addAutoHidePartner(userSummaryPanel.getElement());
FocusPanel fp = new FocusPanel(userSummaryPanel);
fp.setStyleName(RESOURCES.css().menuBarUserNameFocusPanel());