summaryrefslogtreecommitdiffstats
path: root/pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-12-05 17:42:21 -0500
committerAdam Young <ayoung@redhat.com>2011-12-05 20:14:07 -0500
commit3c1a4af339dc1761b3a68abe9b0f26bd3cb389cf (patch)
tree0dc5335d8b0e21c2801ac04cf3470e1efbcff92a /pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java
parent8bcaa20e72e97b9392cc65bd3428a93170720b77 (diff)
downloadpki-3c1a4af339dc1761b3a68abe9b0f26bd3cb389cf.tar.gz
pki-3c1a4af339dc1761b3a68abe9b0f26bd3cb389cf.tar.xz
pki-3c1a4af339dc1761b3a68abe9b0f26bd3cb389cf.zip
PKISilent type safety changes
Specifies the types for the collections. Changes no behavior, and, due to erasure, should not even change the resulting byte code.
Diffstat (limited to 'pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java')
-rw-r--r--pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java b/pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java
index 4431be8ef..9c840fcdc 100644
--- a/pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java
+++ b/pki/base/silent/src/com/netscape/pkisilent/http/HTTPClient.java
@@ -1008,7 +1008,7 @@ public class HTTPClient implements SSLCertificateApprovalCallback
{
// Create an array list that we will use to hold the chunks of information
// read from the server.
- ArrayList bufferList = new ArrayList();
+ ArrayList<ByteBuffer> bufferList = new ArrayList<ByteBuffer>();
// Create a variable to hold the total number of bytes in the data.