You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/04/02 13:02:55 UTC

git commit: Fixed typos

Repository: incubator-stratos
Updated Branches:
  refs/heads/master 24e309d50 -> 201120b17


Fixed typos


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/201120b1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/201120b1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/201120b1

Branch: refs/heads/master
Commit: 201120b17f07bdcdbda92b621fb531784f004ddc
Parents: 24e309d
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Wed Apr 2 16:32:42 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Wed Apr 2 16:32:42 2014 +0530

----------------------------------------------------------------------
 .../apache/stratos/autoscaler/policy/model/AutoscalePolicy.java    | 2 +-
 .../stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/201120b1/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/model/AutoscalePolicy.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/model/AutoscalePolicy.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/model/AutoscalePolicy.java
index 9a9f419..cdfba84 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/model/AutoscalePolicy.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/model/AutoscalePolicy.java
@@ -130,7 +130,7 @@ public class AutoscalePolicy implements Serializable {
     
 	@Override
 	public String toString() {
-		return "ASPolicy [id=" + id + ", desplayName=" + displayName
+		return "ASPolicy [id=" + id + ", displayName=" + displayName
 				+ ", description=" + description + "]";
 	}
 	

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/201120b1/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java
index 1712af3..eaed606 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/handlers/StratosAuthorizingHandler.java
@@ -91,7 +91,7 @@ public class StratosAuthorizingHandler implements RequestHandler {
             return null;
 
         } catch (Exception exception) {
-            log.error("Unexpercted error occured while REST api, authorization process",exception);
+            log.error("Unexpected error occured while REST api, authorization process",exception);
             return Response.status(Response.Status.INTERNAL_SERVER_ERROR).type(MediaType.APPLICATION_JSON).
                     entity(Utils.buildMessage("Unexpected error. Please contact the system admin")).build();
         }