Skip to content

Commit

Permalink
Remove unused private field
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Dec 28, 2022
1 parent 188479f commit c41f9ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions impl/src/main/java/org/eclipse/parsson/JsonReaderImpl.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022 Contributors to the Eclipse Foundation. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -41,15 +42,13 @@
class JsonReaderImpl implements JsonReader {
private final JsonParserImpl parser;
private boolean readDone;
private final BufferPool bufferPool;

JsonReaderImpl(Reader reader, BufferPool bufferPool) {
this(reader, bufferPool, false, Collections.emptyMap());
}

JsonReaderImpl(Reader reader, BufferPool bufferPool, boolean rejectDuplicateKeys, Map<String, ?> config) {
parser = new JsonParserImpl(reader, bufferPool, rejectDuplicateKeys, config);
this.bufferPool = bufferPool;
}

JsonReaderImpl(InputStream in, BufferPool bufferPool) {
Expand All @@ -58,7 +57,6 @@ class JsonReaderImpl implements JsonReader {

JsonReaderImpl(InputStream in, BufferPool bufferPool, boolean rejectDuplicateKeys, Map<String, ?> config) {
parser = new JsonParserImpl(in, bufferPool, rejectDuplicateKeys, config);
this.bufferPool = bufferPool;
}

JsonReaderImpl(InputStream in, Charset charset, BufferPool bufferPool) {
Expand All @@ -67,7 +65,6 @@ class JsonReaderImpl implements JsonReader {

JsonReaderImpl(InputStream in, Charset charset, BufferPool bufferPool, boolean rejectDuplicateKeys, Map<String, ?> config) {
parser = new JsonParserImpl(in, charset, bufferPool, rejectDuplicateKeys, config);
this.bufferPool = bufferPool;
}

@Override
Expand Down

0 comments on commit c41f9ce

Please sign in to comment.