title: FindBugs Dead Store Warning - Should I restructure code or Ignore Warning
body: <p>I am getting a DeadStore warning with <strong>Findbugs</strong> on <strong>int i</strong> below.  I prefer not to write one-liners due to readability.  Is there a better way to write this so that there is not DeadStore to <strong>i</strong>, but as readable?</p>
  
  <pre><code>   if (aqForm.getId() != null) {
          try {
              int i = Integer.parseInt(aqForm.getId());
              aqForm.setId(aqForm.getId().trim());
          } catch (NumberFormatException nfe) {
              result.rejectValue("id", "error.id", "Please enter an integer.");
              foundError = true;
          }
      }
  </code></pre>