Перейти к содержанию
Авторизация  
selles

Ошибки При Компиляции Исходников

Рекомендуемые сообщения

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

 

Buildfile: D:\Region\trunk\build.xml

init:

[mkdir] Created dir: D:\Region\trunk\build

compile-commons:

[mkdir] Created dir: D:\Region\trunk\build\classes

[javac] Compiling 80 source files to D:\Region\trunk\build\classes

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\EmptyIterator.java:11: warning: [rawtypes] found raw type: Iterator

[javac] private static final Iterator INSTANCE = new EmptyIterator();

[javac] ^

[javac] missing type arguments for generic class Iterator

[javac] where E is a type-variable:

[javac] E extends Object declared in interface Iterator

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\EmptyIterator.java:11: warning: [rawtypes] found raw type: EmptyIterator

[javac] private static final Iterator INSTANCE = new EmptyIterator();

[javac] ^

[javac] missing type arguments for generic class EmptyIterator

[javac] where E is a type-variable:

[javac] E extends Object declared in class EmptyIterator

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\JoinedIterator.java:57: warning: [rawtypes] found raw type: Iterator

[javac] this(iterators.toArray(new Iterator[iterators.size()]));

[javac] ^

[javac] missing type arguments for generic class Iterator

[javac] where E is a type-variable:

[javac] E extends Object declared in interface Iterator

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\JoinedIterator.java:61: warning: [rawtypes] found raw type: Iterator

[javac] public JoinedIterator(Iterator... iterators)

[javac] ^

[javac] missing type arguments for generic class Iterator

[javac] where E is a type-variable:

[javac] E extends Object declared in interface Iterator

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\LazyArrayList.java:65: warning: [rawtypes] found raw type: ObjectPool

[javac] private static final ObjectPool POOL = new GenericObjectPool(new PoolableLazyArrayListFactory(), POOL_SIZE, GenericObjectPool.WHEN_EXHAUSTED_GROW, 0L, -1);

[javac] ^

[javac] missing type arguments for generic class ObjectPool

[javac] where T is a type-variable:

[javac] T extends Object declared in interface ObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\collections\LazyArrayList.java:65: warning: [rawtypes] found raw type: GenericObjectPool

[javac] private static final ObjectPool POOL = new GenericObjectPool(new PoolableLazyArrayListFactory(), POOL_SIZE, GenericObjectPool.WHEN_EXHAUSTED_GROW, 0L, -1);

[javac] ^

[javac] missing type arguments for generic class GenericObjectPool

[javac] where T is a type-variable:

[javac] T extends Object declared in class GenericObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:31: warning: [rawtypes] found raw type: ObjectPool

[javac] private final ObjectPool _connectionPool;

[javac] ^

[javac] missing type arguments for generic class ObjectPool

[javac] where T is a type-variable:

[javac] T extends Object declared in interface ObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:46: warning: [rawtypes] found raw type: GenericObjectPool

[javac] GenericObjectPool connectionPool = new GenericObjectPool(null);

[javac] ^

[javac] missing type arguments for generic class GenericObjectPool

[javac] where T is a type-variable:

[javac] T extends Object declared in class GenericObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:46: warning: [rawtypes] found raw type: GenericObjectPool

[javac] GenericObjectPool connectionPool = new GenericObjectPool(null);

[javac] ^

[javac] missing type arguments for generic class GenericObjectPool

[javac] where T is a type-variable:

[javac] T extends Object declared in class GenericObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:46: warning: [unchecked] unchecked call to GenericObjectPool(PoolableObjectFactory) as a member of the raw type GenericObjectPool

[javac] GenericObjectPool connectionPool = new GenericObjectPool(null);

[javac] ^

[javac] where T is a type-variable:

[javac] T extends Object declared in class GenericObjectPool

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:59: warning: [rawtypes] found raw type: GenericKeyedObjectPoolFactory

[javac] GenericKeyedObjectPoolFactory statementPoolFactory = null;

[javac] ^

[javac] missing type arguments for generic class GenericKeyedObjectPoolFactory

[javac] where K,V are type-variables:

[javac] K extends Object declared in class GenericKeyedObjectPoolFactory

[javac] V extends Object declared in class GenericKeyedObjectPoolFactory

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:63: warning: [rawtypes] found raw type: GenericKeyedObjectPoolFactory

[javac] statementPoolFactory = new GenericKeyedObjectPoolFactory(null, -1, GenericObjectPool.WHEN_EXHAUSTED_FAIL, 0L, 1, GenericKeyedObjectPool.DEFAULT_MAX_TOTAL);

