Skip to content

Commit df1485b

Browse files
author
Wawan Solihin
committed
Fixed minor style issue
1 parent 5996c34 commit df1485b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Source/Revit.IFC.Common/Utility/IfcSchemaEntityTree.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static public IList<string> GetAllCachedSchemaNames()
379379
static public IfcSchemaEntityNode FindNonAbsInstanceSuperType(IFCVersion context, string typeName)
380380
{
381381
string contextName = SchemaName(context);
382-
return FindNonAbsInstanceSuperType(context, typeName);
382+
return FindNonAbsInstanceSuperType(contextName, typeName);
383383
}
384384

385385
/// <summary>
@@ -490,8 +490,8 @@ static public IfcSchemaEntityNode FindNonAbsSuperType(string context, string ent
490490
/// <returns>List of the supertypes</returns>
491491
static public IList<IfcSchemaEntityNode> FindAllSuperTypes(IFCVersion context, string entityName, params string[] stopNode)
492492
{
493-
string schemaName = SchemaName(context);
494-
return FindAllSuperTypes(schemaName, entityName, stopNode);
493+
string contextName = SchemaName(context);
494+
return FindAllSuperTypes(contextName, entityName, stopNode);
495495
}
496496

497497
static public IList<IfcSchemaEntityNode> FindAllSuperTypes(string context, string entityName, params string[] stopNode)
@@ -555,8 +555,8 @@ static public bool IsSubTypeOf(IFCVersion ifcVersion, IFCEntityType subType, IFC
555555
/// <returns>true if it is subtype</returns>
556556
static public bool IsSubTypeOf(IFCVersion context, string subTypeName, string superTypeName, bool strict = true)
557557
{
558-
string schemaName = SchemaName(context);
559-
return IsSubTypeOf(schemaName, subTypeName, superTypeName, strict);
558+
string contextName = SchemaName(context);
559+
return IsSubTypeOf(contextName, subTypeName, superTypeName, strict);
560560
}
561561

562562
/// <summary>
@@ -596,8 +596,8 @@ static public bool IsSubTypeOf(string context, string subTypeName, string superT
596596
/// <returns>true if it is supertype</returns>
597597
static public bool IsSuperTypeOf(IFCVersion context, string superTypeName, string subTypeName, bool strict = true)
598598
{
599-
string schemaName = SchemaName(context);
600-
return IsSuperTypeOf(schemaName, subTypeName, superTypeName, strict);
599+
string contextName = SchemaName(context);
600+
return IsSuperTypeOf(contextName, subTypeName, superTypeName, strict);
601601
}
602602

603603
/// <summary>

0 commit comments

Comments
 (0)