Skip to content

Commit dfee5bf

Browse files
authored
fix(server): remove extra blank lines (#2459)
* remove extra blank lines in api * remove extra blank lines in core * remove extra blank lines in scylladb
1 parent eef3b35 commit dfee5bf

File tree

9 files changed

+0
-9
lines changed

9 files changed

+0
-9
lines changed

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/DecompressInterceptor.java

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public Object aroundReadFrom(ReaderInterceptorContext context)
4747
return context.proceed();
4848
}
4949

50-
5150
@NameBinding
5251
@Retention(RetentionPolicy.RUNTIME)
5352
public @interface Decompress {

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/metrics/MetricsAPI.java

-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ private Map<String, Map<String, Object>> statistics() {
362362
Counter successCounter = reporter.counters().get(
363363
joinWithSlash(metricsName, METRICS_PATH_SUCCESS_COUNTER));
364364

365-
366365
Histogram histogram = entry.getValue();
367366
Map<String, Object> entryMetricsMap = new HashMap<>();
368367
entryMetricsMap.put(MetricsKeys.MAX_RESPONSE_TIME.name(),

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/traversers/CustomizedCrosspointsAPI.java

-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ public String post(@Context GraphManager manager,
114114
measure.addIterCount(traverser.vertexIterCounter.get(),
115115
traverser.edgeIterCounter.get());
116116

117-
118117
Iterator<?> iterVertex;
119118
Set<Id> vertexIds = new HashSet<>();
120119
if (request.withPath) {

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/core/GraphManager.java

-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ private HugeAuthenticator authenticator() {
347347
return this.authenticator;
348348
}
349349

350-
351350
private void closeTx(final Set<String> graphSourceNamesToCloseTxOn,
352351
final Transaction.Status tx) {
353352
final Set<Graph> graphsToCloseTxOn = new HashSet<>();

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/metrics/MetricsUtil.java

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public class MetricsUtil {
6363
public static final String RIGHT_NAME_STR = ",} ";
6464
public static final String PROM_HELP_NAME = "hugegraph_info";
6565

66-
6766
public static <T> Gauge<T> registerGauge(Class<?> clazz, String name,
6867
Gauge<T> gauge) {
6968
return REGISTRY.register(MetricRegistry.name(clazz, name), gauge);

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/job/algorithm/comm/KCoreAlgorithm.java

-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ public Set<Id> kcore(Iterator<Vertex> vertices, Directions direction,
190190
return extractKcore(map, k);
191191
}
192192

193-
194193
@SuppressWarnings("unchecked")
195194
private static Set<Id> extractKcore(SimilarsMap similarsMap, int k) {
196195
assert similarsMap.size() == 1;

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/masterelection/StandardClusterRoleStore.java

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ public static final class P {
176176
public static final String TYPE = Graph.Hidden.hide("role_type");
177177
}
178178

179-
180179
public static final class Schema extends SchemaDefine {
181180

182181
public Schema(HugeGraphParams graph) {

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public class HugeSecurityManager extends SecurityManager {
4848
// TODO: add "suppressAccessChecks"
4949
private static final Set<String> DENIED_PERMISSIONS = ImmutableSet.of("setSecurityManager");
5050

51-
5251
private static final Set<String> ACCEPT_CLASS_LOADERS = ImmutableSet.of(
5352
"groovy.lang.GroovyClassLoader",
5453
"sun.reflect.DelegatingClassLoader",

hugegraph-server/hugegraph-scylladb/src/main/java/org/apache/hugegraph/backend/store/scylladb/ScyllaDBTablesWithMV.java

-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ protected void dropTable(CassandraSessionPool.Session session) {
221221
super.dropTable(session);
222222
}
223223

224-
225224
/**
226225
* Query data from label index table if just want to query by label
227226
*/

0 commit comments

Comments
 (0)