refact: fix some code style with check plugin#385
refact: fix some code style with check plugin#385seagle-yuan wants to merge 4 commits intoapache:masterfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #385 +/- ##
============================================
- Coverage 62.58% 62.54% -0.04%
- Complexity 894 1866 +972
============================================
Files 91 260 +169
Lines 4383 9407 +5024
Branches 515 872 +357
============================================
+ Hits 2743 5884 +3141
- Misses 1437 3141 +1704
- Partials 203 382 +179 ☔ View full report in Codecov by Sentry. |
| exception.cause = (String) getByKeys(json, CAUSE_KEYS); | ||
| exception.trace = getByKeys(json, TRACE_KEYS); | ||
| } catch (Exception ignored) { | ||
| LOG.error(" ServerException excepiton "); |
There was a problem hiding this comment.
we need log here? @javeme
and seems have 2 extra spaces
| conf = path; | ||
| } | ||
| } catch (Exception ignored) { | ||
| LOG.error("hugeConfig exception"); |
| vMapping = new org.apache.hugegraph.loader.mapping.VertexMapping( | ||
| idFields.get(0), true); |
There was a problem hiding this comment.
if line < 100, use one line instead
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/flink/HugeGraphOutputFormat.java
Outdated
Show resolved
Hide resolved
| request.vertices((List<Vertex>) (Object) graphElements) | ||
| .updatingStrategies(updateStrategyMap) | ||
| .createIfNotExist(true); |
| .updatingStrategies(updateStrategyMap) | ||
| .checkVertex(isCheckVertex) | ||
| .createIfNotExist(true); |
There was a problem hiding this comment.
same, and why we change the name? (seems optional)
| .updatingStrategies(this.mapping.updateStrategies()) | ||
| .createIfNotExist(true); |
|
|
||
| private static final long serialVersionUID = 6335623004322652358L; | ||
|
|
||
| protected static final Logger LOG = Log.logger(ServerException.class); |
| @Configuration | ||
| public class HubbleConfig { | ||
|
|
||
| protected static final Logger LOG = Log.logger(HubbleConfig.class); |
| g.updateVertices(req.build()); | ||
| BatchVertexRequest.Builder request = new BatchVertexRequest.Builder(); | ||
| request.vertices((List<Vertex>) (Object) graphElements) | ||
| .updatingStrategies(updateStrategyMap) |
| .createIfNotExist(true); | ||
| BatchEdgeRequest.Builder request = new BatchEdgeRequest.Builder(); | ||
| request.edges((List<Edge>) (Object) elements) | ||
| .updatingStrategies(this.mapping.updateStrategies()) |
| "not allowed to insert, because already exist a vertex " + | ||
| "Connection refused", | ||
| "The server is being shutting down", | ||
| "not allowed to insert, because already exist a vertex " + |
|
@seagle-yuan will this PR fixed before release? (before next week) or just leave it in next release |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
| add(peter); | ||
| add(lop); | ||
| add(vadasB); | ||
| }}; |
There was a problem hiding this comment.
can we keep the origin style?
| add(peterCreateLop); | ||
| }}; | ||
| add(peterCreateLop); | ||
| }}; |
There was a problem hiding this comment.
can we keep the origin style?
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Hi, @seagle-yuan, any update with this? |
could follow this PR and finish it |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |


fix checkstyle check