Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ private void tryToLoadArthasProperties() throws IOException {
if (new File(location).exists()) {
Properties properties = FileUtils.readProperties(location);

boolean overrideAll = false;
boolean overrideAll;
if (arthasEnvironment.containsProperty(CONFIG_OVERRIDE_ALL)) {
overrideAll = arthasEnvironment.getRequiredProperty(CONFIG_OVERRIDE_ALL, boolean.class);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class PlainTextHandler extends StdoutHandler {
public static String NAME = "plaintext";

public static StdoutHandler inject(List<CliToken> tokens) {
public static StdoutHandler inject() {
return new PlainTextHandler();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static StdoutHandler inject(List<CliToken> tokens) {
if (firstTextToken.value().equals(GrepHandler.NAME)) {
return GrepHandler.inject(tokens);
} else if (firstTextToken.value().equals(PlainTextHandler.NAME)) {
return PlainTextHandler.inject(tokens);
return PlainTextHandler.inject();
} else if (firstTextToken.value().equals(WordCountHandler.NAME)) {
return WordCountHandler.inject(tokens);
} else if (firstTextToken.value().equals(TeeHandler.NAME)){
Expand Down