You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2015/03/17 01:32:25 UTC

juddi git commit: JUDDI-927 fixed, tested with sun jdk8

Repository: juddi
Updated Branches:
  refs/heads/master 03bce9b60 -> bcd3c0771


JUDDI-927 fixed, tested with sun jdk8


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/bcd3c077
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/bcd3c077
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/bcd3c077

Branch: refs/heads/master
Commit: bcd3c0771c79d8de778142b9a5f63e75a0f67fc9
Parents: 03bce9b
Author: Alex <al...@apache.org>
Authored: Mon Mar 16 20:32:06 2015 -0400
Committer: Alex <al...@apache.org>
Committed: Mon Mar 16 20:32:06 2015 -0400

----------------------------------------------------------------------
 juddiv3-war/src/main/webapp/admin/stats.jsp | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/bcd3c077/juddiv3-war/src/main/webapp/admin/stats.jsp
----------------------------------------------------------------------
diff --git a/juddiv3-war/src/main/webapp/admin/stats.jsp b/juddiv3-war/src/main/webapp/admin/stats.jsp
index 8b7ead5..c36b86a 100644
--- a/juddiv3-war/src/main/webapp/admin/stats.jsp
+++ b/juddiv3-war/src/main/webapp/admin/stats.jsp
@@ -21,6 +21,7 @@
 --%>
 
 
+<%@page import="java.util.Map.Entry"%>
 <%@page import="javax.persistence.EntityTransaction"%>
 <%@page import="org.uddi.api_v3.BusinessEntity"%>
 <%@page import="org.apache.juddi.config.Property"%> 
@@ -318,10 +319,11 @@
                     <pre><%
                         try {
                             Properties sysProps = System.getProperties();
-                            SortedSet sortedProperties = new TreeSet(sysProps.keySet());
-                            for (Iterator keys = sortedProperties.iterator(); keys.hasNext();) {
-                                String key = (String) keys.next();
-                                out.println("<b>" + key + "</b>: " + sysProps.getProperty(key));
+                            Iterator<Entry<Object,Object>> it = sysProps.entrySet().iterator();
+                            while (it.hasNext()){
+                                    Entry<Object,Object> x = it.next();
+                                    
+                                out.println("<b>" + StringEscapeUtils.escapeHtml((String)x.getKey()) + "</b>: " + StringEscapeUtils.escapeHtml((String)x.getValue()) + "<br>");
                             }
                         } catch (Exception e) {
                             e.printStackTrace();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org