code cleanup

Christian Egli <[email protected]> 14 Feb 2003 14:38:13 +0100
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
Hi all

I'm currently doing a code clean up of the code base (i.e. removing
code that is just commented out, etc.). I'm pretty much done with that
and will commit it after having checked some odd cases with the
relevant developers.

I also did a grep for "levi" and "michi" in in the src/java/
directory. Here's what I found:

cd ~/src/wyonacms/src/java/
find . -type f -print0 | xargs -0 -e grep -n -e michi
./org/wyona/cms/rc/RCML.java:151:            rcml.checkOutIn(RCML.co, "michi", new Date().getTime());
./org/wyona/cms/rc/conf.properties:2:rcmlDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcml

./org/wyona/net/conf.properties:5:org.wyona.net.ProxyManager.configurationPath=/home/michi/src/wyona-cms/src/java/org/wyona/net/proxyconf.xml
./org/wyona/xml/parser/XercesParser.java:91:        Element michi = parser.newElementNode(document, "Employee");
./org/wyona/xml/parser/XercesParser.java:92:        michi.setAttribute("Id", "michi");
./org/wyona/xml/parser/XercesParser.java:93:        michi.appendChild(parser.newTextNode(document, "Michi"));
./org/wyona/xml/parser/XercesParser.java:97:        employees.appendChild(michi);
./org/wyona/xml/XPointerFactory.java:318:        Element michi = dpf.newElementNode(doc, "Employee");
./org/wyona/xml/XPointerFactory.java:319:        michi.setAttribute("Id", "0");
./org/wyona/xml/XPointerFactory.java:320:        michi.appendChild(dpf.newTextNode(doc, "Michi"));
./org/wyona/xml/XPointerFactory.java:328:        employees.appendChild(michi);

./org/wyona/xml/xpsconf.properties:16:xslt=/home/michi/src/newzz/build/xps/xml/xps/gui/xslt/html-xps.xsl

cd ~/src/wyonacms/src/java/
find . -type f -print0 | xargs -0 -e grep -n -e levi
./org/wyona/cms/pubs/forum/NewArticleCreator.java:96:        return childname + "levi";
./org/wyona/cms/pubs/forum/NewArticleCreator.java:147:        eeditor.addText("levi");
./org/wyona/xml/XPointerFactory.java:147:            Element leviElement = (Element) nodes.elementAt(0);
./org/wyona/xml/XPointerFactory.java:148:            leviElement.appendChild(dpf.newTextNode(doc, " Brucker"));
./org/wyona/xml/XPointerFactory.java:322:        Element levi = dpf.newElementNode(doc, "Employee");
./org/wyona/xml/XPointerFactory.java:323:        levi.setAttribute("Id", "1");
./org/wyona/xml/XPointerFactory.java:324:        levi.appendChild(dpf.newTextNode(doc, "Levi"));
./org/wyona/xml/XPointerFactory.java:330:        employees.appendChild(levi);

Michi, do you know if this stuff is still relevant?

-- 
Christian Egli
wyona: research & development
http://www.wyona.com