Changeset 32065 in osm for applications/editors/josm/plugins/mapillary/src
- Timestamp:
- 2016-02-11T23:17:26+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/ValidationUtil.java
r32064 r32065 43 43 public static void throwExceptionForInvalidImgKey(String imgKey, boolean nullAllowed) { 44 44 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)); 46 46 } 47 47 if (!nullAllowed && imgKey == null) { … … 59 59 public static void throwExceptionForInvalidSeqKey(String seqKey, boolean nullAllowed) { 60 60 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)); 62 62 } 63 63 if (!nullAllowed && seqKey == null) {
Note:
See TracChangeset
for help on using the changeset viewer.