Skip to content
Snippets Groups Projects
Commit 8e1445dd authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

code readapted to the fact that CometeTrendController.parseKey is static

parent 2e932f35
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ public class TrendTreeCellRenderer extends DefaultTreeCellRenderer {
int axis = -1;
CometeTrendController controller = ObjectUtils.recoverObject(controllerReference);
if (controller != null) {
String key = controller.parseKey(getAttribute(value));
String key = CometeTrendController.parseKey(getAttribute(value));
PlotProperties plotProperties = controller.getPlotProperties(key);
axis = plotProperties == null ? TrendFile.AXIS_NONE : plotProperties.getAxisChoice();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment