Merge branch '2.1.x'

This commit is contained in:
Andy Wilkinson
2019-02-21 08:19:43 +00:00
18 changed files with 37 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -307,7 +307,6 @@ public class GroovyCompiler {
private static class MainClass {
@SuppressWarnings("unchecked")
public static ClassNode get(CompilationUnit source) {
return get(source.getAST().getClasses());
}