Skip to content

Commit

Permalink
ZOOKEEPER-3209: Fix compilation error
Browse files Browse the repository at this point in the history
Author: Dinesh Appavoo <dappavoo@twitter.com>

Reviewers: andor@apache.org

Closes #778 from anmolnar/ZOOKEEPER-3209_buildfix
  • Loading branch information
Dinesh Appavoo authored and anmolnar committed Jan 16, 2019
1 parent 2eb8dd0 commit ed4fad3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ public void processRequest(Request request) {
if (StringUtils.isBlank(prefixPath) || "/".equals(prefixPath.trim())) {
ephemerals.addAll(allEphems);
} else {
for (String path: allEphems) {
if(path.startsWith(prefixPath)) {
ephemerals.add(path);
for (String p: allEphems) {
if(p.startsWith(prefixPath)) {
ephemerals.add(p);
}
}
}
Expand Down

0 comments on commit ed4fad3

Please sign in to comment.