Migrating to latest svjatoslav-commons.
[javainspect.git] / src / main / java / eu / svjatoslav / inspector / java / methods / Clazz.java
index 425098f..49f3d5e 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * JavaInspect - Utility to visualize java software
- * Copyright (C) 2013-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * 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
@@ -45,7 +45,7 @@ public class Clazz {
                 while (true) {
                     implementedInterfaces.add(new ClassReference(tokenizer));
 
-                    if (tokenizer.probeNextToken(","))
+                    if (tokenizer.consumeIfNextToken(","))
                         continue;
 
                     break;