# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: xml/axi/src/org/netbeans/modules/xml/axi/impl/AXIModelImpl.java --- xml/axi/src/org/netbeans/modules/xml/axi/impl/AXIModelImpl.java Base (1.6) +++ xml/axi/src/org/netbeans/modules/xml/axi/impl/AXIModelImpl.java Locally Modified (Based On 1.6) @@ -63,9 +63,6 @@ import org.netbeans.modules.xml.xam.NamedReferenceable; import org.netbeans.modules.xml.xam.dom.NamedComponentReference; import org.netbeans.modules.xml.xam.locator.CatalogModelException; -import org.netbeans.modules.xml.xam.spi.Validation; -import org.netbeans.modules.xml.xam.spi.Validator.ResultItem; -import org.netbeans.modules.xml.xam.spi.Validator.ResultType; import org.openide.util.WeakListeners; @@ -151,7 +148,8 @@ * model was mutated inside a transaction. Else, true if the listeners have * accumulated events. */ - protected boolean needsSync() { + @Override + protected synchronized boolean needsSync() { if(isForceSync) return true; if(!isAXIDocumentInitialized())