forked from hugegraph/hugegraph-sync
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
This commit is contained in:
parent
eef3b355f6
commit
dfee5bf6aa
|
|
@ -47,7 +47,6 @@ public class DecompressInterceptor implements ReaderInterceptor {
|
|||
return context.proceed();
|
||||
}
|
||||
|
||||
|
||||
@NameBinding
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Decompress {
|
||||
|
|
|
|||
|
|
@ -362,7 +362,6 @@ public class MetricsAPI extends API {
|
|||
Counter successCounter = reporter.counters().get(
|
||||
joinWithSlash(metricsName, METRICS_PATH_SUCCESS_COUNTER));
|
||||
|
||||
|
||||
Histogram histogram = entry.getValue();
|
||||
Map<String, Object> entryMetricsMap = new HashMap<>();
|
||||
entryMetricsMap.put(MetricsKeys.MAX_RESPONSE_TIME.name(),
|
||||
|
|
|
|||
|
|
@ -114,7 +114,6 @@ public class CustomizedCrosspointsAPI extends API {
|
|||
measure.addIterCount(traverser.vertexIterCounter.get(),
|
||||
traverser.edgeIterCounter.get());
|
||||
|
||||
|
||||
Iterator<?> iterVertex;
|
||||
Set<Id> vertexIds = new HashSet<>();
|
||||
if (request.withPath) {
|
||||
|
|
|
|||
|
|
@ -347,7 +347,6 @@ public final class GraphManager {
|
|||
return this.authenticator;
|
||||
}
|
||||
|
||||
|
||||
private void closeTx(final Set<String> graphSourceNamesToCloseTxOn,
|
||||
final Transaction.Status tx) {
|
||||
final Set<Graph> graphsToCloseTxOn = new HashSet<>();
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ public class MetricsUtil {
|
|||
public static final String RIGHT_NAME_STR = ",} ";
|
||||
public static final String PROM_HELP_NAME = "hugegraph_info";
|
||||
|
||||
|
||||
public static <T> Gauge<T> registerGauge(Class<?> clazz, String name,
|
||||
Gauge<T> gauge) {
|
||||
return REGISTRY.register(MetricRegistry.name(clazz, name), gauge);
|
||||
|
|
|
|||
|
|
@ -190,7 +190,6 @@ public class KCoreAlgorithm extends AbstractCommAlgorithm {
|
|||
return extractKcore(map, k);
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Set<Id> extractKcore(SimilarsMap similarsMap, int k) {
|
||||
assert similarsMap.size() == 1;
|
||||
|
|
|
|||
|
|
@ -176,7 +176,6 @@ public class StandardClusterRoleStore implements ClusterRoleStore {
|
|||
public static final String TYPE = Graph.Hidden.hide("role_type");
|
||||
}
|
||||
|
||||
|
||||
public static final class Schema extends SchemaDefine {
|
||||
|
||||
public Schema(HugeGraphParams graph) {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ public class HugeSecurityManager extends SecurityManager {
|
|||
// TODO: add "suppressAccessChecks"
|
||||
private static final Set<String> DENIED_PERMISSIONS = ImmutableSet.of("setSecurityManager");
|
||||
|
||||
|
||||
private static final Set<String> ACCEPT_CLASS_LOADERS = ImmutableSet.of(
|
||||
"groovy.lang.GroovyClassLoader",
|
||||
"sun.reflect.DelegatingClassLoader",
|
||||
|
|
|
|||
|
|
@ -221,7 +221,6 @@ public class ScyllaDBTablesWithMV {
|
|||
super.dropTable(session);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Query data from label index table if just want to query by label
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue