Ignore:
Timestamp:
2016-02-11T23:17:26+01:00 (9 years ago)
Author:
floscher
Message:

[mapillary] Fix the unit tests that were failing after last commit, because they used an invalid image-key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/ValidationUtil.java

    r32064 r32065  
    4343  public static void throwExceptionForInvalidImgKey(String imgKey, boolean nullAllowed) {
    4444    if (!validateSequenceKey(imgKey)) {
    45       throw new IllegalArgumentException(I18n.tr("The image key ''{{0}}'' is invalid!", imgKey));
     45      throw new IllegalArgumentException(I18n.tr("The image key ''{0}'' is invalid!", imgKey));
    4646    }
    4747    if (!nullAllowed && imgKey == null) {
     
    5959  public static void throwExceptionForInvalidSeqKey(String seqKey, boolean nullAllowed) {
    6060    if (!validateSequenceKey(seqKey)) {
    61       throw new IllegalArgumentException(I18n.tr("The sequence key ''{{0}}'' is invalid!", seqKey));
     61      throw new IllegalArgumentException(I18n.tr("The sequence key ''{0}'' is invalid!", seqKey));
    6262    }
    6363    if (!nullAllowed && seqKey == null) {
Note: See TracChangeset for help on using the changeset viewer.