File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class Main {
45
45
static ParseMode mode ;
46
46
static Log log ;
47
47
48
- static final String version = "v0.2.2 " ;
48
+ static final String version = "v0.2.3 " ;
49
49
50
50
public static void main (String [] args ) throws InterruptedException {
51
51
log = new Log ();
@@ -239,14 +239,15 @@ private static void ParseByMethod() {
239
239
CompilationUnit cu = StaticJavaParser .parse (src );
240
240
cu .accept (visitor , null );
241
241
visitor .flush ();
242
- parsedFiles .addAndGet (1 );
243
- parsedMethods .addAndGet (visitor .getNumOfParsedMethods ());
244
242
System .out .println ("done" );
245
243
} catch (Exception e ) {
246
244
log .AppendFailure (src .toString (), e );
247
245
failedFiles .addAndGet (1 );
248
246
System .out .println ("failed" );
249
247
}
248
+
249
+ parsedFiles .addAndGet (1 );
250
+ parsedMethods .addAndGet (visitor .getNumOfParsedMethods ());
250
251
});
251
252
} catch (IOException e ) {
252
253
log .ErrorMessage = e .getMessage ();
You can’t perform that action at this time.
0 commit comments