Skip to content

Commit

Permalink
Add some finals
Browse files Browse the repository at this point in the history
  • Loading branch information
bopke committed Jul 21, 2020
1 parent e686008 commit fdd9888
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/pl/rehost/realWeather/RealWeather.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class RealWeather extends JavaPlugin {
private BukkitTask task;

private List<String> affectedWorlds;
private Map<String, String> messages = new HashMap<>();
private final Map<String, String> messages = new HashMap<>();

@Override
public void onEnable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public class ScheduledWeatherStateUpdateHandler implements Runnable {

private RealWeather plugin;
private final RealWeather plugin;


ScheduledWeatherStateUpdateHandler(RealWeather plugin) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

public class ScheduledWeatherUpdateHandler implements Runnable {

private int weatherID;
private RealWeather plugin;
private final int weatherID;
private final RealWeather plugin;

ScheduledWeatherUpdateHandler(RealWeather plugin, int weatherID) {
this.weatherID = weatherID;
Expand Down

0 comments on commit fdd9888

Please sign in to comment.