Actions
Task #10304
opendeprecation warnings via compilation
Start date:
04/23/2020
Due date:
% Done:
0%
Estimated time:
Detected in build:
git
Published in build:
Description
> Task :compileJava /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/SysUtils.java:122: warning: [deprecation] newInstance() in Class has been deprecated return cl.loadClass(className).newInstance(); ^ where T is a type-variable: T extends Object declared in class Class /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/SysUtils.java:148: warning: [deprecation] newInstance() in Class has been deprecated return (Plugin) pluginClass.newInstance(); ^ where T is a type-variable: T extends Object declared in class Class /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/test/sequence/GeneratorNitems.java:78: warning: [unchecked] unchecked method invocation: method copyAll in class SharedObject is applied to given types return SharedObject.copyAll((List) value); ^ required: List<T> found: List where T is a type-variable: T extends SharedObject<T> declared in method <T>copyAll(List<T>) /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/test/sequence/GeneratorNitems.java:78: warning: [unchecked] unchecked conversion return SharedObject.copyAll((List) value); ^ required: List<T> found: List where T is a type-variable: T extends SharedObject<T> declared in method <T>copyAll(List<T>) /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/test/sequence/GeneratorNitems.java:78: warning: [unchecked] unchecked conversion return SharedObject.copyAll((List) value); ^ required: List<T> found: List where T is a type-variable: T extends Object declared in class GeneratorNitems /srv/****/workspace/MicroTESK/src/main/java/core/ru/ispras/microtesk/test/sequence/GeneratorConfig.java:179: warning: [deprecation] newInstance() in Class has been deprecated return type.newInstance(); ^ where T is a type-variable: T extends Object declared in class Class 6 warnings
Updated by Alexander Protsenko over 1 year ago
- Target version changed from 2.5 to 2.6
Actions