X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/ModelUpdater.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/ModelUpdater.java index 83f09e9..9d3c1bb 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/ModelUpdater.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/ModelUpdater.java @@ -29,14 +29,15 @@ public class ModelUpdater { HashSet projectsToUpdate = new HashSet(); /** - * Adds the given child handle to its parent's cache of children. + * Adds the given child handle to its parent's cache of children. */ protected void addToParentInfo(Openable child) { Openable parent = (Openable) child.getParent(); if (parent != null && parent.isOpen()) { try { - JavaElementInfo info = (JavaElementInfo)parent.getElementInfo(); + JavaElementInfo info = (JavaElementInfo) parent + .getElementInfo(); info.addChild(child); } catch (JavaModelException e) { // do nothing - we already checked if open @@ -45,7 +46,8 @@ public class ModelUpdater { } /** - * Closes the given element, which removes it from the cache of open elements. + * Closes the given element, which removes it from the cache of open + * elements. */ protected static void close(Openable element) { @@ -57,10 +59,11 @@ public class ModelUpdater { } /** - * Processing for an element that has been added: