Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 093e4d10 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

variables are always null

parent 2b912de6
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Engineering.Reader.Impl {
var node = GetNode(elementName, required);
if (!required && node == null) {
try {
return creator(null, node);
return creator(null, null);
} catch (Exception e) {
throw new VectoException("Failed to create dummy data provider", e);
}
......
......@@ -75,7 +75,7 @@ namespace TUGraz.VectoCore.Models.Declaration
return entries.First();
}
public static Entry Diesel => Instance().Lookup(FuelType.DieselCI, null);
public static Entry Diesel => Instance().Lookup(FuelType.DieselCI);
protected override void ParseData(DataTable table)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment