From bf718b4e64a757a8a5442c935cc862b8f231c103 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 28 Jun 2022 00:47:21 +0700 Subject: Generics migration in Bcpg, Bzip2, Cmp --- crypto/src/bcpg/ArmoredInputStream.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crypto/src/bcpg/ArmoredInputStream.cs') diff --git a/crypto/src/bcpg/ArmoredInputStream.cs b/crypto/src/bcpg/ArmoredInputStream.cs index cb5c2f91f..224ef7d28 100644 --- a/crypto/src/bcpg/ArmoredInputStream.cs +++ b/crypto/src/bcpg/ArmoredInputStream.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections.Generic; using System.IO; using System.Text; @@ -114,7 +113,7 @@ namespace Org.BouncyCastle.Bcpg bool newLineFound = false; bool clearText = false; bool restart = false; - IList headerList = Platform.CreateArrayList(); + IList headerList = new List(); int lastC = 0; bool isEndOfStream; @@ -158,7 +157,7 @@ namespace Org.BouncyCastle.Bcpg int last = 0; bool headerFound = false; - headerList = Platform.CreateArrayList(); + headerList = new List(); // // if restart we already have a header -- cgit 1.4.1