Commit 8b58322d authored by LouisQ56's avatar LouisQ56
Browse files

bug correction in ExtendsObject rule and in ShortInstantiation

parent 8d3de0cf
......@@ -104,7 +104,7 @@ helper def: shortInstantiation() : Set(smm!Measure) =
-- Select all class who declare a Short type
->select(it| it.method.oclIsTypeOf(java!ConstructorDeclaration) and it.method.name = 'Short')
-- collect every results and send an error message
->collect(it2|thisModule.MeasureLongInstantiation(it2.originalCompilationUnit))
->collect(it2|thisModule.MeasureShortInstantiation(it2.originalCompilationUnit))
;
--------------------------------------------- LongInstantiation ---------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment