Refactor method name to reflect java naming conventions

pull/2/head
Hammy 3 years ago
parent a8cd3a7a57
commit 3d34cbe1ed

@ -119,7 +119,7 @@ abstract class ClipboardListener {
/** /**
* Toggles the current value of image monitoring, the default value is set to {@code True} * Toggles the current value of image monitoring, the default value is set to {@code True}
*/ */
void toggleImagesMonitored() { void toggleImageMonitored() {
this.imageMonitored = !imageMonitored; this.imageMonitored = !imageMonitored;
} }

@ -218,10 +218,10 @@ public class MyClipboard {
/** /**
* Toggles the current value of image monitoring, the default value is set to {@code True} * Toggles the current value of image monitoring, the default value is set to {@code True}
* *
* @see ClipboardListener#toggleImagesMonitored() * @see ClipboardListener#toggleImageMonitored()
*/ */
public void toggleImagesMonitored() { public void toggleImagesMonitored() {
clipboardListener.toggleImagesMonitored(); clipboardListener.toggleImageMonitored();
} }
/** /**

Loading…
Cancel
Save