[javac] ^

[javac] missing type arguments for generic class GenericKeyedObjectPoolFactory

[javac] where K,V are type-variables:

[javac] K extends Object declared in class GenericKeyedObjectPoolFactory

[javac] V extends Object declared in class GenericKeyedObjectPoolFactory

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\dbcp\BasicDataSource.java:63: warning: [unchecked] unchecked call to GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory,int,byte,long,int,int) as a member of the raw type GenericKeyedObjectPoolFactory

[javac] statementPoolFactory = new GenericKeyedObjectPoolFactory(null, -1, GenericObjectPool.WHEN_EXHAUSTED_FAIL, 0L, 1, GenericKeyedObjectPool.DEFAULT_MAX_TOTAL);

[javac] ^

[javac] where K,V are type-variables:

[javac] K extends Object declared in class GenericKeyedObjectPoolFactory

[javac] V extends Object declared in class GenericKeyedObjectPoolFactory

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\geometry\Point2D.java:3: warning: [overrides] Class Point2D overrides equals, but neither it nor any superclass overrides hashCode method

[javac] public class Point2D implements Cloneable

[javac] ^

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\geometry\Point3D.java:3: warning: [overrides] Class Point3D overrides equals, but neither it nor any superclass overrides hashCode method

[javac] public class Point3D extends Point2D

[javac] ^

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\lang\reference\AbstractHardReference.java:9: warning: [overrides] Class AbstractHardReference overrides equals, but neither it nor any superclass overrides hashCode method

[javac] public class AbstractHardReference implements HardReference

[javac] ^

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\IClientFactory.java:3: warning: [rawtypes] found raw type: MMOClient

[javac] public interface IClientFactory

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\MMOClient.java:5: warning: [rawtypes] found raw type: MMOConnection

[javac] public abstract class MMOClient

[javac] ^

[javac] missing type arguments for generic class MMOConnection

[javac] where T is a type-variable:

[javac] T extends MMOClient declared in class MMOConnection

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\MMOConnection.java:18: warning: [rawtypes] found raw type: MMOClient

[javac] public class MMOConnection

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\MMOConnection.java:91: warning: [unchecked] Possible heap pollution from parameterized vararg type SendablePacket

[javac] public void sendPacket(SendablePacket... args)

[javac] ^

[javac] where T is a type-variable:

[javac] T extends MMOClient declared in class MMOConnection

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\SelectorThread.java:18: warning: [rawtypes] found raw type: MMOClient

[javac] public class SelectorThread extends Thread

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\SelectorThread.java:38: warning: [rawtypes] found raw type: SelectorThread

[javac] private static final List ALL_SELECTORS = new ArrayList();

[javac] ^

[javac] missing type arguments for generic class SelectorThread

[javac] where T is a type-variable:

[javac] T extends MMOClient declared in class SelectorThread

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\SelectorThread.java:38: warning: [rawtypes] found raw type: SelectorThread

[javac] private static final List ALL_SELECTORS = new ArrayList();

[javac] ^

[javac] missing type arguments for generic class SelectorThread

[javac] where T is a type-variable:

[javac] T extends MMOClient declared in class SelectorThread

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\SendablePacket.java:5: warning: [rawtypes] found raw type: MMOClient

[javac] public abstract class SendablePacket extends semigods.commons.net.nio.SendablePacket

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\ReceivablePacket.java:5: warning: [rawtypes] found raw type: MMOClient

[javac] public abstract class ReceivablePacket extends semigods.commons.net.nio.ReceivablePacket

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\IPacketHandler.java:5: warning: [rawtypes] found raw type: MMOClient

[javac] public interface IPacketHandler

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\IMMOExecutor.java:3: warning: [rawtypes] found raw type: MMOClient

[javac] public interface IMMOExecutor

[javac] ^

[javac] missing type arguments for generic class MMOClient

[javac] where T is a type-variable:

[javac] T extends MMOConnection declared in class MMOClient

[javac] D:\Region\trunk\commons\src\main\java\semigods\commons\net\nio\impl\MMOExecutableQueue.java:9: warning: [rawtypes] found raw type: MMOClient

[javac] public class MMOExecutableQueue implements Queue

 

 

Изменено пользователем selles

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

это варны, и они не страшны, не обращайте внимания

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Уберите аннотации @SuppressWarnings и увидите, что за "добро" вложили в код разработчики (как говорил примерно AwakenDev).

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Брать региона с такими знаниями? ТС знает толк в извращениях=)

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...