Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jan 23, 2019
1 parent 7090b37 commit 479bf62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/hudson/FilePath.java
Expand Up @@ -2028,7 +2028,7 @@ public Void invoke(File f, VirtualChannel channel) throws IOException {
}

/**
* Reads this file into a string, by using the current system encoding.
* Reads this file into a string, by using the current system encoding on the remote machine.
*/
public String readToString() throws IOException, InterruptedException {
return act(new ReadToString());
Expand Down Expand Up @@ -2080,7 +2080,7 @@ public OutputStream invoke(File f, VirtualChannel channel) throws IOException, I
* Overwrites this file by placing the given String as the content.
*
* @param encoding
* Null to use the platform default encoding.
* Null to use the platform default encoding on the remote machine.
* @since 1.105
*/
public void write(final String content, final String encoding) throws IOException, InterruptedException {
Expand Down

0 comments on commit 479bf62

Please sign in to comment.