diff --git a/framework/src/play/classloading/enhancers/ControllersEnhancer.java b/framework/src/play/classloading/enhancers/ControllersEnhancer.java index cddf2578e3..d3d57e7880 100644 --- a/framework/src/play/classloading/enhancers/ControllersEnhancer.java +++ b/framework/src/play/classloading/enhancers/ControllersEnhancer.java @@ -148,7 +148,7 @@ public static interface ControllerSupport { * Check if a field must be translated to a 'thread safe field' */ static boolean isThreadedFieldAccess(CtField field) { - if (field.getDeclaringClass().getName().equals("play.mvc.Controller") || field.getDeclaringClass().getName().equals("play.mvc.WebSocket")) { + if (field.getDeclaringClass().getName().equals("play.mvc.Controller") || field.getDeclaringClass().getName().equals("play.mvc.WebSocketController")) { return field.getName().equals("params") || field.getName().equals("request") || field.getName().equals("response") diff --git a/framework/src/play/data/parsing/ApacheMultipartParser.java b/framework/src/play/data/parsing/ApacheMultipartParser.java index 9295e0d961..32f15d2f50 100644 --- a/framework/src/play/data/parsing/ApacheMultipartParser.java +++ b/framework/src/play/data/parsing/ApacheMultipartParser.java @@ -30,7 +30,6 @@ import play.data.FileUpload; import play.data.MemoryUpload; import play.data.Upload; -import play.data.parsing.DataParser; import play.exceptions.UnexpectedException; import play.mvc.Http.Request; diff --git a/framework/src/play/templates/GroovyTemplate.java b/framework/src/play/templates/GroovyTemplate.java index 12feae5991..9e10a1f832 100644 --- a/framework/src/play/templates/GroovyTemplate.java +++ b/framework/src/play/templates/GroovyTemplate.java @@ -426,7 +426,7 @@ public Object invokeMethod(String name, Object param) { if (absolute) { def.absolute(); } - if (template.template.name.endsWith(".html") || template.template.name.endsWith(".xml")) { + if (template.template.name.endsWith(".xml")) { def.url = def.url.replace("&", "&"); } return def; diff --git a/nbproject/project.xml b/nbproject/project.xml index 21edc5e948..aa9ed93d40 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -103,7 +103,7 @@ framework/src modules/testrunner/src modules/grizzly/src - modules/grizzly/lib/grizzly-http-webserver-1.9.18-e.jar:modules/testrunner/firephoque/apache-mime4j-0.6.jar:modules/testrunner/firephoque/commons-codec-1.4.jar:modules/testrunner/firephoque/commons-collections-3.2.1.jar:modules/testrunner/firephoque/commons-io-1.4.jar:modules/testrunner/firephoque/commons-lang-2.4.jar:modules/testrunner/firephoque/commons-logging-1.1.1.jar:modules/testrunner/firephoque/cssparser-0.9.5.jar:modules/testrunner/firephoque/htmlunit-2.8.jar:modules/testrunner/firephoque/htmlunit-core-js-2.8.jar:modules/testrunner/firephoque/httpclient-4.0.1.jar:modules/testrunner/firephoque/httpcore-4.0.1.jar:modules/testrunner/firephoque/httpmime-4.0.1.jar:modules/testrunner/firephoque/nekohtml-1.9.14.jar:modules/testrunner/firephoque/sac-1.3.jar:modules/testrunner/firephoque/serializer-2.7.1.jar:modules/testrunner/firephoque/xalan-2.7.1.jar:modules/testrunner/firephoque/xercesImpl-2.9.1.jar:modules/testrunner/firephoque/xml-apis-1.3.04.jar:framework/lib/activation-1.1.1.jar:framework/lib/antlr-2.7.6.jar:framework/lib/async-http-client-1.4.0.jar:framework/lib/bcprov-jdk15-1.45.jar:framework/lib/c3p0-0.9.1.2.jar:framework/lib/cglib-2.2.jar:framework/lib/commons-beanutils-1.8.3.jar:framework/lib/commons-codec-1.4.jar:framework/lib/commons-collections-3.1.jar:framework/lib/commons-email-1.2.jar:framework/lib/commons-fileupload-1.2.jar:framework/lib/commons-io-1.4.jar:framework/lib/commons-lang-2.5.jar:framework/lib/commons-logging-1.1.1.jar:framework/lib/dom4j-1.6.1.jar:framework/lib/ehcache-core-2.0.0.jar:framework/lib/ezmorph-1.0.3.jar:framework/lib/geronimo-servlet_2.5_spec-1.2.jar:framework/lib/hibernate-commons-annotations-3.2.0.Final.jar:framework/lib/hibernate-core-3.6.0.Final.jar:framework/lib/hibernate-entitymanager-3.6.0.Final.jar:framework/lib/hibernate-jpa-2.0-api-1.0.0.Final.jar:framework/lib/ivy-2.2.0.jar:framework/lib/jamon-2.7.jar:framework/lib/javassist-3.9.0.GA.jar:framework/lib/jaxen-1.1.jar:framework/lib/jj-imaging.jar:framework/lib/jj-simplecaptcha.jar:framework/lib/jj-textile.jar:framework/lib/jj-wikitext.jar:framework/lib/joda-time-1.6.jar:framework/lib/jregex-1.2_01.jar:framework/lib/jsr107cache-1.0.jar:framework/lib/jta-1.1.jar:framework/lib/junit-4.8.1.jar:framework/lib/log4j-1.2.15.jar:framework/lib/mail-1.4.3.jar:framework/lib/memcached-2.4.2.jar:framework/lib/mysql-connector-java-5.1.13.jar:framework/lib/netty-3.2.2.Final.jar:framework/lib/org.eclipse.jdt.core-3.6.0.jar:framework/lib/oval-1.50.jar:framework/lib/signpost-core-1.2.jar:framework/lib/slf4j-api-1.6.1.jar:framework/lib/slf4j-log4j12-1.6.1.jar:framework/lib/snakeyaml-1.7.jar:framework/lib/xstream-1.3.jar:framework/lib/javax.inject-1.0.jar:framework/lib/asm-all-3.3.1.jar:framework/lib/commons-javaflow-1066591.jar:framework/lib/gson-1.6.jar:framework/lib/groovy-all-1.7.7.jar + modules/grizzly/lib/grizzly-http-webserver-1.9.18-e.jar:modules/testrunner/firephoque/apache-mime4j-0.6.jar:modules/testrunner/firephoque/commons-codec-1.4.jar:modules/testrunner/firephoque/commons-collections-3.2.1.jar:modules/testrunner/firephoque/commons-io-1.4.jar:modules/testrunner/firephoque/commons-lang-2.4.jar:modules/testrunner/firephoque/commons-logging-1.1.1.jar:modules/testrunner/firephoque/cssparser-0.9.5.jar:modules/testrunner/firephoque/htmlunit-2.8.jar:modules/testrunner/firephoque/htmlunit-core-js-2.8.jar:modules/testrunner/firephoque/httpclient-4.0.1.jar:modules/testrunner/firephoque/httpcore-4.0.1.jar:modules/testrunner/firephoque/httpmime-4.0.1.jar:modules/testrunner/firephoque/nekohtml-1.9.14.jar:modules/testrunner/firephoque/sac-1.3.jar:modules/testrunner/firephoque/serializer-2.7.1.jar:modules/testrunner/firephoque/xalan-2.7.1.jar:modules/testrunner/firephoque/xercesImpl-2.9.1.jar:modules/testrunner/firephoque/xml-apis-1.3.04.jar:framework/lib/activation-1.1.1.jar:framework/lib/antlr-2.7.6.jar:framework/lib/async-http-client-1.4.0.jar:framework/lib/bcprov-jdk15-1.45.jar:framework/lib/c3p0-0.9.1.2.jar:framework/lib/cglib-2.2.jar:framework/lib/commons-beanutils-1.8.3.jar:framework/lib/commons-codec-1.4.jar:framework/lib/commons-collections-3.1.jar:framework/lib/commons-email-1.2.jar:framework/lib/commons-fileupload-1.2.jar:framework/lib/commons-io-1.4.jar:framework/lib/commons-lang-2.5.jar:framework/lib/commons-logging-1.1.1.jar:framework/lib/dom4j-1.6.1.jar:framework/lib/ehcache-core-2.0.0.jar:framework/lib/ezmorph-1.0.3.jar:framework/lib/geronimo-servlet_2.5_spec-1.2.jar:framework/lib/hibernate-commons-annotations-3.2.0.Final.jar:framework/lib/hibernate-core-3.6.0.Final.jar:framework/lib/hibernate-entitymanager-3.6.0.Final.jar:framework/lib/hibernate-jpa-2.0-api-1.0.0.Final.jar:framework/lib/ivy-2.2.0.jar:framework/lib/jamon-2.7.jar:framework/lib/javassist-3.9.0.GA.jar:framework/lib/jaxen-1.1.jar:framework/lib/jj-imaging.jar:framework/lib/jj-simplecaptcha.jar:framework/lib/jj-textile.jar:framework/lib/jj-wikitext.jar:framework/lib/joda-time-1.6.jar:framework/lib/jregex-1.2_01.jar:framework/lib/jsr107cache-1.0.jar:framework/lib/jta-1.1.jar:framework/lib/junit-4.8.1.jar:framework/lib/log4j-1.2.15.jar:framework/lib/mail-1.4.3.jar:framework/lib/memcached-2.4.2.jar:framework/lib/mysql-connector-java-5.1.13.jar:framework/lib/org.eclipse.jdt.core-3.6.0.jar:framework/lib/oval-1.50.jar:framework/lib/signpost-core-1.2.jar:framework/lib/slf4j-api-1.6.1.jar:framework/lib/slf4j-log4j12-1.6.1.jar:framework/lib/snakeyaml-1.7.jar:framework/lib/xstream-1.3.jar:framework/lib/javax.inject-1.0.jar:framework/lib/asm-all-3.3.1.jar:framework/lib/commons-javaflow-1066591.jar:framework/lib/gson-1.6.jar:framework/lib/groovy-all-1.7.7.jar:framework/lib/commons-fileupload-1.2.2.jar:framework/lib/netty-3.2.4.Final.jar framework/classes 1.5