Code style changes.

This commit is contained in:
MobiusDev
2016-04-26 19:21:19 +00:00
parent 6a13705766
commit fc070c9238
768 changed files with 3338 additions and 4252 deletions

View File

@@ -105,7 +105,7 @@ public abstract class ItemContainer
{
for (L2ItemInstance item : _items)
{
if ((item != null) && (item.getItem().isAllowSelfResurrection()))
if ((item != null) && item.getItem().isAllowSelfResurrection())
{
return true;
}
@@ -254,7 +254,7 @@ public abstract class ItemContainer
{
item.setOwnerId(process, getOwnerId(), actor, reference);
item.setItemLocation(getBaseLocation());
item.setLastChange((L2ItemInstance.ADDED));
item.setLastChange(L2ItemInstance.ADDED);
// Add item in inventory
addItem(item);
@@ -490,7 +490,7 @@ public abstract class ItemContainer
*/
public L2ItemInstance destroyItem(String process, L2ItemInstance item, L2PcInstance actor, Object reference)
{
return this.destroyItem(process, item, item.getCount(), actor, reference);
return destroyItem(process, item, item.getCount(), actor, reference);
}
/**
@@ -553,7 +553,7 @@ public abstract class ItemContainer
public L2ItemInstance destroyItem(String process, int objectId, long count, L2PcInstance actor, Object reference)
{
final L2ItemInstance item = getItemByObjectId(objectId);
return item == null ? null : this.destroyItem(process, item, count, actor, reference);
return item == null ? null : destroyItem(process, item, count, actor, reference);
}
/**
@@ -704,7 +704,7 @@ public abstract class ItemContainer
// If stackable item is found in inventory just add to current quantity
if (item.isStackable() && (getItemByItemId(item.getId()) != null))
{
addItem("Restore", item, (getOwner() == null ? null : getOwner().getActingPlayer()), null);
addItem("Restore", item, getOwner() == null ? null : getOwner().getActingPlayer(), null);
}
else
{