[SNMP4J] spelling fix in PDU

Noel Grandin noel at peralex.com
Tue Oct 11 10:06:13 CEST 2005


Hi

  public String toString() {
    StringBuffer buf = new StringBuffer();
    buf.append(getTypeString(type));
  *  buf.append("[reqestID=");
  *  buf.append(requestID);
    buf.append(", errorStatus=");
    buf.append(getErrorStatusText()+"("+errorStatus+")");
    buf.append(", errorIndex=");
    buf.append(errorIndex);
    buf.append(", VBS[");
    for (int i=0; i<variableBindings.size(); i++) {
      buf.append(variableBindings.get(i));
      if (i+1 < variableBindings.size()) {
        buf.append("; ");
      }
    }
    buf.append("]]");
    return buf.toString();
  }


Thanks,
   Noel

NOTICE: Please note that this email, and the contents thereof, 
are subject to the standard Peralex email disclaimer, which may 
be found at: http://www.peralex.com/disclaimer.html

If you cannot access the disclaimer through the URL attached 
 and you wish to receive a copy thereof please send 
 an email to email at peralex.com



More information about the SNMP4J mailing list