anchor.diff:          if(checkUserIdExists != null) {
             checkUserIdExists.close();
           }
  +        if(stmtUpPids != null) {
  +          stmtUpPids.close();
  +        }
  +        if(rsetUpPids != null) {
  +          rsetUpPids.close();
  +        }
           if(mCon != null) {
             mCon.close();
           }
  
positive.code:             insertPersons.setString(4, phone);
              insertPersons.setInt(5,personId);
              insertPersons.executeUpdate();
              
              // update the userId only if changed, but other than userId still updates that users data.
              if(oldUser.equals(uid)) {
  
negative.code:       PreparedStatement updateSaltsUid = null;
        PreparedStatement updatePassword = null;
        PreparedStatement updateSalt = null;
        Statement stmtUpPids = null;
        ResultSet rsetUpPids = null;
        
        // actually log in and perform statements
        try{          
  