Skip to content

Commit

Permalink
CodeGen update
Browse files Browse the repository at this point in the history
  • Loading branch information
ptorres-prowide authored and zubri committed May 8, 2023
1 parent dbe02fb commit dc60162
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public static Tag emptyTag() {
@Override
public void parse(final String value) {
init(13);
// @NotImplemented
throw new org.apache.commons.lang3.NotImplementedException("Missing parserPattern in Field.vm : S[$S]0-12");
List<String> lines = SwiftParseUtils.getLines(value);
SwiftParseUtils.setComponentsFromLines(this, 1, null, 0, lines);
}

/**
Expand All @@ -208,9 +208,7 @@ public void parse(final String value) {
@Override
public String getValue() {
final StringBuilder result = new StringBuilder();
//FIXME serialization S[$S]0-12
// @NotImplemented
int notImplemented;
appendInLines(result, 1, 13);
return result.toString();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,6 @@ public List<SequenceA> getSequenceAList() {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSequence) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList(SwiftTagListBlock)", "Use getLoop1List(SwiftTagListBlock) instead");
List<SequenceA> result = new ArrayList<>();
getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s)));
return result;
Expand All @@ -845,7 +844,6 @@ public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSeq
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static class SequenceA extends SwiftTagListBlock {
private SequenceA(final Loop1 content) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "SequenceA(Loop1)", "Use Loop1() instead");
super(content.getTags());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ public List<SequenceA> getSequenceAList() {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSequence) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList", "Use getLoop1List(SwiftTagListBlock) instead");
List<SequenceA> result = new ArrayList<>();
getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s)));
return result;
Expand All @@ -674,7 +673,6 @@ public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSeq
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static class SequenceA extends SwiftTagListBlock {
private SequenceA(final Loop1 content) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "SequenceA(Loop1)", "Use Loop1() instead");
super(content.getTags());
}
}
Expand Down

0 comments on commit dc60162

Please sign in to comment.