MF: typo 18 is with a one
This commit is contained in:
parent
fa6dc9ce2c
commit
1217d835a3
1 changed files with 7 additions and 7 deletions
|
|
@ -45,27 +45,27 @@ public final class WarpManifestX18Import {
|
|||
WarpManifestX18HeaderField fieldX18 = null;
|
||||
WarpManifestX18 result = new WarpManifestX18();
|
||||
for (WarpManifestX8HeaderField attrX8 : manifest.getAttributes()) {
|
||||
fieldX18 = result.makeAttribute(toFC8(attrX8.getName()), toFC8(attrX8.getBody()));
|
||||
fieldX18 = result.makeAttribute(toFC18(attrX8.getName()), toFC18(attrX8.getBody()));
|
||||
for (String remark : attrX8.getRemarks()) {
|
||||
fieldX18.withRemark(toFC8(remark));
|
||||
fieldX18.withRemark(toFC18(remark));
|
||||
}
|
||||
}
|
||||
for (WarpManifestX8Section sectionX8 : manifest.getSections()) {
|
||||
sectionX18 = result.makeSection(toFC8(sectionX8.getName()));
|
||||
sectionX18 = result.makeSection(toFC18(sectionX8.getName()));
|
||||
for (String remark : sectionX8.getRemarks()) {
|
||||
sectionX18.withRemark(toFC8(remark));
|
||||
sectionX18.withRemark(toFC18(remark));
|
||||
}
|
||||
for (WarpManifestX8HeaderField attrX8 : sectionX8.getAttributes()) {
|
||||
fieldX18 = sectionX18.makeAttribute(toFC8(attrX8.getName()), toFC8(attrX8.getBody()));
|
||||
fieldX18 = sectionX18.makeAttribute(toFC18(attrX8.getName()), toFC18(attrX8.getBody()));
|
||||
for (String remark : attrX8.getRemarks()) {
|
||||
fieldX18.withRemark(toFC8(remark));
|
||||
fieldX18.withRemark(toFC18(remark));
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
static private PrimordialOctalOrangeJuiceStraw toFC8(String value) {
|
||||
static private PrimordialOctalOrangeJuiceStraw toFC18(String value) {
|
||||
return PrimordialOctalOrangeString.ioSmurfReadListX18(FourCornerUnicodeImport.lossy().convertToFC18(value));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue