Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Lineage II (https://forum.zone-game.info/forumdisplay.php?f=34)
-   -   Ошибка _aveList; (https://forum.zone-game.info/showthread.php?t=42367)

knaif 21.06.2017 02:47

Ошибка _aveList;
 
Всем доброго времени суток !

При компиляция выдает такую ошибку, подскажите пожалуйста что нужно сделать чтоб ее убрать ?

gameserver\model\Creature.java:1778: error: incompatible types
return _aveList;
^
required: FastList<Integer>
found: Object
gameserver\model\Creature.java:1783: error: cannot find symbol
if (!_aveList.contains(aeId))
^
symbol: method contains(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1785: error: cannot find symbol
_aveList.add(aeId);
^
symbol: method add(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1791: error: cannot find symbol
if (_aveList.contains(aeId))
^
symbol: method contains(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1793: error: cannot find symbol
_aveList.remove(_aveList.indexOf(aeId));

Trimius 22.06.2017 15:07

Re: Ошибка _aveList;
 
Цитата:

Сообщение от knaif (Сообщение 426756)
Всем доброго времени суток !

При компиляция выдает такую ошибку, подскажите пожалуйста что нужно сделать чтоб ее убрать ?

gameserver\model\Creature.java:1778: error: incompatible types
return _aveList;
^
required: FastList<Integer>
found: Object
gameserver\model\Creature.java:1783: error: cannot find symbol
if (!_aveList.contains(aeId))
^
symbol: method contains(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1785: error: cannot find symbol
_aveList.add(aeId);
^
symbol: method add(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1791: error: cannot find symbol
if (_aveList.contains(aeId))
^
symbol: method contains(int)
location: variable _aveList of type Object
gameserver\model\Creature.java:1793: error: cannot find symbol
_aveList.remove(_aveList.indexOf(aeId));

Для начала надо начать изучать яву.


Текущее время: 01:58. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot