mirror of https://github.com/apache/openjpa.git
OPENJPA-2187: Generate correct source for a file that is in the default package.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1337325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
155f2626d0
commit
ae9e05b9c7
|
@ -843,6 +843,7 @@ public class SourceCode {
|
|||
}
|
||||
|
||||
public void write(PrintWriter out, int tab) {
|
||||
if (name != null && !name.isEmpty())
|
||||
out.println("package " + name + SEMICOLON);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue