Skip to content

Commit cf7f30e

Browse files
committed
[Java] Tidy up.
1 parent c89c32c commit cf7f30e

File tree

1 file changed

+8
-9
lines changed
  • sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java

1 file changed

+8
-9
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaUtil.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,25 +160,24 @@ public static String formatPropertyName(final String value)
160160

161161
/**
162162
* Format a Getter name for generated code.
163-
* <p>
164163
*
165-
* @param value to be formatted.
166-
* @return the string formatted as a getter name.
164+
* @param propertyName to be formatted.
165+
* @return the property name formatted as a getter name.
167166
*/
168-
public static String formatGetterName(final String value)
167+
public static String formatGetterName(final String propertyName)
169168
{
170-
return "get" + Generators.toUpperFirstChar(value);
169+
return "get" + Generators.toUpperFirstChar(propertyName);
171170
}
172171

173172
/**
174173
* Format a class name for the generated code.
175174
*
176-
* @param value to be formatted.
177-
* @return the string formatted as a class name.
175+
* @param className to be formatted.
176+
* @return the formatted class name.
178177
*/
179-
public static String formatClassName(final String value)
178+
public static String formatClassName(final String className)
180179
{
181-
return Generators.toUpperFirstChar(value);
180+
return Generators.toUpperFirstChar(className);
182181
}
183182

184183
/**

0 commit comments

Comments
 (0)