[Yanel-commits] rev 45005 -
public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager
michi at wyona.com
michi at wyona.com
Tue Oct 13 23:28:17 CEST 2009
Author: michi
Date: 2009-10-13 23:28:17 +0200 (Tue, 13 Oct 2009)
New Revision: 45005
Modified:
public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
Log:
log message improved
Modified: public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 2009-10-13 21:27:45 UTC (rev 45004)
+++ public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 2009-10-13 21:28:17 UTC (rev 45005)
@@ -61,6 +61,9 @@
return getXMLView(viewId, getContentXML(viewId));
}
+ /**
+ *
+ */
@Override
protected InputStream getContentXML(String viewId) throws Exception {
// For example ?policy-path=/foo/bar.html
@@ -114,7 +117,7 @@
} catch(Exception e) {
log.error(e,e);
//response.setStatus(response.SC_NOT_IMPLEMENTED);
- log.warn("TODO: Fix HTTP status code: " + HttpServletResponse.SC_NOT_IMPLEMENTED);
+ log.warn("TODO: Fix setting HTTP status code: " + HttpServletResponse.SC_NOT_IMPLEMENTED);
sb.append("<?xml version=\"1.0\"?><not-saved>" + e.getMessage() + "</not-saved>");
}
} else {
More information about the Yanel-commits
mailing list