jdk/src/share/classes/com/sun/jmx/snmp/SnmpString.java
changeset 25187 08aff438def8
parent 23010 6dadb192ad81
equal deleted inserted replaced
25186:63e1a2ec30f5 25187:08aff438def8
   138      * @return The array of <CODE>Bytes</CODE> representation of the value.
   138      * @return The array of <CODE>Bytes</CODE> representation of the value.
   139      */
   139      */
   140     public Byte[] toByte() {
   140     public Byte[] toByte() {
   141         Byte[] result = new Byte[value.length] ;
   141         Byte[] result = new Byte[value.length] ;
   142         for (int i = 0 ; i < value.length ; i++) {
   142         for (int i = 0 ; i < value.length ; i++) {
   143             result[i] = new Byte(value[i]) ;
   143             result[i] = value[i];
   144         }
   144         }
   145         return result ;
   145         return result ;
   146     }
   146     }
   147 
   147 
   148     /**
   148     /**