public static Map < String , Object > copyAppProperties ( Map < String , Object > properties , Map < String , Object > appProperties ) { if ( appProperties != null ) { appProperties = Utility . putAllIfNew ( new HashMap < String , Object > ( ) , appProperties ) ; if ( appProperties . get ( Params . APP_NAME ) != null ) appProperties . remove ( Params . APP_NAME ) ; //if (appProperties.get(Params.MESSAGE_SERVER) != null) // appProperties.remove(Params.MESSAGE_SERVER); if ( appProperties . get ( DBParams . FREEIFDONE ) != null ) appProperties . remove ( DBParams . FREEIFDONE ) ; if ( appProperties . get ( MessageConstants . MESSAGE_FILTER ) != null ) appProperties . remove ( MessageConstants . MESSAGE_FILTER ) ; } return Utility . putAllIfNew ( properties , appProperties ) ; }
Copy the application properties to this map .