@@ -317,28 +317,24 @@ public static AppiumCommandInfo deleteC(String url) {
317317 }
318318
319319 /**
320- * This method forms a {@link java.util.Map} of parameters for the
321- * keyboard hiding.
320+ * This method forms a {@link Map} of parameters for the keyboard hiding.
322321 *
323322 * @param keyName The button pressed by the mobile driver to attempt hiding the
324323 * keyboard.
325- * @return a key-value pair. The key is the command name. The value is a
326- * {@link java.util.Map} command arguments.
324+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
327325 */
328326 public static Map .Entry <String , Map <String , ?>> hideKeyboardCommand (String keyName ) {
329327 return new AbstractMap .SimpleEntry <>(
330328 HIDE_KEYBOARD , prepareArguments ("keyName" , keyName ));
331329 }
332330
333331 /**
334- * This method forms a {@link java.util.Map} of parameters for the
335- * keyboard hiding.
332+ * This method forms a {@link Map} of parameters for the keyboard hiding.
336333 *
337334 * @param strategy HideKeyboardStrategy.
338335 * @param keyName a String, representing the text displayed on the button of the
339336 * keyboard you want to press. For example: "Done".
340- * @return a key-value pair. The key is the command name. The value is a
341- * {@link java.util.Map} command arguments.
337+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
342338 */
343339 public static Map .Entry <String , Map <String , ?>> hideKeyboardCommand (String strategy ,
344340 String keyName ) {
@@ -381,26 +377,22 @@ public static ImmutableMap<String, Object> prepareArguments(String[] params,
381377 }
382378
383379 /**
384- * This method forms a {@link java.util.Map} of parameters for the
385- * key event invocation.
380+ * This method forms a {@link Map} of parameters for the key event invocation.
386381 *
387382 * @param key code for the key pressed on the device.
388- * @return a key-value pair. The key is the command name. The value is a
389- * {@link java.util.Map} command arguments.
383+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
390384 */
391385 public static Map .Entry <String , Map <String , ?>> pressKeyCodeCommand (int key ) {
392386 return new AbstractMap .SimpleEntry <>(
393387 PRESS_KEY_CODE , prepareArguments ("keycode" , key ));
394388 }
395389
396390 /**
397- * This method forms a {@link java.util.Map} of parameters for the
398- * key event invocation.
391+ * This method forms a {@link Map} of parameters for the key event invocation.
399392 *
400393 * @param key code for the key pressed on the Android device.
401394 * @param metastate metastate for the keypress.
402- * @return a key-value pair. The key is the command name. The value is a
403- * {@link java.util.Map} command arguments.
395+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
404396 */
405397 public static Map .Entry <String , Map <String , ?>> pressKeyCodeCommand (int key ,
406398 Integer metastate ) {
@@ -411,26 +403,22 @@ public static ImmutableMap<String, Object> prepareArguments(String[] params,
411403 }
412404
413405 /**
414- * This method forms a {@link java.util.Map} of parameters for the
415- * long key event invocation.
406+ * This method forms a {@link Map} of parameters for the long key event invocation.
416407 *
417408 * @param key code for the long key pressed on the device.
418- * @return a key-value pair. The key is the command name. The value is a
419- * {@link java.util.Map} command arguments.
409+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
420410 */
421411 public static Map .Entry <String , Map <String , ?>> longPressKeyCodeCommand (int key ) {
422412 return new AbstractMap .SimpleEntry <>(
423413 LONG_PRESS_KEY_CODE , prepareArguments ("keycode" , key ));
424414 }
425415
426416 /**
427- * This method forms a {@link java.util.Map} of parameters for the
428- * long key event invocation.
417+ * This method forms a {@link Map} of parameters for the long key event invocation.
429418 *
430419 * @param key code for the long key pressed on the Android device.
431420 * @param metastate metastate for the long key press.
432- * @return a key-value pair. The key is the command name. The value is a
433- * {@link java.util.Map} command arguments.
421+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
434422 */
435423 public static Map .Entry <String , Map <String , ?>> longPressKeyCodeCommand (int key ,
436424 Integer metastate ) {
@@ -441,35 +429,29 @@ public static ImmutableMap<String, Object> prepareArguments(String[] params,
441429 }
442430
443431 /**
444- * This method forms a {@link java.util.Map} of parameters for the
445- * device locking.
432+ * This method forms a {@link Map} of parameters for the device locking.
446433 *
447434 * @param duration for how long to lock the screen for. Minimum time resolution is one second
448- * @return a key-value pair. The key is the command name. The value is a
449- * {@link java.util.Map} command arguments.
435+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
450436 */
451437 public static Map .Entry <String , Map <String , ?>> lockDeviceCommand (Duration duration ) {
452438 return new AbstractMap .SimpleEntry <>(
453439 LOCK , prepareArguments ("seconds" , duration .getSeconds ()));
454440 }
455441
456442 /**
457- * This method forms a {@link java.util.Map} of parameters for the
458- * device unlocking.
443+ * This method forms a {@link Map} of parameters for the device unlocking.
459444 *
460- * @return a key-value pair. The key is the command name. The value is a
461- * {@link java.util.Map} command arguments.
445+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
462446 */
463447 public static Map .Entry <String , Map <String , ?>> unlockDeviceCommand () {
464448 return new AbstractMap .SimpleEntry <>(UNLOCK , ImmutableMap .of ());
465449 }
466450
467451 /**
468- * This method forms a {@link java.util.Map} of parameters for the
469- * device locked query.
452+ * This method forms a {@link Map} of parameters for the device locked query.
470453 *
471- * @return a key-value pair. The key is the command name. The value is a
472- * {@link java.util.Map} command arguments.
454+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
473455 */
474456 public static Map .Entry <String , Map <String , ?>> getIsDeviceLockedCommand () {
475457 return new AbstractMap .SimpleEntry <>(IS_LOCKED , ImmutableMap .of ());
@@ -488,13 +470,11 @@ public static ImmutableMap<String, Object> prepareArguments(String[] params,
488470 }
489471
490472 /**
491- * This method forms a {@link java.util.Map} of parameters for the
492- * file pushing.
473+ * This method forms a {@link Map} of parameters for the file pushing.
493474 *
494475 * @param remotePath Path to file to write data to on remote device
495476 * @param base64Data Base64 encoded byte array of data to write to remote device
496- * @return a key-value pair. The key is the command name. The value is a
497- * {@link java.util.Map} command arguments.
477+ * @return a key-value pair. The key is the command name. The value is a {@link Map} command arguments.
498478 */
499479 public static Map .Entry <String , Map <String , ?>> pushFileCommand (String remotePath , byte [] base64Data ) {
500480 String [] parameters = new String []{"path" , "data" };
@@ -513,7 +493,7 @@ public static ImmutableMap<String, Object> prepareArguments(String[] params,
513493 }
514494
515495 /**
516- * Forms a {@link java.util. Map} of parameters for images comparison.
496+ * Forms a {@link Map} of parameters for images comparison.
517497 *
518498 * @param mode one of possible comparison modes
519499 * @param img1Data base64-encoded data of the first image
0 commit comments