OPENJPA-2156: Correctly generate imports when using classes in java.util packages.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1301641 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2012-03-16 16:43:34 +00:00
parent f4e1d195bb
commit 7063dd5296
1 changed files with 0 additions and 2 deletions

View File

@ -105,8 +105,6 @@ public class SourceCode {
*/
private boolean addImport(ClassName name) {
String pkgName = name.getPackageName();
if ("java.lang".equals(pkgName))
return false;
for (Import i : imports) {
if (i.getClassName().hides(name)) {
i.getClassName().useFullName();