@@ -189,12 +189,12 @@ public static Mapcode encodeToInternational(
189189 * because no territory context is supplied (world-wide).
190190 *
191191 * The accepted format is:
192- * < mapcode>
193- * < territory-code> < mapcode>
192+ * { mapcode}
193+ * { territory-code} { mapcode}
194194 *
195195 * @param mapcode Mapcode.
196196 * @return Point corresponding to mapcode.
197- * @throws UnknownMapcodeException Thrown if the mapcode has the correct synaxt ,
197+ * @throws UnknownMapcodeException Thrown if the mapcode has the correct syntax ,
198198 * but cannot be decoded into a point.
199199 * @throws IllegalArgumentException Thrown if arguments are null, or if the syntax of the mapcode is incorrect.
200200 */
@@ -231,7 +231,7 @@ public static Point decode(
231231 * Decode a mapcode to a Point. A reference territory is supplied for disambiguation (only used if applicable).
232232 *
233233 * The accepted format is:
234- * < mapcode> (note that a territory code is not allowed here)
234+ * { mapcode} (note that a territory code is not allowed here)
235235 *
236236 * @param mapcode Mapcode.
237237 * @param territoryContext Territory for disambiguation purposes.
@@ -244,7 +244,7 @@ public static Point decode(
244244 @ Nonnull final String mapcode ,
245245 @ Nonnull final Territory territoryContext ) throws UnknownMapcodeException , IllegalArgumentException {
246246 checkNonnull ("mapcode" , mapcode );
247- checkNonnull ("territoryConext " , territoryContext );
247+ checkNonnull ("territoryContext " , territoryContext );
248248 final String mapcodeTrimmed = mapcode .trim ();
249249 if (!Mapcode .isValidMapcodeFormat (mapcodeTrimmed )) {
250250 throw new IllegalArgumentException (mapcode + " is not a correctly formatted mapcode; " +
0 commit comments