Skip to content

Commit a36575f

Browse files
author
graeme
committed
fix for GRAILS-2412
git-svn-id: https://svn.codehaus.org/grails/trunk@6707 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 5626647 commit a36575f

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClassProperty.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,9 @@ public GrailsDomainClassProperty[] getProperties() {
484484
return properties;
485485
}
486486

487+
/**
488+
* @deprecated Use #getPersistentProperties instead
489+
*/
487490
public GrailsDomainClassProperty[] getPersistantProperties() {
488491
return properties;
489492
}

src/web/org/codehaus/groovy/grails/web/servlet/mvc/GrailsHttpSession.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import javax.servlet.ServletContext;
2020
import javax.servlet.http.HttpSession;
21-
import javax.servlet.http.HttpSessionContext;
2221
import javax.servlet.http.HttpServletRequest;
2322
import java.util.*;
2423

@@ -116,7 +115,7 @@ public ServletContext getServletContext() {
116115
* @see javax.servlet.http.HttpSession#getSessionContext()
117116
* @deprecated
118117
*/
119-
public HttpSessionContext getSessionContext() {
118+
public javax.servlet.http.HttpSessionContext getSessionContext() {
120119
createSessionIfNecessary();
121120
synchronized (this) {
122121
return adaptee.getSessionContext();
@@ -231,5 +230,4 @@ public String toString() {
231230
}
232231
return sb.toString();
233232
}
234-
235233
}

test/commons/grails/util/JSonBuilderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import javax.servlet.http.HttpServletResponse;
1313

1414
import org.codehaus.groovy.runtime.InvokerInvocationException;
15-
import org.springframework.mock.web.MockHttpServletResponse;
1615

1716
import junit.framework.TestCase;
1817

test/commons/grails/util/OpenRicoBuilderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import junit.framework.TestCase;
3030

3131
import org.codehaus.groovy.runtime.InvokerInvocationException;
32-
import org.springframework.mock.web.MockHttpServletResponse;
3332

3433
/**
3534
*

0 commit comments

Comments
 (0)