You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sr...@apache.org on 2018/04/19 08:55:28 UTC
[3/4] flink git commit: [hotfix][checkstyle] fix warnings in
LocalBufferPool
[hotfix][checkstyle] fix warnings in LocalBufferPool
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/03be2b3d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/03be2b3d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/03be2b3d
Branch: refs/heads/release-1.5
Commit: 03be2b3d0a4374ef5ad18c1c3dc065133e4540f9
Parents: ed4f4f1
Author: Nico Kruber <ni...@data-artisans.com>
Authored: Fri Apr 6 19:35:44 2018 +0200
Committer: Stefan Richter <s....@data-artisans.com>
Committed: Thu Apr 19 10:28:01 2018 +0200
----------------------------------------------------------------------
.../flink/runtime/io/network/buffer/LocalBufferPool.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/03be2b3d/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java b/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java
index 0a311aa..fa15678 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java
@@ -33,14 +33,14 @@ import static org.apache.flink.util.Preconditions.checkState;
/**
* A buffer pool used to manage a number of {@link Buffer} instances from the
* {@link NetworkBufferPool}.
- * <p>
- * Buffer requests are mediated to the network buffer pool to ensure dead-lock
+ *
+ * <p>Buffer requests are mediated to the network buffer pool to ensure dead-lock
* free operation of the network stack by limiting the number of buffers per
* local buffer pool. It also implements the default mechanism for buffer
* recycling, which ensures that every buffer is ultimately returned to the
* network buffer pool.
*
- * <p> The size of this pool can be dynamically changed at runtime ({@link #setNumBuffers(int)}. It
+ * <p>The size of this pool can be dynamically changed at runtime ({@link #setNumBuffers(int)}. It
* will then lazily return the required number of buffers to the {@link NetworkBufferPool} to
* match its new size.
*/
@@ -50,7 +50,7 @@ class LocalBufferPool implements BufferPool {
/** Global network buffer pool to get buffers from. */
private final NetworkBufferPool networkBufferPool;
- /** The minimum number of required segments for this pool */
+ /** The minimum number of required segments for this pool. */
private final int numberOfRequiredMemorySegments;
/**
@@ -68,7 +68,7 @@ class LocalBufferPool implements BufferPool {
/** Maximum number of network buffers to allocate. */
private final int maxNumberOfMemorySegments;
- /** The current size of this pool */
+ /** The current size of this pool. */
private int currentPoolSize;
/**