}
Properties properties = new Properties(attributes);
Object showInfoBarKey = Site.AttributeKeys.SHOW_PORTLET_INFO_BAR.getName();
String showInfoBar = properties.get(showInfoBarKey);
if (showInfoBar == null) {
if (properties.containsKey(showInfoBarKey)) {
properties.remove(showInfoBarKey);
}
} else {
properties.put(showInfoBar, Boolean.parseBoolean(showInfoBar) ? "1" : "0");
}