diff --git a/src/java/org/apache/poi/hpsf/ClassID.java b/src/java/org/apache/poi/hpsf/ClassID.java
index 549cad05b..fcc8b41ed 100644
--- a/src/java/org/apache/poi/hpsf/ClassID.java
+++ b/src/java/org/apache/poi/hpsf/ClassID.java
@@ -233,25 +233,7 @@ public class ClassID
return true;
}
- /**
- * Returns a human readable representation of the Class ID
- * in standard format "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
- * @return String representation of the Class ID represented
- * by this object.
- */
- public String toString()
- {
- StringBuffer sbClassId = new StringBuffer( 38);
- sbClassId.append( '{');
- for( int i=0; i < 16; i++) {
- sbClassId.append( HexDump.toHex( bytes[ i]));
- if( i == 3 || i == 5 || i == 7 || i == 9) {
- sbClassId.append( '-');
- }
- }
- sbClassId.append( '}');
- return sbClassId.toString();
- }
+
/**
* @see Object#hashCode()
@@ -261,4 +243,26 @@ public class ClassID
return new String(bytes).hashCode();
}
+
+
+ /**
+ *
Returns a human-readable representation of the Class ID in standard
+ * format "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
.