aboutsummaryrefslogtreecommitdiff
path: root/java/src/main/java/com/google/protobuf/ByteString.java
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-03-31 10:29:58 -0700
committerTamir Duberstein <tamird@gmail.com>2015-04-02 14:48:43 -0700
commit7139d1eff739682a088ea2c2dbdfef2f108321f8 (patch)
treeebb7884189b38ca95d26bc911f22ef1222170eb9 /java/src/main/java/com/google/protobuf/ByteString.java
parent8d9e51cf4e228c332d0a31dd1845d32b71d54e93 (diff)
downloadprotobuf-7139d1eff739682a088ea2c2dbdfef2f108321f8.tar.gz
protobuf-7139d1eff739682a088ea2c2dbdfef2f108321f8.tar.bz2
protobuf-7139d1eff739682a088ea2c2dbdfef2f108321f8.zip
Whitespace
Diffstat (limited to 'java/src/main/java/com/google/protobuf/ByteString.java')
-rw-r--r--java/src/main/java/com/google/protobuf/ByteString.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/main/java/com/google/protobuf/ByteString.java b/java/src/main/java/com/google/protobuf/ByteString.java
index 9b0a524b..637df5f4 100644
--- a/java/src/main/java/com/google/protobuf/ByteString.java
+++ b/java/src/main/java/com/google/protobuf/ByteString.java
@@ -507,7 +507,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
/**
* Internal (package private) implementation of
* {@link #copyTo(byte[],int,int,int)}.
- * It assumes that all error checking has already been performed and that
+ * It assumes that all error checking has already been performed and that
* {@code numberToCopy > 0}.
*/
protected abstract void copyToInternal(byte[] target, int sourceOffset,
@@ -546,7 +546,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
* @throws IOException if an I/O error occurs.
*/
public abstract void writeTo(OutputStream out) throws IOException;
-
+
/**
* Writes a specified part of this byte string to an output stream.
*
@@ -572,7 +572,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
if (numberToWrite > 0) {
writeToInternal(out, sourceOffset, numberToWrite);
}
-
+
}
/**
@@ -599,7 +599,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
* <p>
* By returning a list, implementations of this method may be able to avoid
* copying even when there are multiple backing arrays.
- *
+ *
* @return a list of wrapped bytes
*/
public abstract List<ByteBuffer> asReadOnlyByteBufferList();
@@ -831,7 +831,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
flushLastBuffer();
return ByteString.copyFrom(flushedBuffers);
}
-
+
/**
* Implement java.util.Arrays.copyOf() for jdk 1.5.
*/