Changeset 4399 in josm


Ignore:
Timestamp:
2011-09-04T22:13:51+02:00 (13 years ago)
Author:
bastiK
Message:

fixed #6771 - [Patch] I18n: NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r4394 r4399  
    147147     */
    148148    public static final String tr(String text, Object... objects) {
     149        if (text == null) return null;
    149150        return MessageFormat.format(gettext(text, null), objects);
    150151    }
Note: See TracChangeset for help on using the changeset viewer.