Menu

#2 Generation error for non-packaged class

v1.0_(example)
open
nobody
None
5
2002-08-14
2002-08-14
Anonymous
No

If a class is not in a package, an "import .className"
is written on the top of the file, creating a compile error.

A check to see if a package line
"package com.mycompany.mypackage.className"
exists before writing that import line would be great.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB