Skip to content

Commit

Permalink
style(lombok): Say goodbye to lombok.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Jul 24, 2023
1 parent c5b8017 commit 402bae8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.pns</groupId>
<artifactId>SignAPI</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
<packaging>jar</packaging>

<name>SignAPI</name>
Expand Down Expand Up @@ -70,11 +70,5 @@
<version>4.7.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>RELEASE</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
33 changes: 27 additions & 6 deletions src/main/java/dev/pns/signapi/SignTask.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
package dev.pns.signapi;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;

@Getter
@RequiredArgsConstructor
public class SignTask {
private final Player player;
private final SignGUI.onClose onClose;
private final Block block;
@Setter
private String[] lines;

public SignTask(Player player, SignGUI.onClose onClose, Block block) {
this.player = player;
this.onClose = onClose;
this.block = block;
}

public Player getPlayer() {
return player;
}

public SignGUI.onClose getOnClose() {
return onClose;
}

public Block getBlock() {
return block;
}

public String[] getLines() {
return lines;
}

public void setLines(String[] lines) {
this.lines = lines;
}

}

0 comments on commit 402bae8

Please sign in to comment.