Rename getPropertyAndRemoveFromList() to pullProperty(). The original method remains in the code but marked deprecated.
This commit is contained in:
parent
5021069574
commit
54de8d5f5b
2 changed files with 10 additions and 6 deletions
|
@ -448,7 +448,12 @@ public class GroupedPropertyList extends BaseTemplateModel {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public PropertyTemplateModel getPropertyAndRemoveFromList(String propertyUri) {
|
||||
return pullProperty(propertyUri);
|
||||
}
|
||||
|
||||
public PropertyTemplateModel pullProperty(String propertyUri) {
|
||||
|
||||
for (PropertyGroupTemplateModel pgtm : groups) {
|
||||
List<PropertyTemplateModel> properties = pgtm.getProperties();
|
||||
|
@ -470,6 +475,5 @@ public class GroupedPropertyList extends BaseTemplateModel {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue