question: private void removeDefaults ( Map < String , String > attributesMap , Map < String , String > defaultAttributesMap ) { Set < String > attributesSet = new HashSet < String > ( attributesMap . keySet ( ) ) ; if ( attributesSet != null ) { for ( String attribute : attributesSet ) { String attributeValue = attributesMap . get ( attribute ) ; String defaultValue = defaultAttributesMap . get ( attribute ) ; if ( attributeValue != null ) { if ( attributeValue . equals ( defaultValue ) ) { attributesMap . remove ( attribute ) ; } } else { if ( defaultValue == null || defaultValue . equals ( "" ) ) { attributesMap . remove ( attribute ) ; } } } } }
target:  Removes the default values from the attributesMap based on defaultAttributesMap