Skip to content

Commit

Permalink
Changed handle access from private to protected in all the delegate c…
Browse files Browse the repository at this point in the history
…lasses
  • Loading branch information
OmerBenGera committed Oct 28, 2022
1 parent b7e478f commit 81bc8d2
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 23 deletions.
Expand Up @@ -5,7 +5,7 @@

public class DelegateBanksFactory implements BanksFactory {

private final BanksFactory handle;
protected final BanksFactory handle;

protected DelegateBanksFactory(BanksFactory handle) {
this.handle = handle;
Expand Down
Expand Up @@ -10,7 +10,7 @@

public class DelegateDatabaseBridgeFactory implements DatabaseBridgeFactory {

private final DatabaseBridgeFactory handle;
protected final DatabaseBridgeFactory handle;

protected DelegateDatabaseBridgeFactory(DatabaseBridgeFactory handle) {
this.handle = handle;
Expand Down
Expand Up @@ -8,7 +8,7 @@

public class DelegateIslandsFactory implements IslandsFactory {

private final IslandsFactory handle;
protected final IslandsFactory handle;

protected DelegateIslandsFactory(IslandsFactory handle) {
this.handle = handle;
Expand Down
Expand Up @@ -6,7 +6,7 @@

public class DelegatePlayersFactory implements PlayersFactory {

private final PlayersFactory handle;
protected final PlayersFactory handle;

protected DelegatePlayersFactory(PlayersFactory handle) {
this.handle = handle;
Expand Down
Expand Up @@ -37,7 +37,7 @@

public class DelegateIsland implements Island {

private final Island handle;
protected final Island handle;

protected DelegateIsland(Island handle) {
this.handle = handle;
Expand Down
@@ -1,14 +1,12 @@
package com.bgsoftware.superiorskyblock.api.island;

import com.bgsoftware.superiorskyblock.api.island.Island;
import com.bgsoftware.superiorskyblock.api.island.IslandChest;
import com.bgsoftware.superiorskyblock.api.wrappers.SuperiorPlayer;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;

public class DelegateIslandChest implements IslandChest {

private final IslandChest handle;
protected final IslandChest handle;

protected DelegateIslandChest(IslandChest handle) {
this.handle = handle;
Expand Down
Expand Up @@ -5,7 +5,7 @@

public class DelegateIslandPreview implements IslandPreview {

private final IslandPreview handle;
protected final IslandPreview handle;

protected DelegateIslandPreview(IslandPreview handle) {
this.handle = handle;
Expand Down
Expand Up @@ -4,7 +4,7 @@

public class DelegatePermissionNode implements PermissionNode {

private final PermissionNode handle;
protected final PermissionNode handle;

protected DelegatePermissionNode(PermissionNode handle) {
this.handle = handle;
Expand Down
Expand Up @@ -7,7 +7,7 @@

public class DelegateIslandBlocksTrackerAlgorithm implements IslandBlocksTrackerAlgorithm {

private final IslandBlocksTrackerAlgorithm handle;
protected final IslandBlocksTrackerAlgorithm handle;

protected DelegateIslandBlocksTrackerAlgorithm(IslandBlocksTrackerAlgorithm handle) {
this.handle = handle;
Expand Down
Expand Up @@ -6,7 +6,7 @@

public class DelegateIslandCalculationAlgorithm implements IslandCalculationAlgorithm {

private final IslandCalculationAlgorithm handle;
protected final IslandCalculationAlgorithm handle;

protected DelegateIslandCalculationAlgorithm(IslandCalculationAlgorithm handle) {
this.handle = handle;
Expand Down
Expand Up @@ -6,7 +6,7 @@

public class DelegateIslandEntitiesTrackerAlgorithm implements IslandEntitiesTrackerAlgorithm {

private final IslandEntitiesTrackerAlgorithm handle;
protected final IslandEntitiesTrackerAlgorithm handle;

protected DelegateIslandEntitiesTrackerAlgorithm(IslandEntitiesTrackerAlgorithm handle) {
this.handle = handle;
Expand Down
Expand Up @@ -8,7 +8,7 @@

public class DelegateBankTransaction implements BankTransaction {

private final BankTransaction handle;
protected final BankTransaction handle;

protected DelegateBankTransaction(BankTransaction handle) {
this.handle = handle;
Expand Down
Expand Up @@ -9,7 +9,7 @@

public class DelegateIslandBank implements IslandBank {

private final IslandBank handle;
protected final IslandBank handle;

public DelegateIslandBank(IslandBank handle) {
this.handle = handle;
Expand Down
Expand Up @@ -10,7 +10,7 @@

public class DelegateIslandsContainer implements IslandsContainer {

private final IslandsContainer handle;
protected final IslandsContainer handle;

protected DelegateIslandsContainer(IslandsContainer handle) {
this.handle = handle;
Expand Down
Expand Up @@ -9,7 +9,7 @@

public class DelegateIslandWarp implements IslandWarp {

private final IslandWarp handle;
protected final IslandWarp handle;

protected DelegateIslandWarp(IslandWarp handle) {
this.handle = handle;
Expand Down
Expand Up @@ -9,7 +9,7 @@

public class DelegateWarpCategory implements WarpCategory {

private final WarpCategory handle;
protected final WarpCategory handle;

protected DelegateWarpCategory(WarpCategory handle) {
this.handle = handle;
Expand Down
Expand Up @@ -5,7 +5,7 @@

public class DelegatePersistentDataContainer implements PersistentDataContainer {

private final PersistentDataContainer handle;
protected final PersistentDataContainer handle;

protected DelegatePersistentDataContainer(PersistentDataContainer handle) {
this.handle = handle;
Expand Down
Expand Up @@ -26,7 +26,7 @@

public class DelegateSuperiorPlayer implements SuperiorPlayer {

private final SuperiorPlayer handle;
protected final SuperiorPlayer handle;

protected DelegateSuperiorPlayer(SuperiorPlayer handle) {
this.handle = handle;
Expand Down
Expand Up @@ -9,7 +9,7 @@

public class DelegatePlayerTeleportAlgorithm implements PlayerTeleportAlgorithm {

private final PlayerTeleportAlgorithm handle;
protected final PlayerTeleportAlgorithm handle;

protected DelegatePlayerTeleportAlgorithm(PlayerTeleportAlgorithm handle) {
this.handle = handle;
Expand Down
Expand Up @@ -8,7 +8,7 @@

public class DelegatePlayersContainer implements PlayersContainer {

private final PlayersContainer handle;
protected final PlayersContainer handle;

protected DelegatePlayersContainer(PlayersContainer handle) {
this.handle = handle;
Expand Down
Expand Up @@ -10,7 +10,7 @@

public class DelegateIslandCreationAlgorithm implements IslandCreationAlgorithm {

private final IslandCreationAlgorithm handle;
protected final IslandCreationAlgorithm handle;

protected DelegateIslandCreationAlgorithm(IslandCreationAlgorithm handle) {
this.handle = handle;
Expand Down

0 comments on commit 81bc8d2

Please sign in to comment.