From 39e2fe6ad2da95f3f2e9f4186c91f493c3e23837 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Wed, 5 Feb 2020 20:35:30 +0800 Subject: [PATCH] fix: remove unused code --- .../ast/ast_java/common_listener/common_listener.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/infrastructure/ast/ast_java/common_listener/common_listener.go b/pkg/infrastructure/ast/ast_java/common_listener/common_listener.go index b04d2b5..b83e902 100644 --- a/pkg/infrastructure/ast/ast_java/common_listener/common_listener.go +++ b/pkg/infrastructure/ast/ast_java/common_listener/common_listener.go @@ -14,7 +14,6 @@ func BuildAnnotation(ctx *parser.AnnotationContext) core_domain.CodeAnnotation { pairs := ctx.ElementValuePairs().(*parser.ElementValuePairsContext).AllElementValuePair() for _, pair := range pairs { pairCtx := pair.(*parser.ElementValuePairContext) - pairCtx.ElementValue() key := pairCtx.IDENTIFIER().GetText() value := pairCtx.ElementValue().GetText() @@ -38,4 +37,3 @@ func BuildAnnotationForMethod(context *parser.ModifierContext, method *core_doma } } } - -- GitLab