This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.6
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.6 by this push:
     new fdbcba2  [hotfix][rest] Simplify thread-priority description
fdbcba2 is described below

commit fdbcba220425f5cef01236a6cf482c9e4f54b3a2
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed Oct 17 17:24:06 2018 +0200

    [hotfix][rest] Simplify thread-priority description
---
 .../src/main/java/org/apache/flink/configuration/RestOptions.java  | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java 
b/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
index 11c38de..5c1b6d6 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
@@ -19,7 +19,6 @@
 package org.apache.flink.configuration;
 
 import org.apache.flink.annotation.Internal;
-import org.apache.flink.configuration.description.Description;
 
 import static org.apache.flink.configuration.ConfigOptions.key;
 
@@ -125,9 +124,7 @@ public class RestOptions {
 
        public static final ConfigOption<Integer> SERVER_THREAD_PRIORITY = 
key("rest.server.thread-priority")
                .defaultValue(Thread.NORM_PRIORITY)
-               .withDescription(Description.builder()
-                       .text("Thread priority of the REST server's executor 
for processing asynchronous requests. " +
+               .withDescription("Thread priority of the REST server's executor 
for processing asynchronous requests. " +
                                "Lowering the thread priority will give Flink's 
main components more CPU time whereas " +
-                               "increasing will allocate more time for the 
REST server's processing.")
-                       .build());
+                               "increasing will allocate more time for the 
REST server's processing.");
 }

Reply via email to