code: private String stringFromResetBits(final int bits)
     {
        final StringBuilder sb = new StringBuilder();
        for (int ndx = 0; ndx < RESET_STATES.length; ndx++) {
           if ( (bits & (0b1 << ndx)) != 0) {
              sb.append(RESET_STATES[ndx]).append(", ");
           }
        }
  
        sb.setLength(sb.length() - 2);  // trim trailing comma
        return sb.toString();
     }
docs: This will create a string for debug logging. Given a set of "reset bits", this
  method will return a concatenated string, for example:
  
  Input : 0b00110
  Output: "autoCommit, isolation"
  
  @param bits a set of "reset bits"
  @return a string of which states were reset