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

david_page
11.53.2007 4c15dbb9e9c9e369dcb56dad014a9d47165a65be
opends/src/server/org/opends/server/util/StaticUtils.java
@@ -112,14 +112,10 @@
   */
  public static byte[] getBytes(String s)
  {
    if (s == null) return null;
    try
    {
      if (s == null)
      {
        return null;
      }
      char c;
      int length = s.length();
      byte[] returnArray = new byte[length];
@@ -1040,7 +1036,6 @@
      buffer.append(indentBuf);
      buffer.append(byteToHex(currentByte));
      asciiBuf.append(byteToASCII(currentByte));
      pos++;
      for (int i=1; i < 16; i++)
      {
@@ -1647,7 +1642,7 @@
        try
        {
          className = className.substring(className.lastIndexOf('.') + 1);
        } catch (Exception e) {}
        } catch (Exception e) { /* ignored */ }
        buffer.append(className);
      }
      else
@@ -1656,7 +1651,7 @@
      }
      int i=0;
      buffer.append("(");
      buffer.append(" (");
      for (StackTraceElement e : t.getStackTrace())
      {
        if (i > 20)