Commit 85dd0416 authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

fixed

refs 2572
parent cdcd8dd7
......@@ -155,7 +155,7 @@ public abstract class ModelElementCompositorBase<C extends EObject> extends Obse
* This function checks if the name of any element of same type and name as "contained" exists
* in the container, and modifies the name in case if required.
* */
private void makeNameDistinct(EObject container, EObject contained) {
public void makeNameDistinct(EObject container, EObject contained) {
if(!(contained instanceof INamedElement) || ((INamedElement)contained).getName() == null)
return;
INamedElement neNew = (INamedElement)contained;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment