Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typo and some coding guidelines #2613

Merged
merged 2 commits into from
Apr 26, 2020

Conversation

XavierChengZW
Copy link
Contributor

@XavierChengZW XavierChengZW commented Apr 25, 2020

…r#proceed

Ⅰ. Describe what this PR did

fix typo for io.seata.rm.tcc.interceptor.ActionInterceptorHandler#proceed
fix some coding guidelines analyze
fix io.seata.core.rpc.netty.RpcServerBootstrap#start A static field should be directly referred by its class name instead of its corresponding object name.
fix io.seata.core.store.db.sql.log.AbstractLogStoreSqls#getQueryGlobalMax,io.seata.core.store.db.sql.log.AbstractLogStoreSqls#getQueryBranchMax.An overridden method from an interface or abstract class must be marked with @OverRide annotation.
fix io.seata.core.store.GlobalTransactionDO. Members of a POJO class must be wrapper classes.

Ⅱ. Does this pull request fix one issue?

Not

Ⅲ. Why don't you add test cases (unit test/integration test)?

No validation required

Ⅳ. Describe how to verify it

No validation required

Ⅴ. Special notes for reviews

Not

@slievrly slievrly changed the title docs:fix typo for io.seata.rm.tcc.interceptor.ActionInterceptorHandle… docs: fix typo Apr 25, 2020
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slievrly
Copy link
Member

@XavierChengZW thanks for you contribution.

…e added @OverRide,a static field should be directly referred by its class name,members of a POJO class wrapper classes
@codecov-io
Copy link

codecov-io commented Apr 25, 2020

Codecov Report

Merging #2613 into develop will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2613      +/-   ##
=============================================
- Coverage      51.18%   51.17%   -0.02%     
+ Complexity      2806     2804       -2     
=============================================
  Files            554      554              
  Lines          17772    17772              
  Branches        2099     2099              
=============================================
- Hits            9096     9094       -2     
  Misses          7819     7819              
- Partials         857      859       +2     
Impacted Files Coverage Δ Complexity Δ
...va/io/seata/core/rpc/netty/RpcServerBootstrap.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../java/io/seata/core/store/BranchTransactionDO.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../java/io/seata/core/store/GlobalTransactionDO.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...ta/core/store/db/sql/log/AbstractLogStoreSqls.java 100.00% <ø> (ø) 10.00 <0.00> (ø)
...in/java/io/seata/rm/datasource/xa/XABranchXid.java 67.56% <ø> (ø) 11.00 <0.00> (ø)
...a/rm/tcc/interceptor/ActionInterceptorHandler.java 25.37% <ø> (ø) 7.00 <0.00> (ø)
...o/seata/server/coordinator/DefaultCoordinator.java 54.63% <0.00%> (-0.52%) 28.00% <0.00%> (-1.00%)
...in/java/io/seata/server/session/GlobalSession.java 83.71% <0.00%> (-0.46%) 71.00% <0.00%> (-1.00%)

@XavierChengZW XavierChengZW changed the title docs: fix typo docs: fix typo and some coding guidelines Apr 25, 2020
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jsbxyyx jsbxyyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsbxyyx jsbxyyx merged commit b8d28f1 into apache:develop Apr 26, 2020
xiaowan pushed a commit to xiaowan/seata that referenced this pull request Apr 30, 2020
@slievrly slievrly added this to the 1.3.0 milestone Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants