Refactor code

MYC-Refactor
Hammy 3 years ago
parent acf1dfb30e
commit cdc08f4d6d

@ -24,7 +24,7 @@ public class MyClipboard {
} }
/** /**
* Creates an instance of {@link MyClipboard} with an instance of {@link ClipboardListener} dependant on the OS * Creates an instance of {@link MyClipboard} with an instance of {@link ClipboardListener} dependent on the OS
* <p>A {@link WindowsOrUnixClipboardListener} or {@link MacClipboardListener} can be created</p> * <p>A {@link WindowsOrUnixClipboardListener} or {@link MacClipboardListener} can be created</p>
* *
* @return {@link MyClipboard} * @return {@link MyClipboard}
@ -73,12 +73,12 @@ public class MyClipboard {
clipboardListener.toggleImagesMonitored(); clipboardListener.toggleImagesMonitored();
} }
public boolean isImagesMonitored() { public boolean isImageMonitored() {
return clipboardListener.isImagesMonitored(); return clipboardListener.isImageMonitored();
} }
public void setImagesMonitored(boolean imagesMonitored) { public void setImageMonitored(boolean imagesMonitored) {
clipboardListener.setImagesMonitored(imagesMonitored); clipboardListener.setImageMonitored(imagesMonitored);
} }
public boolean isTextMonitored() { public boolean isTextMonitored() {

Loading…
Cancel
Save