diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-07-28 17:56:59 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-07-28 17:56:59 +0200 |
commit | aaeb77f8f58ebc01fd241139439a8d290765e5fc (patch) | |
tree | 4ce4a7300af0360d16e35156cde8a164779dd96a /src/net | |
parent | bugfix activated day (diff) | |
download | UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.gz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.bz2 UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.lz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.xz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.zst UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java b/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java index 96f8734..7df0722 100644 --- a/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java +++ b/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java @@ -3,26 +3,21 @@ package net.gcdc.asn1.datatypesimpl; import java.util.Collection;
import java.util.List;
-import net.gcdc.asn1.datatypes.Asn1BigInteger;
import net.gcdc.asn1.datatypes.Asn1SequenceOf;
/*
* Sequence of Asn1Integer for restricted integers
*
*/
-public class SequenceOfUnrestrictedLong extends Asn1SequenceOf<Asn1BigInteger> {
+public class SequenceOfUnrestrictedLong extends Asn1SequenceOf<Long> {
public SequenceOfUnrestrictedLong() { super(); }
- public SequenceOfUnrestrictedLong(Collection<Asn1BigInteger> coll) { super(coll); }
-
- public void add(Long num) {
- add (new Asn1BigInteger(num));
- }
+ public SequenceOfUnrestrictedLong(Collection<Long> coll) { super(coll); }
public SequenceOfUnrestrictedLong(List<Long> numbers) {
super();
for (Long number: numbers){
- this.add(new Asn1BigInteger(number));
+ this.add(new Long(number));
}
}
|