Skip to content

Commit

Permalink
Unused Exception handler removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Lockley committed Oct 15, 2015
1 parent 8a4fdd9 commit 832ca73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Xbim.Essentials.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>Xbim.Essentials</id>
<version>3.1.10-V0008</version>
<version>3.1.10-V0009</version>
<title>xBIM Essentials</title>
<authors>xBIM team</authors>
<owners>Steve Lockley</owners>
Expand Down
12 changes: 1 addition & 11 deletions Xbim.IO/Part21FileWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,9 @@ public void Write(XbimModel model, TextWriter output, IDictionary<int, int> map
output.Write(HeaderAsString(model.Header ?? new IfcFileHeader(IfcFileHeader.HeaderCreationMode.InitWithXbimDefaults)));
foreach (XbimInstanceHandle item in model.InstanceHandles /*.Types.OrderBy(t=>t.Name)*/)
{
try
{
IPersistIfcEntity entity = model.GetInstanceVolatile(item);
IPersistIfcEntity entity = model.GetInstanceVolatile(item);
entity.WriteEntity(output, map);
}
catch (Exception e)
{

throw;
}

}

output.WriteLine("ENDSEC;");
output.WriteLine("END-ISO-10303-21;");
}
Expand Down

0 comments on commit 832ca73

Please sign in to comment.