ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1574813 - /ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java
Date Thu, 06 Mar 2014 09:20:22 GMT
Author: marrs
Date: Thu Mar  6 09:20:22 2014
New Revision: 1574813

URL: http://svn.apache.org/r1574813
Log:
Renamed member to comply with coding standard.

Modified:
    ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java

Modified: ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java?rev=1574813&r1=1574812&r2=1574813&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java
(original)
+++ ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/RESTClientServlet.java
Thu Mar  6 09:20:22 2014
@@ -64,7 +64,7 @@ public class RESTClientServlet extends H
 
     private volatile LogService m_logger;
 
-    private volatile WorkspaceManager workspaceManager;
+    private volatile WorkspaceManager m_workspaceManager;
 
     private final Gson m_gson;
 
@@ -134,7 +134,7 @@ public class RESTClientServlet extends H
 
         final String id = pathElements[1];
 
-        Workspace workspace = workspaceManager.getWorkspace(id);
+        Workspace workspace = m_workspaceManager.getWorkspace(id);
         if (workspace == null) {
             resp.sendError(HttpServletResponse.SC_NOT_FOUND, "Could not find workspace: "
+ id);
             return;
@@ -142,7 +142,7 @@ public class RESTClientServlet extends H
 
         if (pathElements.length == 2) {
         	try {
-        		workspaceManager.removeWorkspace(id);
+        		m_workspaceManager.removeWorkspace(id);
         	}
         	catch (IOException ioe) {
                 resp.sendError(HttpServletResponse.SC_BAD_REQUEST, "Could not delete work
area: " + ioe.getMessage());
@@ -185,7 +185,7 @@ public class RESTClientServlet extends H
             // path elements of length > 1...
             final String id = pathElements[1];
 
-            Workspace workspace = workspaceManager.getWorkspace(id);
+            Workspace workspace = m_workspaceManager.getWorkspace(id);
             if (workspace == null) {
                 resp.sendError(HttpServletResponse.SC_NOT_FOUND, "Could not find workspace:
" + id);
                 return;
@@ -232,7 +232,7 @@ public class RESTClientServlet extends H
         }
 
         if (pathElements.length == 1) {
-            Workspace workspace = workspaceManager.createWorkspace(req.getParameterMap(),
req);
+            Workspace workspace = m_workspaceManager.createWorkspace(req.getParameterMap(),
req);
             if(workspace == null) {
                 resp.sendError(HttpServletResponse.SC_UNAUTHORIZED);
             }
@@ -242,7 +242,7 @@ public class RESTClientServlet extends H
         }
         else {
             // more than one path elements...
-            Workspace workspace = workspaceManager.getWorkspace(pathElements[1]);
+            Workspace workspace = m_workspaceManager.getWorkspace(pathElements[1]);
             if (workspace == null) {
                 resp.sendError(HttpServletResponse.SC_NOT_FOUND, "Could not find workspace:
" + pathElements[1]);
                 return;
@@ -276,7 +276,7 @@ public class RESTClientServlet extends H
             return;
         }
 
-        Workspace workspace = workspaceManager.getWorkspace(pathElements[1]);
+        Workspace workspace = m_workspaceManager.getWorkspace(pathElements[1]);
         if (workspace == null) {
             resp.sendError(HttpServletResponse.SC_NOT_FOUND, "Could not find workspace: "
+ pathElements[1]);
             return;



Mime
View raw message