Skip to content

Commit

Permalink
Fixing the NPE in case of null entry for "Date Time" type in ODA data…
Browse files Browse the repository at this point in the history
… source
  • Loading branch information
bsrujank committed Dec 28, 2018
1 parent 3bc8944 commit d5130df
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -53,7 +53,10 @@ public static Date parse( String source, TimeZone timeZone ) throws BirtExceptio
{
dateFormat.setTimeZone( timeZone );
}
resultDate = dateFormat.parse( source );
if ( dateFormat != null )
{
resultDate = dateFormat.parse( source );
}
return resultDate;
}
catch ( ParseException e )
Expand Down

0 comments on commit d5130df

Please sign in to comment.