garydgregory commented on a change in pull request #36: Made some variable
names more consistent with the other parts.
URL: https://github.com/apache/commons-bcel/pull/36#discussion_r336986243
##########
File path: src/main/java/org/apache/bcel/classfile/LocalVariableTypeTable.java
##########
@@ -67,8 +67,8 @@ public LocalVariableTypeTable(final int name_index, final
int length, final Loca
this.local_variable_type_table = local_variable_table;
}
- LocalVariableTypeTable(final int nameIdx, final int len, final DataInput
input, final ConstantPool cpool) throws IOException {
- this(nameIdx, len, (LocalVariable[]) null, cpool);
+ LocalVariableTypeTable(final int name_index, final int length, final
DataInput input, final ConstantPool cpool) throws IOException {
+ this(name_index, length, (LocalVariable[]) null, cpool);
Review comment:
I am -1 to using underscores in Java. If anything, we should change
existing underscores to camel case. I like changing idx to index.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services