You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/10/11 11:00:45 UTC

[flink] 01/02: [hotfix][rest] Add final modifier

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

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

commit ad39251ed5f6c51fd325119ee67e36440fa91281
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed Oct 5 11:02:08 2022 +0200

    [hotfix][rest] Add final modifier
---
 .../apache/flink/runtime/rest/messages/JobVertexBackPressureInfo.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobVertexBackPressureInfo.java b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobVertexBackPressureInfo.java
index c475b6d7cd5..acb9aa27c64 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobVertexBackPressureInfo.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobVertexBackPressureInfo.java
@@ -242,7 +242,7 @@ public class JobVertexBackPressureInfo implements ResponseBody {
         DEPRECATED("deprecated"),
         OK("ok");
 
-        private String status;
+        private final String status;
 
         VertexBackPressureStatus(String status) {
             this.status = status;
@@ -261,7 +261,7 @@ public class JobVertexBackPressureInfo implements ResponseBody {
         LOW("low"),
         HIGH("high");
 
-        private String level;
+        private final String level;
 
         VertexBackPressureLevel(String level) {
             this.level = level;