hangc0276 opened a new pull request #10837:
URL: https://github.com/apache/pulsar/pull/10837


   ### Motivation
   The some java class/method/field modifiers are improper used.
   
   Oracle java modifier order documentation:
   https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.1.1
   
   #### Class Modifiers
   ```
   Class Modifier:
   (one of)
   Annotation public protected private
   abstract static final strictfp
   ```
   
   #### Method Modifiers
   ```
   MethodModifier:
   (one of)
   Annotation public protected private
   abstract static final synchronized native strictfp
   ```
   
   #### Field Modifiers
   ```
   FieldModifier:
   (one of)
   Annotation public protected private
   static final transient volatile
   ```
   
   ### Modification
   Change mis-ordered modifiers. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to