File tree Expand file tree Collapse file tree
datavec-examples/src/main/java/org/datavec/transform/basic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public class BasicDataVecExampleLocal {
6262 public static String dataLocalPath ;
6363
6464
65- public static void main (String [] args ) throws Exception {
65+ public static void main (String [] args ) throws Exception {
6666 dataLocalPath = DownloaderUtility .BASICDATAVECEXAMPLE .Download ();
6767 //=====================================================================
6868 // Step 1: Define the input data schema
@@ -180,11 +180,11 @@ public static void main(String[] args) throws Exception {
180180
181181 //Print before + after:
182182 System .out .println ("\n \n ---- Original Data File ----" );
183- String originalFileContents = FileUtils .readFileToString (inputFile );
183+ String originalFileContents = FileUtils .readFileToString (inputFile , ( String ) null );
184184 System .out .println (originalFileContents );
185185
186186 System .out .println ("\n \n ---- Processed Data File ----" );
187- String fileContents = FileUtils .readFileToString (outputFile );
187+ String fileContents = FileUtils .readFileToString (outputFile , ( String ) null );
188188 System .out .println (fileContents );
189189
190190 System .out .println ("\n \n DONE" );
You can’t perform that action at this time.
0 commit comments