Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdettman committed Nov 11, 2021
1 parent a9c1e10 commit 4cd989d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,6 @@ public final ASN1Primitive getLoadedObject()
return this;
}

final void encode(ASN1OutputStream out, boolean withTag) throws IOException
{
encode(out, withTag, getTagClass(), getTagNo());
}

abstract void encode(ASN1OutputStream out, boolean withTag, int tagClass, int tagNo) throws IOException;

abstract String getASN1Encoding();

abstract ASN1Sequence rebuildConstructed(ASN1Primitive primitive);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int encodedLength(boolean withTag) throws IOException
return length;
}

void encode(ASN1OutputStream out, boolean withTag, int tagClass, int tagNo) throws IOException
void encode(ASN1OutputStream out, boolean withTag) throws IOException
{
// assert out.getClass().isAssignableFrom(ASN1OutputStream.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int encodedLength(boolean withTag) throws IOException
return length;
}

void encode(ASN1OutputStream out, boolean withTag, int tagClass, int tagNo) throws IOException
void encode(ASN1OutputStream out, boolean withTag) throws IOException
{
// assert out.getClass().isAssignableFrom(DEROutputStream.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int encodedLength(boolean withTag) throws IOException
return length;
}

void encode(ASN1OutputStream out, boolean withTag, int tagClass, int tagNo) throws IOException
void encode(ASN1OutputStream out, boolean withTag) throws IOException
{
// assert out.getClass().isAssignableFrom(DLOutputStream.class);

Expand Down

0 comments on commit 4cd989d

Please sign in to comment.