diff --git a/java/src/main/java/org/whispersystems/signalservice/internal/util/Base64.java b/java/src/main/java/org/whispersystems/signalservice/internal/util/Base64.java index b138a6007f..bfb9aea14d 100644 --- a/java/src/main/java/org/whispersystems/signalservice/internal/util/Base64.java +++ b/java/src/main/java/org/whispersystems/signalservice/internal/util/Base64.java @@ -65,7 +65,7 @@ * RFC3548. *
  • Throws exceptions instead of returning null values. Because some operations * (especially those that may permit the GZIP option) use IO streams, there - * is a possiblity of an java.io.IOException being thrown. After some discussion and + * is a possibility of an java.io.IOException being thrown. After some discussion and * thought, I've changed the behavior of the methods to throw java.io.IOExceptions * rather than return null if ever there's an error. I think this is more * appropriate, though it will require some changes to your code. Sorry, @@ -479,7 +479,7 @@ private static byte[] encode3to4( byte[] b4, byte[] threeBytes, int numSigBytes, * anywhere along their length by specifying * srcOffset and destOffset. * This method does not check to make sure your arrays - * are large enough to accomodate srcOffset + 3 for + * are large enough to accommodate srcOffset + 3 for * the source array or destOffset + 4 for * the destination array. * The actual number of significant bytes in your array is @@ -1027,7 +1027,7 @@ public static byte[] encodeBytesToBytes( byte[] source, int off, int len, int op * anywhere along their length by specifying * srcOffset and destOffset. * This method does not check to make sure your arrays - * are large enough to accomodate srcOffset + 4 for + * are large enough to accommodate srcOffset + 4 for * the source array or destOffset + 3 for * the destination array. * This method returns the actual number of bytes that