Changeset 6990 in josm for trunk/src/org/openstreetmap/josm/gui/help
- Timestamp:
- 2014-04-19T00:36:43+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java
r6897 r6990 16 16 import org.openstreetmap.josm.tools.LanguageInfo.LocaleType; 17 17 18 /** 19 * Provides utility methods for help system. 20 * @since 2252 21 */ 18 22 public final class HelpUtil { 19 23 … … 140 144 public static String buildAbsoluteHelpTopic(String topic, LocaleType type) { 141 145 String prefix = getHelpTopicPrefix(type); 142 if (prefix == null || topic == null || topic.trim().length() == 0 || topic.trim().equals("/"))146 if (prefix == null || topic == null || topic.trim().length() == 0 || "/".equals(topic.trim())) 143 147 return prefix; 144 148 prefix += "/" + topic; … … 220 224 * </pre> 221 225 * 222 * 223 * @ param helpTopic226 * @param helpTopic Help topic to mark 227 * @return {@code helpTopic} 224 228 */ 225 229 public static String ht(String helpTopic) {
Note:
See TracChangeset
for help on using the changeset viewer.