From aaeb77f8f58ebc01fd241139439a8d290765e5fc Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:56:59 +0200 Subject: Draft of the new DOSIPAS included --- .../gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/net/gcdc/asn1') 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 { +public class SequenceOfUnrestrictedLong extends Asn1SequenceOf { public SequenceOfUnrestrictedLong() { super(); } - public SequenceOfUnrestrictedLong(Collection coll) { super(coll); } - - public void add(Long num) { - add (new Asn1BigInteger(num)); - } + public SequenceOfUnrestrictedLong(Collection coll) { super(coll); } public SequenceOfUnrestrictedLong(List numbers) { super(); for (Long number: numbers){ - this.add(new Asn1BigInteger(number)); + this.add(new Long(number)); } } -- cgit v1.2.3