private void removeDirectoryFromSerialNumberIndex(Path serialDirPath) {
   String serialPart = serialDirPath.getName();
   String timeStampPart = JobHistoryUtils.getTimestampPartFromPath(serialDirPath.toString());
   if (timeStampPart == null) {
     LOG.warn(
         "Could not find timestamp portion from path: "
             + serialDirPath.toString()
             + ". Continuing with next");
     return;
   }
   if (serialPart == null) {
     LOG.warn(
         "Could not find serial portion from path: "
             + serialDirPath.toString()
             + ". Continuing with next");
     return;
   }
   serialNumberIndex.remove(serialPart, timeStampPart);
 }
 private void removeDirectoryFromSerialNumberIndex(Path serialDirPath) {
   String serialPart = serialDirPath.getName();
   String timeStampPart = JobHistoryUtils.getTimestampPartFromPath(serialDirPath.toString());
   if (timeStampPart == null) {
     /* LOG.warn("Could not find timestamp portion from path: "+serialDirPath.toString()+". Continuing with next") */
     LOG.could_not_find_timestamp_portion_from_co(String.valueOf(serialDirPath.toString()))
         .tag("methodCall")
         .warn();
     return;
   }
   if (serialPart == null) {
     /* LOG.warn("Could not find serial portion from path: "+serialDirPath.toString()+". Continuing with next") */
     LOG.could_not_find_serial_portion_from_conti(String.valueOf(serialDirPath.toString()))
         .tag("methodCall")
         .warn();
     return;
   }
   serialNumberIndex.remove(serialPart, timeStampPart);
 }