aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorttsanton2014-01-08 15:59:04 (EST)
committerttsanton2014-01-08 15:59:04 (EST)
commit969a89622fa9890705d3414fdaecce29b836cd4b (patch)
treee6ac9a0596e79df8b993323acd75e6225cb33292
parentd06149e553224760a831950e4b9325f75fd5b91a (diff)
downloadorg.eclipse.lyo.rio-969a89622fa9890705d3414fdaecce29b836cd4b.zip
org.eclipse.lyo.rio-969a89622fa9890705d3414fdaecce29b836cd4b.tar.gz
org.eclipse.lyo.rio-969a89622fa9890705d3414fdaecce29b836cd4b.tar.bz2
Bug 419997 - Missing message "ChangeRequest.UnableToAccept" in RIO CMrefs/changes/04/20404/1
Change-Id: I914d3afeba795ab91de3bc91cfaeaa1fe1c1b5e5 Signed-off-by: ttsanton <ttsanton@us.ibm.com>
-rw-r--r--org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/cm/changerequest/ChangeRequestService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/cm/changerequest/ChangeRequestService.java b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/cm/changerequest/ChangeRequestService.java
index 77c34e0..011ead2 100644
--- a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/cm/changerequest/ChangeRequestService.java
+++ b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/cm/changerequest/ChangeRequestService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011 IBM Corporation.
+ * Copyright (c) 2011, 2014 IBM Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -145,7 +145,7 @@ public class ChangeRequestService extends RioBaseService {
response.setContentLength(content.getBytes().length);
response.getWriter().write(content);
} else {
- throw new RioServiceException(IConstants.SC_UNSUPPORTED_MEDIA_TYPE, Messages.getString("ChangeRequest.UnableToAccept") + accept ); //$NON-NLS-1$
+ throw new RioServiceException(IConstants.SC_NOT_ACCEPTABLE, Messages.getString("Resource.UnableToAccept") + accept ); //$NON-NLS-1$
}
} else {