Commit 4bc138a1 authored by Gianluca Filippone's avatar Gianluca Filippone
Browse files

Code refactored

parent 9fe2f7ba
......@@ -594,8 +594,8 @@ public class ChoreographyLogic extends AbstractLogic<AbstractBaseBean> {
build()).build());
}
choreographyPatch.getPlainAttrs().add(new AttrPatch.Builder().attrTO(
new AttrTO.Builder().schema("enactedChorSpec").value(Base64Utility.encode(chorSpecXML)).build()).
build());
new AttrTO.Builder().schema("enactedChorSpec").value(Base64Utility.encode(chorSpecXML))
.build()).build());
// 2. process the chorSpec
classForUserTE = new AnyTypeClassTO();
......@@ -633,8 +633,8 @@ public class ChoreographyLogic extends AbstractLogic<AbstractBaseBean> {
build()).build());
}
choreographyPatch.getPlainAttrs().add(new AttrPatch.Builder().attrTO(
new AttrTO.Builder().schema("enactedChorSpec").value(Base64Utility.encode(chorSpecXML)).build()).
build());
new AttrTO.Builder().schema("enactedChorSpec").value(Base64Utility.encode(chorSpecXML))
.build()).build());
choreography = groupLogic.update(choreographyPatch, false).getEntity();
......
Markdown is supported
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