summaryrefslogtreecommitdiffstats
path: root/src/net/gcdc/asn1/datatypesimpl
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2020-07-28 17:56:59 +0200
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2020-07-28 17:56:59 +0200
commitaaeb77f8f58ebc01fd241139439a8d290765e5fc (patch)
tree4ce4a7300af0360d16e35156cde8a164779dd96a /src/net/gcdc/asn1/datatypesimpl
parentbugfix activated day (diff)
downloadUIC-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 'src/net/gcdc/asn1/datatypesimpl')
-rw-r--r--src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java11
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));
}
}