/** * Searches for the comment associated with the specified property. If the property is not found, look * in the default properties. If the property is not found in the default properties, answer null. * * @param name the name of the property to find * @return the named property value */ public String getComment(String name) { name = normalize(name); String comment = comments.get(name); if (comment == null && defaults instanceof SuperProperties) { comment = ((SuperProperties) defaults).getComment(name); } return comment; }
/** * Searches for the comment associated with the specified property. If the property is not found, look * in the default properties. If the property is not found in the default properties, answer null. * * @param name the name of the property to find * @return the named property value */ public String getComment(String name) { name = normalize(name); String comment = comments.get(name); if (comment == null && defaults instanceof SuperProperties) { comment = ((SuperProperties) defaults).getComment(name); } return comment; }
/** * Searches for the comment associated with the specified property. If the property is not found, look * in the default properties. If the property is not found in the default properties, answer null. * * @param name the name of the property to find * @return the named property value */ public String getComment(String name) { name = normalize(name); String comment = comments.get(name); if (comment == null && defaults instanceof SuperProperties) { comment = ((SuperProperties) defaults).getComment(name); } return comment; }
String comment = properties.getComment(name);
String comment = properties.getComment(name);
if (!attributes.containsKey("hidden")) { String value = properties.getProperty(name); String comment = properties.getComment(name);