This commit is contained in:
Jesse Glick committed 2019-01-23 16:34:51 -05:00
1 parent 7090b3747a
commit 479bf62c86
1 file changed
+2 -2
+2 -2
View File
@@ -2028,7 +2028,7 @@ public final class FilePath implements Serializable {
}
/**
* 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());
@@ -2080,7 +2080,7 @@ public final class FilePath implements Serializable {
* 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 {