Skip to content

Commit

Permalink
Remove duplicate setBatchReadEnabled (apache#4215)
Browse files Browse the repository at this point in the history
### Motivation

`setBatchReadEnabled` is duplicated, which breaks the compilation:

```
Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project bookkeeper-server: Compilation failure: Compilation failure: 
Error:  /home/runner/work/bookkeeper/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ClientConfiguration.java:[2110,32] method setBatchReadEnabled(boolean) is already defined in class org.apache.bookkeeper.conf.ClientConfiguration
```

### Changes

Remove the duplicated method.
  • Loading branch information
nodece authored and Anup Ghatage committed Jul 12, 2024
1 parent a811b2a commit 8690f22
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2107,11 +2107,6 @@ public boolean isBatchReadEnabled() {
return getBoolean(BATCH_READ_ENABLED, true);
}

public ClientConfiguration setBatchReadEnabled(boolean enabled) {
setProperty(BATCH_READ_ENABLED, enabled);
return this;
}

@Override
protected ClientConfiguration getThis() {
return this;
Expand Down

0 comments on commit 8690f22

Please sign in to comment.