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

minor changes

parent 0b4ae9b6
Branches
Tags
No related merge requests found
...@@ -1060,12 +1060,12 @@ public class DataBrowserController implements IAbstractController { ...@@ -1060,12 +1060,12 @@ public class DataBrowserController implements IAbstractController {
Map<Element, IKey> sourcesTable = new HashMap<Element, IKey>(); Map<Element, IKey> sourcesTable = new HashMap<Element, IKey>();
Map<Element, IDataSourceBrowser> browsersTable = new HashMap<Element, IDataSourceBrowser>(); Map<Element, IDataSourceBrowser> browsersTable = new HashMap<Element, IDataSourceBrowser>();
Element racine = document.getRootElement(); Element root = document.getRootElement();
final DOMOutputter domOutputter = new DOMOutputter(); final DOMOutputter domOutputter = new DOMOutputter();
// load chart properties // load chart properties
Element elemChartProp = racine.getChild("chartParams"); Element elemChartProp = root.getChild("chartParams");
if (elemChartProp != null) { if (elemChartProp != null) {
org.w3c.dom.Element chartPropNode = domOutputter.output(elemChartProp); org.w3c.dom.Element chartPropNode = domOutputter.output(elemChartProp);
...@@ -1075,7 +1075,7 @@ public class DataBrowserController implements IAbstractController { ...@@ -1075,7 +1075,7 @@ public class DataBrowserController implements IAbstractController {
} }
/* Load docking view */ /* Load docking view */
Element child = racine.getChild("docking"); Element child = root.getChild("docking");
Element layoutElem = child.getChild("dataitemlayout"); Element layoutElem = child.getChild("dataitemlayout");
String attributeValue = layoutElem.getAttributeValue("value"); String attributeValue = layoutElem.getAttributeValue("value");
...@@ -1092,7 +1092,7 @@ public class DataBrowserController implements IAbstractController { ...@@ -1092,7 +1092,7 @@ public class DataBrowserController implements IAbstractController {
/* Load docking view */ /* Load docking view */
Element elemSources = racine.getChild("sources"); Element elemSources = root.getChild("sources");
if (elemSources != null) {// should not be null if (elemSources != null) {// should not be null
List<Element> elemSourceList = elemSources.getChildren("source"); List<Element> elemSourceList = elemSources.getChildren("source");
for (Element elemSource : elemSourceList) { for (Element elemSource : elemSourceList) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment