Skip to content

Commit

Permalink
Modified as mentioned in Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavanapidapa committed Aug 15, 2024
1 parent abbe58e commit a9e0e22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public ReplaceLocalizedStreamMethods(

@Override
public String getDisplayName() {
return "Replace getLocalizedInputStream and getLocalizedOutputStream with direct assignment";
return "Replace `getLocalizedInputStream` and `getLocalizedOutputStream` with direct assignment";
}

@Override
public String getDescription() {
return "Replaces `InputStream new = rt.getLocalizedInputStream(in);` with `InputStream new = in;` and `OutputStream new = rt.getLocalizedOutputStream(out);` with `OutputStream new = out;`.";
return "Replace `Runtime.getLocalizedInputStream(InputStream)` and `Runtime.getLocalizedOutputStream(with the argument)` with their direct arguments.";
}

@Override
Expand Down

0 comments on commit a9e0e22

Please sign in to comment.