(image taken from Kurtis Scaletta’s photostream)
Last time, you read about the extract target refactoring. Today, I’m going to show you one that I love to perform: delete boolean property. Have a look the smell first:
<project default="unit_tests">
<property name="junit.enabled" value="true" />
<target name="-check_junit_enabled">
<condition property="junit.really.enabled">
<and>
<equals [...]