--- old/src/java.desktop/share/classes/java/awt/desktop/ScreenSleepListener.java 2018-12-04 16:22:52.000000000 -0800 +++ new/src/java.desktop/share/classes/java/awt/desktop/ScreenSleepListener.java 2018-12-04 16:22:52.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,9 +26,11 @@ package java.awt.desktop; /** - * Implementors receive notification when the displays attached to the system have entered power save sleep. - * - * This notification is useful for discontinuing a costly animation, or indicating that the user is no longer present on a network service. + * Implementors receive notification when the displays attached to the system + * have entered power save sleep. + *

+ * This notification is useful for discontinuing a costly animation, or + * indicating that the user is no longer present on a network service. * * @since 9 */ @@ -36,13 +38,15 @@ /** * Called when the system displays have entered power save sleep. - * @param e the screen sleep event + * + * @param e the screen sleep event */ - public void screenAboutToSleep(final ScreenSleepEvent e); + public void screenAboutToSleep(ScreenSleepEvent e); /** * Called when the system displays have awoken from power save sleep. - * @param e the screen sleep event + * + * @param e the screen sleep event */ - public void screenAwoke(final ScreenSleepEvent e); + public void screenAwoke(ScreenSleepEvent e); }