Skip to content

Commit

Permalink
use correct comment field for service import/export
Browse files Browse the repository at this point in the history
  • Loading branch information
MandKastner authored and azoitl committed Jan 17, 2025
1 parent fce59f7 commit dccdd72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private void addService(final FBType sfb) throws XMLStreamException {
sfb.getService().getRightInterface().getName());
getWriter().writeAttribute(LibraryElementTags.LEFT_INTERFACE_ATTRIBUTE,
sfb.getService().getLeftInterface().getName());
addCommentAttribute(sfb.getComment());
addCommentAttribute(sfb.getService().getComment());

addServiceSequences(sfb.getService().getServiceSequence());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected void parseService(final FBType type) throws TypeImportException, XMLSt
type.getService().setLeftInterface(leftInter);
final String comment = getAttributeValue(LibraryElementTags.COMMENT_ATTRIBUTE);
if (null != comment) {
type.setComment(comment);
type.getService().setComment(comment);
}

processChildren(LibraryElementTags.SERVICE_ELEMENT, name -> {
Expand Down

0 comments on commit dccdd72

Please sign in to comment.