title: Remove this conditional structure or edit its code blocks so that they're not all the same in sonar bug how to handle
body: <p>** The code was mentioned sonar bug in multiple class how to handle this  **</p>
  <pre><code>if ([orderTypeS isEqualToString:kOrderDelivery]) {
              [dateSetFormat setDateFormat:@&quot;MM/dd/yy hh:mm a&quot;];
              checkHolidayDate  = [dateSetFormat dateFromString:checkHolidyString];
              if (!checkHolidayDate) {
                  [dateSetFormat setDateFormat:@&quot;MM/dd/yy&quot;];
                  checkHolidayDate  = [dateSetFormat dateFromString:dateStr];
              }else{
                  
              }
          }else{
              [dateSetFormat setDateFormat:@&quot;MM/dd/yy hh:mm a&quot;];
              checkHolidayDate  = [dateSetFormat dateFromString:checkHolidyString];
              if(!checkHolidayDate){
                  checkHolidayDate  = [dateSetFormat dateFromString:checkHolidyString];
              }else{
                 
              }
      
   
  </code></pre>