This eliminates an, I believe, unnecessary call to getAnnotations which is causing the duplication.
getAnnotations is used internally by Driver.execute and it is where the TargetDirAnnotation is added.
I heard a report you were having this problem. It looks like you may already be trying to move to state /phase so this may not be necessary. Let me know if you have questions.
This eliminates an, I believe, unnecessary call to
getAnnotations
which is causing the duplication.getAnnotations
is used internally byDriver.execute
and it is where theTargetDirAnnotation
is added. I heard a report you were having this problem. It looks like you may already be trying to move to state /phase so this may not be necessary. Let me know if you have questions.