You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/07 00:44:40 UTC

[1/2] commons-crypto git commit: Replace old school @exception with new school @throws.

Repository: commons-crypto
Updated Branches:
  refs/heads/master a289ecd26 -> 4ca3724bc


Replace old school @exception with new school @throws.

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/4d49af4a
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/4d49af4a
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/4d49af4a

Branch: refs/heads/master
Commit: 4d49af4a2148f93e6fc34b43509fd694e7edb3a7
Parents: f54e331
Author: ggregory <gg...@apache.org>
Authored: Mon Jun 6 17:41:29 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Jun 6 17:41:29 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/commons/crypto/stream/input/Input.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/4d49af4a/src/main/java/org/apache/commons/crypto/stream/input/Input.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/stream/input/Input.java b/src/main/java/org/apache/commons/crypto/stream/input/Input.java
index c8e2f63..fff7e1d 100644
--- a/src/main/java/org/apache/commons/crypto/stream/input/Input.java
+++ b/src/main/java/org/apache/commons/crypto/stream/input/Input.java
@@ -72,7 +72,7 @@ public interface Input {
      *
      * @param n the number of bytes to be skipped.
      * @return the actual number of bytes skipped.
-     * @exception IOException if the stream does not support seek, or if some
+     * @throws IOException if the stream does not support seek, or if some
      *            other I/O error occurs.
      */
     long skip(long n) throws IOException;
@@ -91,7 +91,7 @@ public interface Input {
      * @return an estimate of the number of bytes that can be read (or skipped
      *         over) from this input stream without blocking or {@code 0} when
      *         it reaches the end of the input stream.
-     * @exception IOException if an I/O error occurs.
+     * @throws IOException if an I/O error occurs.
      */
     int available() throws IOException;
 
@@ -131,7 +131,7 @@ public interface Input {
      * Closes this input and releases any system resources associated with the
      * under layer input.
      *
-     * @exception IOException if an I/O error occurs.
+     * @throws IOException if an I/O error occurs.
      */
     void close() throws IOException;
 }


[2/2] commons-crypto git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-crypto.git

Posted by gg...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-crypto.git

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/4ca3724b
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/4ca3724b
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/4ca3724b

Branch: refs/heads/master
Commit: 4ca3724bc02489b8d9ac9d49132d3a4d3fbc5ca5
Parents: 4d49af4 a289ecd
Author: ggregory <gg...@apache.org>
Authored: Mon Jun 6 17:44:21 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Jun 6 17:44:21 2016 -0700

----------------------------------------------------------------------
 Makefile.common                                 | 14 +++---
 README.md                                       | 28 +++++++++++
 pom.xml                                         | 49 ++++++++++++++++++++
 src/changes/changes.xml                         |  6 ++-
 src/main/java/org/apache/commons/crypto/VERSION | 17 -------
 .../commons/crypto/cipher/CryptoCipher.java     |  4 ++
 .../commons/crypto/cipher/OpensslNative.java    |  2 +-
 .../crypto/random/OpensslCryptoRandom.java      | 10 ++--
 .../resources/org/apache/commons/crypto/VERSION | 17 +++++++
 .../crypto/random/AbstractRandomTest.java       | 32 ++++++++++++-
 10 files changed, 146 insertions(+), 33 deletions(-)
----------------------------------------------------------------------