X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Finspector%2Fjava%2Fmethods%2FAnnotation.java;h=da1653e4db91f55cbaf1cf248a27a06a6c13432b;hb=f0253606ed92cc13aa4e49e28a44ee41cf3d3251;hp=94b22328f48a8bd9219b2b95f5ed84b0b9cc7bb4;hpb=93d3fd571ed634437334b78bec8fd725f4c90701;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 94b2232..da1653e 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-2017, 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;