Commit MetaInfo

Revision845441a67dbe1e8780b9f6704395d99c60a40cec (tree)
Time2012-10-12 14:32:05
Authorjwat <jwat@user...>
Commiterjwat

Log Message

* Add comments.

Change Summary

Incremental Difference

--- a/jp/bitmeister/asn1/codec/xer/XerDecoder.java
+++ b/jp/bitmeister/asn1/codec/xer/XerDecoder.java
@@ -1026,6 +1026,7 @@ public class XerDecoder implements ASN1Decoder,
10261026 */
10271027 @Override
10281028 void startElement(String qName) {
1029+ // Ref. X.680(07/2002) 25.5 Table 5
10291030 if (BOOLEAN.class.isAssignableFrom(data.componentType())
10301031 || ENUMERATED.class.isAssignableFrom(data.componentType())
10311032 || BigENUMERATED.class.isAssignableFrom(data.componentType())
--- a/jp/bitmeister/asn1/codec/xer/XerEncoder.java
+++ b/jp/bitmeister/asn1/codec/xer/XerEncoder.java
@@ -521,6 +521,7 @@ public class XerEncoder implements ASN1Encoder,
521521 throws ASN1EncodingException {
522522 StringBuilder enclosure = builder;
523523 builder = new StringBuilder();
524+ // Ref. X.680(07/2002) 25.5 Table 5
524525 if (BOOLEAN.class.isAssignableFrom(data.componentType())
525526 || ENUMERATED.class.isAssignableFrom(data.componentType())
526527 || BigENUMERATED.class.isAssignableFrom(data.componentType())
--- a/jp/bitmeister/asn1/value/BinString.java
+++ b/jp/bitmeister/asn1/value/BinString.java
@@ -18,7 +18,7 @@ package jp.bitmeister.asn1.value;
1818 import jp.bitmeister.asn1.exception.ASN1IllegalArgument;
1919
2020 /**
21- * Represents ASN.1 'Binaly string(bString)' item.
21+ * Represents ASN.1 'Binary string(bString)' item.
2222 *
2323 * <p>
2424 * An instance of this class represents a 'bString' item.
Show on old repository browser