[Minor] Removed unused method StrolchRootElement.addRelation(StrolchRootElement)

This commit is contained in:
Robert von Burg 2023-07-17 17:28:25 +02:00
parent 725190a0f9
commit 3a625051f8
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 0 additions and 14 deletions

View File

@ -36,11 +36,6 @@ public abstract class AbstractStrolchRootElement extends GroupedParameterizedEle
relationP.setValue(element.getId());
}
@Override
public void addRelation(StrolchRootElement element) {
addRelation(buildParamId(element.getType()), element);
}
@Override
public void addRelation(String param, StrolchRootElement element) {
StringListParameter relationsP = relationsBag().getParameter(param);

View File

@ -106,15 +106,6 @@ public interface StrolchRootElement extends StrolchElement, PolicyContainer, Par
*/
void setRelations(String param, List<? extends StrolchRootElement> elements);
/**
* Set a relation to the given element by using the type of the given element as the parameter ID, but lower-casing
* the first letter. Should the {@link StringListParameter} not exist, then it will be created
*
* @param element
* the element for which to set the relation to
*/
void addRelation(StrolchRootElement element);
/**
* Adds a relation to the given element by using the given parameter ID. Should the {@link StringListParameter} not
* exist, then it will be created