Merge branch 'stable-2.14'
* stable-2.14: AbstractParserTest: Use CONSTANT_CASE for static final field Gerrit#updateUiLink: Fix access to undefined property Change-Id: I6c1e6eff300730b09688335a48a07d03aec3fece
This commit is contained in:
@@ -598,7 +598,9 @@ public class Gerrit implements EntryPoint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void updateUiLink(String token) {
|
private static void updateUiLink(String token) {
|
||||||
uiSwitcherLink.setHref(getUiSwitcherUrl(token));
|
if (uiSwitcherLink != null) {
|
||||||
|
uiSwitcherLink.setHref(getUiSwitcherUrl(token));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onModuleLoad2(HostPageData hpd) {
|
private void onModuleLoad2(HostPageData hpd) {
|
||||||
|
Reference in New Issue
Block a user