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 3232import java .io .InputStreamReader ;
3333import java .io .StringWriter ;
3434import java .net .URI ;
35- import java .net . URISyntaxException ;
35+ import java .nio . charset . Charset ;
3636import java .util .Arrays ;
3737import java .util .Objects ;
3838import java .util .stream .Collectors ;
@@ -298,7 +298,7 @@ public ImportDataCommand copy()
298298 return new ImportDataCommand (this );
299299 }
300300
301- public static void main (String [] args ) throws IOException , URISyntaxException
301+ public static void main (String [] args ) throws IOException
302302 {
303303 // required
304304 String baseServerUrl = null ;
@@ -581,7 +581,7 @@ private static void printUsage()
581581 private static String readFully (InputStream in ) throws IOException
582582 {
583583 StringWriter sw = new StringWriter ();
584- try (BufferedReader buf = new BufferedReader (new InputStreamReader (in )))
584+ try (BufferedReader buf = new BufferedReader (new InputStreamReader (in , Charset . defaultCharset () )))
585585 {
586586 String line ;
587587 do
You can’t perform that action at this time.
0 commit comments