mirror of https://github.com/apache/openjpa.git
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:
parent
f4e1d195bb
commit
7063dd5296
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue