mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
only make up imports if they aren't already set
This commit is contained in:
parent
389867add2
commit
4b9e99124c
@ -163,7 +163,7 @@ namespace RusticiSoftware.Translator.CLR
|
||||
get {
|
||||
// if _java is not set then see if we have default imports, otherwise
|
||||
// assume imports is already correctly (un)set
|
||||
if (_java == null) {
|
||||
if (_imports == null && _java == null) {
|
||||
return mkImports();
|
||||
}
|
||||
return _imports;
|
||||
|
Loading…
x
Reference in New Issue
Block a user