Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "protected" on all "on...()" methods (#435) #436

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ private static Object createObjectFromString(final String value,
}

@Override
public void onCloseStream() {
protected void onCloseStream() {
typeEncoderStack.clear();
}

@Override
public void onResetStream() {
protected void onResetStream() {
typeEncoderStack.clear();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,18 @@ public void literal(final String name, final String value) {
}

@Override
public void onSetReceiver() {
protected void onSetReceiver() {
streamBuffer.setReceiver(getReceiver());
}

@Override
public void onResetStream() {
protected void onResetStream() {
streamBuffer.clear();
entityPathTracker.resetStream();
}

@Override
public void onCloseStream() {
protected void onCloseStream() {
streamBuffer.clear();
entityPathTracker.closeStream();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ public void literal(final String name, final String value) {
}

@Override
public void onResetStream() {
protected void onResetStream() {
entityPathTracker.resetStream();
resetRecord();
}

@Override
public void onCloseStream() {
protected void onCloseStream() {
entityPathTracker.closeStream();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void endEntity() {
}

@Override
public void onResetStream() {
protected void onResetStream() {
numRecords = 0;
numEntities = 0;
numLiterals = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected void onCloseStream() {
}

@Override
public void onResetStream() {
protected void onResetStream() {
record = new StringBuilder(SB_CAPACITY);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public String getXmlDeclaration() {
}

@Override
public void onResetStream() {
protected void onResetStream() {
reset();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected void clear() {
}

@Override
public void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
protected void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
sourceList.add(namedValueSource);
sourcesLeft.add(namedValueSource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected void emit() {
}

@Override
public void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
protected void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
sources.add(namedValueSource);
sourcesLeft.add(namedValueSource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected void receive(final String newName, final String newValue, final NamedV
}

@Override
public void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
protected void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
priorities.put(namedValueSource, Integer.valueOf(nextPriority));
nextPriority += 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected void receive(final String name, final String value, final NamedValueSo
}

@Override
public void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
protected void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
sources.add(namedValueSource);
sourcesLeft.add(namedValueSource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected void receive(final String name, final String value, final NamedValueSo
}

@Override
public void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
protected void onNamedValueSourceAdded(final NamedValueSource namedValueSource) {
sources.add(namedValueSource);
sourcesLeft.add(namedValueSource);
}
Expand Down