Skip to content

fix cassandra code checkstyle#1829

Closed
z7658329 wants to merge 7 commits intoapache:masterfrom
z7658329:master
Closed

fix cassandra code checkstyle#1829
z7658329 wants to merge 7 commits intoapache:masterfrom
z7658329:master

Conversation

@z7658329
Copy link
Copy Markdown
Member

fix cassandra code checkstyle

@z7658329
Copy link
Copy Markdown
Member Author

I have read the CLA Document and I hereby sign the CLA

@z7658329
Copy link
Copy Markdown
Member Author

check result:
image

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 24, 2022

Codecov Report

Merging #1829 (0699970) into master (0ed2e3b) will increase coverage by 0.03%.
The diff coverage is 66.66%.

❗ Current head 0699970 differs from pull request most recent head f0e85a2. Consider uploading reports for the commit f0e85a2 to get more accurate results

@@             Coverage Diff              @@
##             master    #1829      +/-   ##
============================================
+ Coverage     70.70%   70.74%   +0.03%     
- Complexity      980      982       +2     
============================================
  Files           447      447              
  Lines         38041    38041              
  Branches       5389     5389              
============================================
+ Hits          26897    26911      +14     
+ Misses         8508     8496      -12     
+ Partials       2636     2634       -2     
Impacted Files Coverage Δ
.../backend/store/cassandra/CassandraSessionPool.java 59.00% <50.00%> (-0.60%) ⬇️
...egraph/backend/store/cassandra/CassandraTable.java 79.86% <50.00%> (ø)
...egraph/backend/store/cassandra/CassandraStore.java 74.28% <75.00%> (ø)
...egraph/backend/store/cassandra/CassandraShard.java 54.54% <100.00%> (+1.81%) ⬆️
...va/com/baidu/hugegraph/task/ServerInfoManager.java 76.75% <0.00%> (-1.63%) ⬇️
...in/java/com/baidu/hugegraph/auth/SchemaDefine.java 76.10% <0.00%> (ø)
.../java/com/baidu/hugegraph/api/auth/ProjectAPI.java 82.05% <0.00%> (ø)
...va/com/baidu/hugegraph/auth/HugeAuthenticator.java 40.21% <0.00%> (ø)
...a/com/baidu/hugegraph/auth/HugeGraphAuthProxy.java 58.38% <0.00%> (ø)
...a/com/baidu/hugegraph/backend/query/Condition.java 78.70% <0.00%> (+0.36%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ed2e3b...f0e85a2. Read the comment docs.

}
return IteratorUtils.of(row.getLong(0));
});
Row row = rs.one();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we keep the origin indentation style?

Comment on lines +111 to +115
if (row == null) {
return IteratorUtils.of(aggregate.defaultValue());
}
return IteratorUtils.of(row.getLong(0));
});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

how could it add 8 space in IDE's behavior? seems it's confuse

@z7658329
Copy link
Copy Markdown
Member Author

see #1847

@z7658329 z7658329 closed this Apr 26, 2022
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.

4 participants