Instead of
+ List list = (List) listErrata(sessionKey, channelLabel, "", "");
+ //
+ for (Map item : list) {
+ item.put("date", item.get("issue_date"));
+ }
+ return list;
why not change the query to return date as the column name instead of
issue_date OR
change it to return both issue_date and date together. That avoids
having to
loop through the list simply to change the keys.
Also, remove the empty // line.
jesus
Sent to you by jmrodri via Google Reader: 489792- fixing incorrect api
return types via Fedora Hosted Git Repositories - spacewalk.git/rss log
by Justin Sherrill <[email protected]> on 3/12/09 489792- fixing
incorrect api return types
- [DH]
java/code/src/com/redhat/rhn/common/db/datasource/xml/Errata_queries.xml
- [DH]
java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java
- [DH]
java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/test/ChannelSoftwareHandlerTest.java
Things you can do from here:
- Subscribe to Fedora Hosted Git Repositories - spacewalk.git/rss log
using Google Reader
- Get started using Google Reader to easily keep up with all your
favorite sites
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel