private String getLogMessageDetail(final int nbAttempt, final Path p, final long startWaiting) {
    return "attempt=" + nbAttempt + " on file=" + p + " after " +
      (System.currentTimeMillis() - startWaiting) + "ms";
  }
private String getLogMessageDetail ( final int nbAttempt , final Path p , final long startWaiting ) { return "attempt=" + nbAttempt + " on file=" + p + " after " + ( System . currentTimeMillis ( ) - startWaiting ) + "ms" ; }
@param nbAttempt Attempt number for the lease recovery.
@param p Path of the file to recover.
@param startWaiting Timestamp of when we started attempting to recover the file lease.
@return Detail to append to any log message around lease recovering.