Skip to content

Commit 3f93150

Browse files
authored
Merge pull request #360 from bci-oss/bugfix/code-generation-issue
Bugfix/code generation issue
2 parents 3525061 + 896d39d commit 3f93150

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

AUTHORS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Authors
1+
# Authors
22

33
The following people have contributed to this repository:
44

55
* Birgit Boss, Robert Bosch GmbH
66
* Daniel Ewert, Robert Bosch GmbH, [email protected]
7-
* Dennis Melzer, Robert Bosch GmbH, georg.schmidt-dumont@de.bosch.com
7+
* Dennis Melzer, Robert Bosch GmbH, Dennis.Melzer@de.bosch.com
88
* Misecka Rastislav, Systecs Informationssysteme GmbH
99
* Fethuallah Misir, Robert Bosch GmbH, [email protected]
1010
* Michele Santoro
1111
* Andreas Schilling, [email protected]
12-
* Georg Schmidt-Dumont, Robert Bosch GmbH, [email protected]
13-
* David Schmitt, Systecs Informationssysteme GmbH
12+
* Georg Schmidt-Dumont, Robert Bosch GmbH, [email protected]
13+
* David Schmitt, Robert Bosch GmbH, [email protected]
1414
* Andreas Textor, [email protected]
1515
* Peter Triebe, [email protected]
16-
* Julian Walbrecht, ulian[email protected]
16+
* Julian Walbrecht, Julian[email protected]
1717
* Sven Walter, [email protected]
1818
* Sven Erik Jeroschewski, Bosch.IO GmbH
1919
* Lukas Römer, Bosch.IO GmbH, [email protected]

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/metamodel/impl/DefaultComplexType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
import java.util.ArrayList;
1717
import java.util.Collections;
18+
import java.util.HashMap;
1819
import java.util.List;
1920
import java.util.Map;
2021
import java.util.Objects;
2122
import java.util.Optional;
22-
import java.util.WeakHashMap;
2323
import java.util.stream.Collectors;
2424

2525
import org.eclipse.esmf.aspectmodel.urn.AspectModelUrn;
@@ -35,7 +35,7 @@ public class DefaultComplexType extends ModelElementImpl implements ComplexType
3535
* Used to keep track of all {@link ComplexType} instances regardles of whether they are directly or indirectly
3636
* referenced in the {@link Aspect}.
3737
*/
38-
private static final WeakHashMap<AspectModelUrn, ComplexType> instances = new WeakHashMap<>();
38+
private static final HashMap<AspectModelUrn, ComplexType> instances = new HashMap<>();
3939

4040
private final List<Property> properties;
4141
private final Optional<ComplexType> _extends;

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/metamodel/loader/instantiator/ComplexTypeInstantiator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ public T apply( final Resource resource ) {
8585

8686
extending.addAll( getExtending( resource ) );
8787

88-
creatingElements.remove( resource );
89-
9088
return entity;
9189
}
9290

0 commit comments

Comments
 (0)