Skip to content

Commit

Permalink
[core] Add "void" return type to the behavior guard evaluator.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Sep 22, 2017
1 parent 65a7b75 commit 0438eb3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -38,7 +38,7 @@ import com.google.common.base.Strings
* @mavenartifactid $ArtifactId$
*
*/
final class BehaviorGuardEvaluator {
class BehaviorGuardEvaluator {

/** The object with the {@code PerceptGuardEvaluator} method. */
val target : Object
Expand Down Expand Up @@ -66,7 +66,7 @@ final class BehaviorGuardEvaluator {
* {@code PerceptGuardEvaluator} method is declared
* @throws InvocationTargetException - exception during evaluation, can find the method to invoke
*/
def evaluateGuard(^event : Object, behaviorsMethodsToExecute : Collection<Runnable>) {
def evaluateGuard(^event : Object, behaviorsMethodsToExecute : Collection<Runnable>) : void {
try {
this.method.accessible = true
this.method.invoke(this.target, ^event, behaviorsMethodsToExecute)
Expand Down

0 comments on commit 0438eb3

Please sign in to comment.