Skip to content
Closed
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 @@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ public ProtectedFieldAccessEntity create(int id, double latitude, double longitu
private Integer id;

@Latitude
protected Double latitude;
Double latitude;

@Longitude
protected Double longitude;
Double longitude;
}

@Entity
Expand Down Expand Up @@ -295,29 +295,29 @@ public ProtectedMethodAccessEntity create(int id, double latitude, double longit
// Put the @Id annotation here to set the Hibernate ORM access type to "property"
@Id
@DocumentId
protected Integer getId() {
Integer getId() {
return idWithUnpredictableName;
}

protected void setId(Integer id) {
void setId(Integer id) {
this.idWithUnpredictableName = id;
}

@Latitude
protected Double getLatitude() {
Double getLatitude() {
return latitudeWithUnpredictableName;
}

protected void setLatitude(Double latitude) {
void setLatitude(Double latitude) {
this.latitudeWithUnpredictableName = latitude;
}

@Longitude
protected Double getLongitude() {
Double getLongitude() {
return longitudeWithUnpredictableName;
}

protected void setLongitude(Double longitude) {
void setLongitude(Double longitude) {
this.longitudeWithUnpredictableName = longitude;
}
}
Expand Down