Skip to content

Commit

Permalink
Remove useless regions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco De Salvo committed Dec 4, 2024
1 parent d94343e commit 6a2f200
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions RDFSharp/Query/Mirella/RDFOperationPrinter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,12 @@ internal static string PrintInsertDataOperation(RDFInsertDataOperation insertDat

if (insertDataOperation != null)
{
#region PREFIXES
List<RDFNamespace> prefixes = insertDataOperation.GetPrefixes();
sb.Append(PrintPrefixes(prefixes));
#endregion

#region TEMPLATES
sb.AppendLine("INSERT DATA {");
insertDataOperation.InsertTemplates.ForEach(tp => sb.Append(PrintPattern(prefixes, tp)));
sb.Append('}');
#endregion
}

return sb.ToString();
Expand Down Expand Up @@ -131,7 +127,6 @@ internal static string PrintDeleteInsertWhereOperation(RDFDeleteInsertWhereOpera
sb.AppendLine("DELETE {");
deleteInsertWhereOperation.DeleteTemplates.ForEach(tp => sb.Append(PrintPattern(prefixes, tp)));
sb.AppendLine("}");

sb.AppendLine("INSERT {");
deleteInsertWhereOperation.InsertTemplates.ForEach(tp => sb.Append(PrintPattern(prefixes, tp)));
sb.AppendLine("}");
Expand Down

0 comments on commit 6a2f200

Please sign in to comment.