private static String addSpacePostfixIfNeeded(String label) {
    if (label == null) {
      return "";
    }
    label = label.trim();
    return label.length() > 0 ? label + " " : label;
  }
Should be called by the lock to indicate that the lock was unlocked.  For reentrant locks this may or may not
mean the lock was actually released.
ambari-server/src/main/java/org/apache/ambari/server/logging/LockProfileDelegate.java