Convertd Tomcat from Groovy to Java
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/ad11da11 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/ad11da11 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/ad11da11 Branch: refs/heads/0.4.0 Commit: ad11da1112bba2fb3266ce257157aac8533a818e Parents: f0e81a6 Author: Peter Veentjer <[email protected]> Authored: Wed Jul 18 12:50:42 2012 +0300 Committer: Peter Veentjer <[email protected]> Committed: Wed Jul 18 12:50:42 2012 +0300 ---------------------------------------------------------------------- .../utils/brooklyn/web/console/TestWebApplication.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/ad11da11/usage/web-console/grails-app/utils/brooklyn/web/console/TestWebApplication.groovy ---------------------------------------------------------------------- diff --git a/usage/web-console/grails-app/utils/brooklyn/web/console/TestWebApplication.groovy b/usage/web-console/grails-app/utils/brooklyn/web/console/TestWebApplication.groovy index baa1381..2850ee5 100644 --- a/usage/web-console/grails-app/utils/brooklyn/web/console/TestWebApplication.groovy +++ b/usage/web-console/grails-app/utils/brooklyn/web/console/TestWebApplication.groovy @@ -233,7 +233,7 @@ public class TestWebApplication extends AbstractApplication { this.policies = testPolicies; // Stealing the sensors from TomcatNode - this.getMutableEntityType().addSensors(new TomcatServer().getEntityType().getSensors()); + this.getMutableEntityType().addSensors(new TomcatServer([:]).getEntityType().getSensors()); //updates sensors (this doesn't seem to be working?) TestTomcatEntity tc = this; //NB: ref to TestTomcatEntity.this breaks mvn build
