Permalink
Browse files

Make CodeUtil.getUnionMemberName(UnionTemplate.Member) public to make it

accessible for codegen in other languages.

RB=1179112
BUG=SI-5266
R=aponniah,mnchen
A=aponniah,mnchen
  • Loading branch information...
karthikbalasub committed Dec 12, 2017
1 parent d036574 commit 84a56a1ebcaa90b33a357db914a6605b4fa8e073
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGELOG
  2. +1 −1 generator/src/main/java/com/linkedin/pegasus/generator/CodeUtil.java
View
@@ -2,6 +2,8 @@
------
(RB=1178474)
Update quickstart service to use the latest maven release.
(RB=1179112)
Make CodeUtil.getUnionMemberName(UnionTemplate.Member) public to make it accessible for codegen in other languages.
17.0.4
------
@@ -137,7 +137,7 @@ public static String getUnionMemberName(DataSchema memberType)
* @param member {@link UnionTemplateSpec.Member} for the member
* @return Capitalized union member name
*/
static String getUnionMemberName(UnionTemplateSpec.Member member)
public static String getUnionMemberName(UnionTemplateSpec.Member member)
{
return (member.getAlias() != null) ?
capitalize(member.getAlias()) :

0 comments on commit 84a56a1

Please sign in to comment.