Skip to content

Commit

Permalink
Remove duplicate setBatchReadEnabled (#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 Feb 21, 2024
1 parent e25c548 commit a79a4e2
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 a79a4e2

Please sign in to comment.