ta-diff-type="compliant">
try
  DoSomething;
finally
  Writeln('All done!');
end;
</pre>
<p>If not, the <code>try</code>/<code>finally</code> statement can be removed:</p>
<pre data-diff-id="2" data-diff-type="noncompliant">
try
  DoSomething;
finally
end;
</pre>
<pre data-diff-id="2" data-diff-type="compliant">
DoSomething;
</pre>