mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
change local variable name to avoid shadowing another variable
This commit is contained in:
parent
6923c74c4c
commit
67300c229a
@ -1452,15 +1452,15 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
|
|||||||
|
|
||||||
unsigned attributeCount = s.read2();
|
unsigned attributeCount = s.read2();
|
||||||
for (unsigned j = 0; j < attributeCount; ++j) {
|
for (unsigned j = 0; j < attributeCount; ++j) {
|
||||||
object name = singletonObject(t, pool, s.read2() - 1);
|
object attributeName = singletonObject(t, pool, s.read2() - 1);
|
||||||
unsigned length = s.read4();
|
unsigned length = s.read4();
|
||||||
|
|
||||||
if (vm::strcmp(reinterpret_cast<const int8_t*>("Code"),
|
if (vm::strcmp(reinterpret_cast<const int8_t*>("Code"),
|
||||||
&byteArrayBody(t, name, 0)) == 0)
|
&byteArrayBody(t, attributeName, 0)) == 0)
|
||||||
{
|
{
|
||||||
code = parseCode(t, s, pool);
|
code = parseCode(t, s, pool);
|
||||||
} else if (vm::strcmp(reinterpret_cast<const int8_t*>("Exceptions"),
|
} else if (vm::strcmp(reinterpret_cast<const int8_t*>("Exceptions"),
|
||||||
&byteArrayBody(t, name, 0)) == 0)
|
&byteArrayBody(t, attributeName, 0)) == 0)
|
||||||
{
|
{
|
||||||
if (addendum == 0) {
|
if (addendum == 0) {
|
||||||
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
||||||
@ -1473,7 +1473,7 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
|
|||||||
set(t, addendum, MethodAddendumExceptionTable, body);
|
set(t, addendum, MethodAddendumExceptionTable, body);
|
||||||
} else if (vm::strcmp(reinterpret_cast<const int8_t*>
|
} else if (vm::strcmp(reinterpret_cast<const int8_t*>
|
||||||
("AnnotationDefault"),
|
("AnnotationDefault"),
|
||||||
&byteArrayBody(t, name, 0)) == 0)
|
&byteArrayBody(t, attributeName, 0)) == 0)
|
||||||
{
|
{
|
||||||
if (addendum == 0) {
|
if (addendum == 0) {
|
||||||
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
||||||
@ -1485,7 +1485,7 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
|
|||||||
|
|
||||||
set(t, addendum, MethodAddendumAnnotationDefault, body);
|
set(t, addendum, MethodAddendumAnnotationDefault, body);
|
||||||
} else if (vm::strcmp(reinterpret_cast<const int8_t*>("Signature"),
|
} else if (vm::strcmp(reinterpret_cast<const int8_t*>("Signature"),
|
||||||
&byteArrayBody(t, name, 0)) == 0)
|
&byteArrayBody(t, attributeName, 0)) == 0)
|
||||||
{
|
{
|
||||||
if (addendum == 0) {
|
if (addendum == 0) {
|
||||||
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
||||||
@ -1495,7 +1495,7 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
|
|||||||
singletonObject(t, pool, s.read2() - 1));
|
singletonObject(t, pool, s.read2() - 1));
|
||||||
} else if (vm::strcmp(reinterpret_cast<const int8_t*>
|
} else if (vm::strcmp(reinterpret_cast<const int8_t*>
|
||||||
("RuntimeVisibleAnnotations"),
|
("RuntimeVisibleAnnotations"),
|
||||||
&byteArrayBody(t, name, 0)) == 0)
|
&byteArrayBody(t, attributeName, 0)) == 0)
|
||||||
{
|
{
|
||||||
if (addendum == 0) {
|
if (addendum == 0) {
|
||||||
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
addendum = makeMethodAddendum(t, pool, 0, 0, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user