Skip to content

Commit

Permalink
quick fix to prevent a NullPointerException #3747
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Apr 7, 2017
1 parent b28a429 commit 6f1e12c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ public static DataFileIO createNewDataFileIO(DataFile df, String storageTag, Str

df.setStorageIdentifier(storageTag);

if (driverIdentifier == null) {
driverIdentifier = "file";
}

if (driverIdentifier.equals("file")) {
dataFileIO = new FileAccessIO(df, null);
} else if (driverIdentifier.equals("swift")) {
Expand Down

0 comments on commit 6f1e12c

Please sign in to comment.