typos in documentation
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 6 Oct 2015 12:25:03 +0000 (14:25 +0200)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 6 Oct 2015 12:25:03 +0000 (14:25 +0200)
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ProgressMonitorController.java

index 2e26267f2d8117e4f58a6c924dca4eca376096e4..6694817b9bb06a4909ac02a381412904a2d3f1d8 100644 (file)
@@ -39,8 +39,8 @@ import eu.etaxonomy.cdm.remote.editor.UUIDPropertyEditor;
  *
  */
 @Controller
-@Api(value="progress", description="provides access to information on long runing processes. "
-        + "Uris to the resources exposed by this controller are provieded in the responses to the"
+@Api(value="progress", description="provides access to information on long running processes. "
+        + "URIs to the resources exposed by this controller are provided in the responses to the"
         + "HTTP requests that trigger long term processes.")
 @RequestMapping(value="/progress/")
 public class ProgressMonitorController {
@@ -147,7 +147,7 @@ public class ProgressMonitorController {
     }
 
     /**
-     * provides the relative path to the ProgressMonitor specified by its uuid.
+     * provides the relative path to the ProgressMonitor specified by its UUID.
      * File extensions like .xml, .json used during the initial request will be
      * preserved in order to not to break the content type negotiation.
      *
@@ -173,7 +173,9 @@ public class ProgressMonitorController {
         if (monitors.containsKey(uuid)) {
             mv.addObject(monitors.get(uuid));
         } else {
-            response.sendError(404, "No such progress monitor found. The process being monitored may have been completed and the according monitor may have been removed due to the clean up timepout.");
+            response.sendError(404, "No such progress monitor found. The process being monitored may "
+                    + "have been completed and the according monitor may have been removed due to "
+                    + "the clean up timepout.");
         }
 
         return mv;