You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by sm...@apache.org on 2006/10/31 18:42:52 UTC

svn commit: r469579 - /portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java

Author: smilek
Date: Tue Oct 31 09:42:48 2006
New Revision: 469579

URL: http://svn.apache.org/viewvc?view=rev&rev=469579
Log:
got rid of java 1.5 dependency - use of Class.getSimpleName()

Modified:
    portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java

Modified: portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java?view=diff&rev=469579&r1=469578&r2=469579
==============================================================================
--- portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java (original)
+++ portals/jetspeed-2/trunk/components/header-resource/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceImpl.java Tue Oct 31 09:42:48 2006
@@ -1123,30 +1123,6 @@
         addHeaderInfo("link", attrs, null);
     }
     
-    private void dumpNameValue( Map m  )
-    {
-        if ( m == null )
-        {
-            log.info( "   <null>" );
-            return;
-        }
-        if ( m.size() == 0 )
-        {
-            log.info( "   <empty>" );
-            return;
-        }
-        Iterator entryIter = m.entrySet().iterator();
-        while ( entryIter.hasNext() )
-        {
-            Map.Entry e = (Map.Entry)entryIter.next();
-            Object eKey = e.getKey();
-            Object eVal = e.getValue();
-            String eKeyDesc = ( eKey instanceof String ) ? (String)eKey : (( eKey == null ) ? "null" : eKey.getClass().getSimpleName() );
-            String eValDesc = ( eVal instanceof String ) ? (String)eVal : (( eVal == null ) ? "null" : eVal.getClass().getSimpleName() );
-            log.info( "   key=" + eKeyDesc + " value=" + eValDesc);
-        }
-    }
-    
     /**
      * This class represents tag information for HeaderResouce component
      * 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org