Error in case of loading user data (functions, vars etc)

This commit is contained in:
Sergey Solovyev
2013-01-20 15:07:48 +04:00
parent 373d7d9c16
commit 1fd8146b7e
2 changed files with 6 additions and 3 deletions

View File

@@ -228,8 +228,11 @@ public class AFunction implements IFunction, MathPersistenceEntity, Serializable
this.value = function.getContent();
this.system = function.isSystem();
this.description = function.getDescription();
this.id = function.getId();
}
if (function.isIdDefined()) {
this.id = function.getId();
}
this.parameterNames = new ArrayList<String>(function.getParameterNames());
}
public Builder(@NotNull String name,
@NotNull String value,