Skip to content

Commit

Permalink
fixed build jaustoolset
Browse files Browse the repository at this point in the history
  • Loading branch information
atiderko committed Feb 7, 2024
1 parent f1ca436 commit 07283b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions jaustoolset/src/org/jts/codegenerator/RecordGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class RecordGenerator
final private boolean fixedLengthStringHasClass = false; // FixedLengthString // Currently always false
final private boolean variableLengthStringHasClass = false; // VariableLengthString // Currently always false
private CodeLines.CodeType codeType;
private Record record;
private org.jts.jsidl.binding.Record record;
private boolean isList;
private String countFieldType;
private boolean countFieldSigned;
Expand All @@ -77,7 +77,7 @@ public class RecordGenerator
private String shortClassName;
private String varName;

public RecordGenerator(CodeLines.CodeType codeType, Record record)
public RecordGenerator(CodeLines.CodeType codeType, org.jts.jsidl.binding.Record record)
{
this.codeType = codeType;
this.record = record;
Expand All @@ -101,7 +101,7 @@ else if (codeType == CodeLines.CodeType.C_SHARP)

}

public RecordGenerator(CodeLines.CodeType codeType, Record record, boolean isList, String countFieldType)
public RecordGenerator(CodeLines.CodeType codeType, org.jts.jsidl.binding.Record record, boolean isList, String countFieldType)
{
this.codeType = codeType;
this.record = record;
Expand Down
12 changes: 6 additions & 6 deletions jaustoolset/src/org/jts/codegenerator/SequenceGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ private void cppGenerateClass(CodeLines code, CodeLines varCode, int pvIndex1, S

new VariantGenerator(codeType, variant).run(fullClassName, pvIndex1, varCode);
}
else if (field instanceof Record)
else if (field instanceof org.jts.jsidl.binding.Record)
{
Record record = (Record)field;
org.jts.jsidl.binding.Record record = (org.jts.jsidl.binding.Record)field;

fieldName = Util.upperCaseFirstLetter(record.getName());
fieldIsNested = recordIsNested;
Expand Down Expand Up @@ -364,9 +364,9 @@ private void javaGenerateClass(CodeLines code, CodeLines varCode, int pvIndex1,

new VariantGenerator(codeType, variant).run(fullClassName, pvIndex1, varCode);
}
else if (field instanceof Record)
else if (field instanceof org.jts.jsidl.binding.Record)
{
Record record = (Record)field;
org.jts.jsidl.binding.Record record = (org.jts.jsidl.binding.Record)field;

fieldName = Util.upperCaseFirstLetter(record.getName());
fieldIsNested = recordIsNested;
Expand Down Expand Up @@ -479,9 +479,9 @@ private void csharpGenerateClass(CodeLines code, CodeLines varCode, int pvIndex1

new VariantGenerator(codeType, variant).run(fullClassName, pvIndex1, varCode);
}
else if (field instanceof Record)
else if (field instanceof org.jts.jsidl.binding.Record)
{
Record record = (Record)field;
org.jts.jsidl.binding.Record record = (org.jts.jsidl.binding.Record)field;

fieldName = Util.upperCaseFirstLetter(record.getName());
fieldIsNested = recordIsNested;
Expand Down
4 changes: 2 additions & 2 deletions jaustoolset/src/org/jts/codegenerator/VariantGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ else if (codeType == CodeLines.CodeType.C_SHARP)

varCode.clear();

if (field instanceof Record)
if (field instanceof org.jts.jsidl.binding.Record)
{
Record record = (Record) field;
org.jts.jsidl.binding.Record record = (org.jts.jsidl.binding.Record) field;

fieldName = record.getName();
if (record.isOptional())
Expand Down

0 comments on commit 07283b2

Please sign in to comment.