Skip to content

Commit

Permalink
Minor simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 21, 2024
1 parent 9a2efef commit d923bb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public Object readNext(JSONReader r, JsonParser p) throws IOException
}

private Object readRecord(JSONReader r, JsonParser p) throws Exception {
final Object[] values = new Object[propertiesByName().size()];
final Object[] values = new Object[_propsByName.size()];

String propName;
for (; (propName = p.nextFieldName()) != null;) {
Expand All @@ -159,7 +159,7 @@ private Object readRecord(JSONReader r, JsonParser p) throws Exception {
@Override
public Object read(JSONReader r, JsonParser p) throws IOException
{
JsonToken t = p.getCurrentToken();
JsonToken t = p.currentToken();

try {
switch (t) {
Expand Down

0 comments on commit d923bb1

Please sign in to comment.