@SuppressWarnings("squid:S2259") protected ListFileTreeVisitor(XMLStructuredOutput output, int limit, @Nullable String marker, @Nullable String prefix) { this.output = output; this.limit = limit; this.marker = marker; this.prefix = prefix; objectCount = new Counter(); useLimit = limit > 0; usePrefix = Strings.isFilled(prefix); if (usePrefix) { this.prefix = prefix.replace('/', '_'); } markerReached = Strings.isEmpty(marker); }