From eba688428106941d8453662c88f883f4f91dcfa8 Mon Sep 17 00:00:00 2001 From: akwizgran <akwizgran@users.sourceforge.net> Date: Wed, 21 Sep 2011 18:09:56 +0100 Subject: [PATCH] Javadocs. --- api/net/sf/briar/api/transport/ConnectionWriter.java | 6 +++--- components/net/sf/briar/transport/ConnectionEncrypter.java | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/api/net/sf/briar/api/transport/ConnectionWriter.java b/api/net/sf/briar/api/transport/ConnectionWriter.java index e931cf7444..cfc623bc38 100644 --- a/api/net/sf/briar/api/transport/ConnectionWriter.java +++ b/api/net/sf/briar/api/transport/ConnectionWriter.java @@ -12,9 +12,9 @@ public interface ConnectionWriter { OutputStream getOutputStream(); /** - * Returns the number of encrypted and authenticated bytes that can be - * written without writing more than the given number of bytes, including - * encryption and authentication overhead. + * Returns the number of bytes that can be written to this writer without + * outputting more than the given number of bytes, including encryption and + * authentication overhead. */ long getCapacity(long capacity); } diff --git a/components/net/sf/briar/transport/ConnectionEncrypter.java b/components/net/sf/briar/transport/ConnectionEncrypter.java index bf272997bc..8f25f27c3d 100644 --- a/components/net/sf/briar/transport/ConnectionEncrypter.java +++ b/components/net/sf/briar/transport/ConnectionEncrypter.java @@ -13,9 +13,8 @@ interface ConnectionEncrypter { void writeMac(byte[] mac) throws IOException; /** - * Returns the number of encrypted bytes that can be written without - * writing more than the given number of bytes, including encryption - * overhead. + * Returns the number of bytes that can be encrypted without outputting + * more than the given number of bytes, including encryption overhead. */ long getCapacity(long capacity); } -- GitLab