File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
labkey-client-api/src/org/labkey/remoteapi/query Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
import java .io .InputStreamReader ;
33
33
import java .io .StringWriter ;
34
34
import java .net .URI ;
35
- import java .net . URISyntaxException ;
35
+ import java .nio . charset . Charset ;
36
36
import java .util .Arrays ;
37
37
import java .util .Objects ;
38
38
import java .util .stream .Collectors ;
@@ -298,7 +298,7 @@ public ImportDataCommand copy()
298
298
return new ImportDataCommand (this );
299
299
}
300
300
301
- public static void main (String [] args ) throws IOException , URISyntaxException
301
+ public static void main (String [] args ) throws IOException
302
302
{
303
303
// required
304
304
String baseServerUrl = null ;
@@ -581,7 +581,7 @@ private static void printUsage()
581
581
private static String readFully (InputStream in ) throws IOException
582
582
{
583
583
StringWriter sw = new StringWriter ();
584
- try (BufferedReader buf = new BufferedReader (new InputStreamReader (in )))
584
+ try (BufferedReader buf = new BufferedReader (new InputStreamReader (in , Charset . defaultCharset () )))
585
585
{
586
586
String line ;
587
587
do
You can’t perform that action at this time.
0 commit comments