X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Finspector%2Fjava%2Fmethods%2FAnnotation.java;h=5fc30eb4ee341f688abbd8e8e5af95f18ac14dac;hb=fb953cf51bdc2bb20ba37c29ea22e26f283aa48e;hp=d4581b0a6b5f155cb23e8e743dc1e1cf6657b920;hpb=c680c10ad9057106e23b149246abdd84b41775ee;p=javainspect.git diff --git a/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java b/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java index d4581b0..5fc30eb 100755 --- a/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java +++ b/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java @@ -1,7 +1,7 @@ /* * JavaInspect - Utility to visualize java software - * Copyright (C) 2013-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * + * Copyright (C) 2013-2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License * or later as published by the Free Software Foundation. @@ -21,7 +21,7 @@ public class Annotation { name = tokenizer.getNextToken().token; - if (!tokenizer.probeNextToken("(")) + if (!tokenizer.consumeIfNextToken("(")) return; int depth = 1;