--- old/core/JemmyAWTInput/src/org/jemmy/input/RobotDriver.java 2018-05-20 10:11:40.084479818 +0200 +++ new/core/JemmyAWTInput/src/org/jemmy/input/RobotDriver.java 2018-05-20 10:11:40.026478048 +0200 @@ -44,7 +44,9 @@ /** - * @author Alexandre Iline(alexandre.iline@sun.com), KAM + * @author shura + * @author mrkam + * */ public class RobotDriver { @@ -58,7 +60,7 @@ new Timeout(ROBOT_DELAY_TIMEOUT_NAME, 10)); Environment.getEnvironment().setPropertyIfNotSet( AWTRobotInputFactory.ROBOT_MOUSE_SMOOTHNESS_PROPERTY, - new Integer(Integer.MAX_VALUE).toString()); + Integer.toString(Integer.MAX_VALUE)); smoothness = Integer.parseInt( (String)Environment.getEnvironment().getProperty( AWTRobotInputFactory.ROBOT_MOUSE_SMOOTHNESS_PROPERTY)); @@ -208,9 +210,9 @@ /** * @deprecated Implementation doesn't seem to be correct as it ignores mouseButton and modifiers - * @param point + * @param point todo document * @param mouseButton One of MouseEvent.BUTTON*_MASK - * @param modifiers + * @param modifiers todo document */ public void dragMouse(Point point, int mouseButton, int modifiers) { moveMouse(point); @@ -263,9 +265,9 @@ /** * Turns the wheel. - * @param p + * @param p todo document * @param amount Either positive or negative - * @param modifiers + * @param modifiers a combination of InputEvent.*_MASK fields. */ public void turnWheel(Point p, int amount, Modifier... modifiers) { pressModifiers(modifiers);