Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebort committed Mar 3, 2011
1 parent 3f94912 commit ed2372f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion framework/src/play/data/parsing/ApacheMultipartParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion framework/src/play/templates/GroovyTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<package-root>framework/src</package-root>
<package-root>modules/testrunner/src</package-root>
<package-root>modules/grizzly/src</package-root>
<classpath mode="compile">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</classpath>
<classpath mode="compile">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</classpath>
<built-to>framework/classes</built-to>
<source-level>1.5</source-level>
</compilation-unit>
Expand Down

0 comments on commit ed2372f

Please sign in to comment.