diff --git a/src/graph/util/AnonColGenerator.h b/src/graph/util/AnonColGenerator.h index 2cf942d9e89..d12d5525d8b 100644 --- a/src/graph/util/AnonColGenerator.h +++ b/src/graph/util/AnonColGenerator.h @@ -1,7 +1,6 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. - * - * This source code is licensed under Apache 2.0 License. - */ +// Copyright (c) 2020 vesoft inc. All rights reserved. +// +// This source code is licensed under Apache 2.0 License. #ifndef GRAPH_UTIL_ANONCOLGENERATOR_H_ #define GRAPH_UTIL_ANONCOLGENERATOR_H_ @@ -19,9 +18,7 @@ constexpr char kEdgesStr[] = "_edges"; constexpr char kPathStr[] = "_path"; constexpr char kCostStr[] = "_cost"; -/** - * An utility to generate an anonymous column name. - */ +// An utility to generate an anonymous column name. class AnonColGenerator final { public: AnonColGenerator() { diff --git a/src/graph/util/AnonVarGenerator.h b/src/graph/util/AnonVarGenerator.h index 374e01efaa7..9ebc1fd6a00 100644 --- a/src/graph/util/AnonVarGenerator.h +++ b/src/graph/util/AnonVarGenerator.h @@ -1,7 +1,6 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. - * - * This source code is licensed under Apache 2.0 License. - */ +// Copyright (c) 2020 vesoft inc. All rights reserved. +// +// This source code is licensed under Apache 2.0 License. #ifndef GRAPH_UTIL_ANONVARGENERATOR_H_ #define GRAPH_UTIL_ANONVARGENERATOR_H_ diff --git a/src/graph/util/AstUtils.h b/src/graph/util/AstUtils.h index 8262b0c7df8..4dc3fe63398 100644 --- a/src/graph/util/AstUtils.h +++ b/src/graph/util/AstUtils.h @@ -1,7 +1,6 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. - * - * This source code is licensed under Apache 2.0 License. - */ +// Copyright (c) 2020 vesoft inc. All rights reserved. +// +// This source code is licensed under Apache 2.0 License. #ifndef GRAPH_UTIL_ASTUTIL_H_ #define GRAPH_UTIL_ASTUTIL_H_ @@ -11,6 +10,7 @@ namespace nebula { namespace graph { +// Used to test GQL parser class AstUtils final { public: explicit AstUtils(...) = delete; diff --git a/src/graph/util/ContainerConv.h b/src/graph/util/ContainerConv.h deleted file mode 100644 index 817f081d7c9..00000000000 --- a/src/graph/util/ContainerConv.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. - * - * This source code is licensed under Apache 2.0 License. - */ - -#ifndef GRAPH_UTIL_CONTAINERCONV_H_ -#define GRAPH_UTIL_CONTAINERCONV_H_ - -#include "common/base/Base.h" - -namespace nebula { -namespace graph { - -class ContainerConv { - public: - explicit ContainerConv(...) = delete; - - template