svn commit: r897595 - /ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r897595 - /ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java

adrianc
Author: adrianc
Date: Sun Jan 10 07:27:43 2010
New Revision: 897595

URL: http://svn.apache.org/viewvc?rev=897595&view=rev
Log:
Oops, some method names got reversed.

Modified:
    ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java

Modified: ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java?rev=897595&r1=897594&r2=897595&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ArtifactPath.java Sun Jan 10 07:27:43 2010
@@ -79,14 +79,14 @@
         throw new UnsupportedOperationException();
     }
 
-    public void restoreState() {
+    public void saveState() {
         if (this.stack == null) {
             this.stack = FastList.newInstance();
         }
         this.stack.addLast(this.currentIndex);
     }
 
-    public void saveState() {
+    public void restoreState() {
         if (this.stack != null && !this.stack.isEmpty()) {
             this.currentIndex = this.stack.removeLast();
         }