Skip to content

Commit

Permalink
HSEARCH-3564 Protected member in final class
Browse files Browse the repository at this point in the history
any instances of members being declared protected in classes that are
declared final. Such members may be declared private or package-visible
instead.
  • Loading branch information
carstenartur authored and yrodiere committed Sep 13, 2019
1 parent f2d3b55 commit d2a435f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -35,7 +35,7 @@ public void write(byte[] b, int off, int len) throws IOException {
count( len );
}

protected void count(int written) {
void count(int written) {
if ( written > 0 ) {
bytesWritten += written;
}
Expand Down
Expand Up @@ -7,7 +7,7 @@
package org.hibernate.search.engine.search.dsl.sort.spi;

public final class StaticSortThenStep<B> extends AbstractSortThenStep<B> {
protected final B builder;
final B builder;

public StaticSortThenStep(SearchSortDslContext<?, B> parentDslContext,
B builder) {
Expand Down

0 comments on commit d2a435f

Please sign in to comment.