Format Java files with google-java-format
Change-Id: I6fbea77754ba61cb30e53037210afa3756268ea3
This commit is contained in:
@@ -70,7 +70,8 @@ public class ServerInfo extends JavaScriptObject {
|
|||||||
|
|
||||||
public final native String replyTooltip() /*-{ return this.reply_tooltip; }-*/;
|
public final native String replyTooltip() /*-{ return this.reply_tooltip; }-*/;
|
||||||
|
|
||||||
public final native boolean showAssigneeInChangesTable() /*-{ return this.show_assignee_in_changes_table || false; }-*/;
|
public final native boolean
|
||||||
|
showAssigneeInChangesTable() /*-{ return this.show_assignee_in_changes_table || false; }-*/;
|
||||||
|
|
||||||
public final native int updateDelay() /*-{ return this.update_delay || 0; }-*/;
|
public final native int updateDelay() /*-{ return this.update_delay || 0; }-*/;
|
||||||
|
|
||||||
|
@@ -207,7 +207,8 @@ public class GetServerInfo implements RestReadView<ConfigResource> {
|
|||||||
boolean hasAssigneeInIndex =
|
boolean hasAssigneeInIndex =
|
||||||
indexes.getSearchIndex().getSchema().hasField(ChangeField.ASSIGNEE);
|
indexes.getSearchIndex().getSchema().hasField(ChangeField.ASSIGNEE);
|
||||||
info.showAssigneeInChangesTable =
|
info.showAssigneeInChangesTable =
|
||||||
toBoolean(cfg.getBoolean("change", "showAssigneeInChangesTable", false) && hasAssigneeInIndex);
|
toBoolean(
|
||||||
|
cfg.getBoolean("change", "showAssigneeInChangesTable", false) && hasAssigneeInIndex);
|
||||||
info.largeChange = cfg.getInt("change", "largeChange", 500);
|
info.largeChange = cfg.getInt("change", "largeChange", 500);
|
||||||
info.replyTooltip =
|
info.replyTooltip =
|
||||||
Optional.ofNullable(cfg.getString("change", null, "replyTooltip")).orElse("Reply and score")
|
Optional.ofNullable(cfg.getString("change", null, "replyTooltip")).orElse("Reply and score")
|
||||||
|
Reference in New Issue
Block a user