Fix Window.Builder#setMonitor visibility

This commit is contained in:
JeremyStar™ 2024-10-14 16:08:44 +02:00
parent b3ef38b6be
commit 175b0248d9
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -1038,9 +1038,9 @@ public abstract class Window implements AutoCloseable {
* @param monitor new target monitor
* @return builder instance
* @see Window#monitor
* @since v1-alpha2
* @since v1-alpha6
*/
private synchronized @NotNull Builder setMonitor(@Nullable Monitor monitor) {
public synchronized @NotNull Builder setMonitor(@Nullable Monitor monitor) {
this.monitor = monitor;
return this;
}