Skip to content

Commit 4bc5ced

Browse files
committed
code cleanup
1 parent 3646049 commit 4bc5ced

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/arangodb/entity/ReplicationFactor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static SatelliteReplicationFactor ofSatellite() {
3737

3838
final class NumericReplicationFactor implements ReplicationFactor {
3939

40-
private Integer value;
40+
private final Integer value;
4141

4242
public NumericReplicationFactor(Integer value) {
4343
this.value = value;

src/main/java/com/arangodb/internal/cursor/entity/InternalCursorEntity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class InternalCursorEntity implements MetaAware {
3838

3939
private String id;
4040
private Integer count;
41-
private Extras extra = new Extras();
41+
private final Extras extra = new Extras();
4242
private Boolean cached;
4343
private Boolean hasMore;
4444
private JsonNode result;
@@ -110,7 +110,7 @@ public void setMeta(Map<String, String> meta) {
110110

111111
public static final class Extras {
112112
private CursorStats stats;
113-
private Collection<CursorWarning> warnings = Collections.emptyList();
113+
private final Collection<CursorWarning> warnings = Collections.emptyList();
114114

115115
public CursorStats getStats() {
116116
return stats;

0 commit comments

Comments
 (0)