Update of
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets
In directory
james.mmbase.org:/tmp/cvs-serv7623/cmsc/portlets/src/java/com/finalist/cmsc/portlets
Modified Files:
CmscPortlet.java viewrouting.properties
Log Message:
CMSC-824 remove debug .
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets
See also: http://www.mmbase.org/jira/browse/CMSC-824
Index: CmscPortlet.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets/CmscPortlet.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- CmscPortlet.java 8 May 2008 06:29:47 -0000 1.18
+++ CmscPortlet.java 8 May 2008 09:13:21 -0000 1.19
@@ -349,7 +349,6 @@
location = routings.getProperty(contentType);
}
- System.out.println(String.format("Use %s as view from
%s",template,location));
log.debug(String.format("Use %s as view from %s",template,location));
doInclude(location.trim(), template, req, res);
}
@@ -591,7 +590,7 @@
private void initRoutingRules(String contentType) {
if (null != contentType && null == routings) {
- InputStream inputStream =
this.getClass().getResourceAsStream("viewrouting.properties");
+ InputStream inputStream =
CmscPortlet.class.getResourceAsStream("viewrouting.properties");
routings = new Properties();
try {
routings.load(inputStream);
Index: viewrouting.properties
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets/viewrouting.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- viewrouting.properties 8 May 2008 06:29:47 -0000 1.1
+++ viewrouting.properties 8 May 2008 09:13:21 -0000 1.2
@@ -1 +1 @@
-text/plain = view_plain
\ No newline at end of file
+text/plain=view_plain
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs