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

leizou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d7ad8677 fix checkstyle: Update StandardStateMachineCallback.java 
(#2290)
4d7ad8677 is described below

commit 4d7ad86776482900ef75406760b6a6391ef08781
Author: lzyxx <[email protected]>
AuthorDate: Tue Aug 22 14:07:34 2023 +0800

    fix checkstyle: Update StandardStateMachineCallback.java (#2290)
    
    During the compilation of your code, an informational message was displayed 
indicating an issue with the file 
/home/lzy/hugegraph/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardStateMachineCallback.java
 at line 36. The specific problem was that the length of this line exceeded 100 
characters, with a total of 101 characters.
    
    To address this issue, I have made modifications to this class. I have 
split the originally long line into multiple lines to ensure that each line's 
length adheres to the coding standards' specified limits. This action not only 
aligns with the requirements of the code style, but also improves the 
readability and maintainability of the code.
---
 .../apache/hugegraph/masterelection/StandardStateMachineCallback.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardStateMachineCallback.java
 
b/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardStateMachineCallback.java
index 88bec95b3..28e01d291 100644
--- 
a/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardStateMachineCallback.java
+++ 
b/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardStateMachineCallback.java
@@ -33,7 +33,8 @@ public class StandardStateMachineCallback implements 
StateMachineCallback {
 
     private boolean isMaster = false;
 
-    public StandardStateMachineCallback(TaskManager taskManager, 
GlobalMasterInfo globalMasterInfo) {
+    public StandardStateMachineCallback(TaskManager taskManager, 
+                                        GlobalMasterInfo globalMasterInfo) {
         this.taskManager = taskManager;
         this.taskManager.enableRoleElected(true);
         this.globalMasterInfo = globalMasterInfo;

Reply via email to