Skip to content
Success

Changes

Summary

  1. Core: - Fixed bug when generating super constructor calls for models such as: de : group = [ fhdw : group = [ parts : group = [ state : group = [ # represents a state that a product can have # # represents a state of a product with nothing cached # NothingCachedState : class = { (); }; A : class = { (); }; # represents a state of a product with cached price # PriceCachedState : class = A + NothingCachedState + { ()=A()+NothingCachedState(); }; # represents a state of a product with cached material list # MaterialListCachedState : class = NothingCachedState + { ()=NothingCachedState(); }; # represents a state of a product with cached price and materialList # PriceAndMaterialListCachedState : class = PriceCachedState + MaterialListCachedState + { ()=NothingCachedState()+PriceCachedState()+MaterialListCachedState(); }; ]; ]; ]; ]; The open ended path in this example caused a wrong call order. This has been fixed by removing certain open ended paths from the paths that will be intercepted.
Revision 4200 by hfi413te:
Core: - Fixed bug when generating super constructor calls for models such as:

de : group = [
fhdw : group = [
parts : group = [
state : group = [
# represents a state that a product can have #

# represents a state of a product with nothing cached #
NothingCachedState : class = {
();
};

A : class = {
();
};

# represents a state of a product with cached price #
PriceCachedState : class = A + NothingCachedState + {
()=A()+NothingCachedState();
};

# represents a state of a product with cached material list #
MaterialListCachedState : class = NothingCachedState + {
()=NothingCachedState();
};

# represents a state of a product with cached price and materialList #
PriceAndMaterialListCachedState : class = PriceCachedState + MaterialListCachedState + {
()=NothingCachedState()+PriceCachedState()+MaterialListCachedState();
};
];
];
];
];

The open ended path in this example caused a wrong call order.
This has been fixed by removing certain open ended paths from the paths that will be intercepted.
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/Workspace/Core/src/main/java/de/fhdw/wtf/walker/tasks/AnalyzeInheritanceTreesTask.javaCore/src/main/java/de/fhdw/wtf/walker/tasks/AnalyzeInheritanceTreesTask.java