DashboardsCollection#parse: rename 'query' variable to 'title'

Change-Id: Iae59874b731e7fd40068252444868a9aeef41f2e
This commit is contained in:
David Pursehouse
2017-10-02 14:17:45 +01:00
parent e0227ccaea
commit 04f1196109

View File

@@ -211,8 +211,8 @@ public class DashboardsCollection
DashboardInfo info = newDashboardInfo(refName, path);
info.project = project;
info.definingProject = definingProject.getName();
String query = config.getString("dashboard", null, "title");
info.title = replace(project, query == null ? info.path : query);
String title = config.getString("dashboard", null, "title");
info.title = replace(project, title == null ? info.path : title);
info.description = replace(project, config.getString("dashboard", null, "description"));
info.foreach = config.getString("dashboard", null, "foreach");