From 434b722a77a52eef90823dbe4e5b71ea968c8db0 Mon Sep 17 00:00:00 2001 From: Sam Pottinger Date: Mon, 4 Nov 2019 17:08:15 -0800 Subject: [PATCH] Fix loose git merge issue sitting in comments for PdeParseTreeLi.. --- .../java/preproc/PdeParseTreeListener.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/java/src/processing/mode/java/preproc/PdeParseTreeListener.java b/java/src/processing/mode/java/preproc/PdeParseTreeListener.java index aff5b4dbc..9c12c6f3f 100644 --- a/java/src/processing/mode/java/preproc/PdeParseTreeListener.java +++ b/java/src/processing/mode/java/preproc/PdeParseTreeListener.java @@ -506,30 +506,6 @@ public class PdeParseTreeListener extends ProcessingBaseListener { } /** -<<<<<<< HEAD - * Check if this contains an annation. - * - * @param context The modifier context to check. - * @return True if annotation. False otherwise - */ - private boolean isAnnoation(ProcessingParser.ModifierContext context) { - if (context.getChildCount() == 0) { - return false; - } - - ProcessingParser.ClassOrInterfaceModifierContext classModifierCtx; - if (!(context.getChild(0) instanceof ProcessingParser.ClassOrInterfaceModifierContext)) { - return false; - } - - classModifierCtx = (ProcessingParser.ClassOrInterfaceModifierContext) context.getChild(0); - - return classModifierCtx.getChild(0) instanceof ProcessingParser.AnnotationContext; - } - - /** -======= ->>>>>>> master * Endpoint for ANTLR to call after parsing a primitive type name. * *