mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
30.24.2013 98365e78d0700c498a7d7da42bb6b3522ab02184
Fix typo in comment and avoid possible NPE in debugging mode.
1 files modified
9 ■■■■■ changed files
opends/src/server/org/opends/server/extensions/TraditionalWorkerThread.java 9 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/TraditionalWorkerThread.java
@@ -305,7 +305,7 @@
  }
  /**
   * Retrieves any relevent debug information with which this tread is
   * Retrieves any relevant debug information with which this tread is
   * associated so they can be included in debug messages.
   *
   * @return debug information about this thread as a string.
@@ -314,10 +314,9 @@
  public Map<String, String> getDebugProperties()
  {
    Map<String, String> properties = super.getDebugProperties();
    properties.put("clientConnection",
                   operation.getClientConnection().toString());
    properties.put("operation", operation.toString());
    properties.put("clientConnection", operation != null
        ? String.valueOf(operation.getClientConnection()) : "none");
    properties.put("operation", String.valueOf(operation));
    return properties;
  }
}