summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-12-06 16:29:40 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-12-06 20:42:23 +0530
commit153c11115749931dcb1ee719718348d8d1165058 (patch)
treefdc72c143160ad9308e32c9f35cdced2c17d2bb5
parent626434e90471b4dd33a06519d091d3f117815392 (diff)
Corrected typo in method name
-rw-r--r--src/org.gluster.storage.management.gateway/src/org/gluster/storage/management/gateway/resources/v1_0/AbstractResource.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org.gluster.storage.management.gateway/src/org/gluster/storage/management/gateway/resources/v1_0/AbstractResource.java b/src/org.gluster.storage.management.gateway/src/org/gluster/storage/management/gateway/resources/v1_0/AbstractResource.java
index f5b21f4..a36f416 100644
--- a/src/org.gluster.storage.management.gateway/src/org/gluster/storage/management/gateway/resources/v1_0/AbstractResource.java
+++ b/src/org.gluster.storage.management.gateway/src/org/gluster/storage/management/gateway/resources/v1_0/AbstractResource.java
@@ -45,7 +45,7 @@ public class AbstractResource {
* @return the {@link Response} object
*/
protected Response createdResponse(String relativePath) {
- return Response.created(createRelatriveURI(relativePath)).build();
+ return Response.created(createRelativeURI(relativePath)).build();
}
/**
@@ -94,7 +94,7 @@ public class AbstractResource {
* @return the {@link Response} object
*/
protected Response noContentResponse(String location) {
- return Response.noContent().location(createRelatriveURI(location)).build();
+ return Response.noContent().location(createRelativeURI(location)).build();
}
/**
@@ -102,7 +102,7 @@ public class AbstractResource {
* @param location path relative to current URI
* @return newly created URI
*/
- protected URI createRelatriveURI(String location) {
+ protected URI createRelativeURI(String location) {
return uriInfo.getAbsolutePathBuilder().path(location).build();
}