cloud1105 / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

Warning : "Note: Recompile with -Xlint:unchecked for details." #473

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. gradle clean test

What is the expected output? What do you see instead?

C:\.gradle\caches\modules-2\files-2.1\org.mockito\mockito-all\1.9.5\79a8984096fc
6591c1e3690e07d41be506356fa5\mockito-all\-1.9.5.jar(org/hamcrest/Description.jav
a):29: warning: [unchecked] Possible heap pollution from parameterized vararg 
type T
    <T> Description appendValueList(String start, String separator, String end,
                                           ^
  where T is a type-variable:
    T extends Object declared in method <T>appendValueList(String,String,String,T...)

C:\.gradle\caches\modules-2\files-2.1\org.mockito\mockito-all\1.9.5\79a8984096fc
6591c1e3690e07d41be506356fa5\mockito-all\-1.9.5.jar(org/hamcrest/BaseDescription
.java):56: warning: [unchecked] Possible heap pollution from parameterized 
vararg type T
    public <T> Description appendValueList(String start, String separator, String end, T... values) {
                                                  ^
  where T is a type-variable:
    T extends Object declared in method <T>appendValueList(String,String,String,T...)

What version of the product are you using? On what operating system?
mockito-all-1.9.5.jar OS- Windows 

Original issue reported on code.google.com by mdinfote...@gmail.com on 18 Feb 2014 at 4:21

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by brice.du...@gmail.com on 4 Mar 2014 at 9:41