> @@ -51,9 +47,7 @@ public String evaluate(Object obj, String expression) {
>      try {
>        scriptEngine.put(getType(), obj);
>        result = String.valueOf(scriptEngine.eval(expression));
> -    } catch (Exception ex) {
> -      //Ignore
> -    }
> +    } catch (Exception ignored) {}
>      return result;

Would it make sense to change the default value of the `result` variable to 
`N/A` or similar? That would make more sense for users than a bunch of empty 
lines.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/79/files/6c68f0d234eae7732069b14ac47bad8c885eed27#r77891994

Reply via email to