Skip to content

Commit

Permalink
Merge pull request #61 from chinkong83/mywork
Browse files Browse the repository at this point in the history
add _Pc suffic for Handler impl
  • Loading branch information
geekybaiyi authored Sep 10, 2018
2 parents 5b24f48 + 94769b5 commit 2bcdc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rdl-gen-parsec-java-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func GenerateJavaServer(banner string, schema *rdl.Schema, outdir string, genAnn
for _, t := range schema.Types {
tName, tType, _ := rdl.TypeInfo(t)
if strings.ToLower(string(tType)) == "struct" || strings.ToLower(string(tType)) == "enum" {
gen.appendImportClass(packageName + "." + string(tName))
gen.appendImportClass(packageName + "." + string(tName) + utils.JavaParsecClassSuffix)
}
}
gen.appendImportClass(packageName + ".ResourceContext")
Expand Down

0 comments on commit 2bcdc5b

Please sign in to comment.