mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
fix http bug
This commit is contained in:
@@ -60,10 +60,12 @@ public class TypeUtilTest {
|
||||
|
||||
@Test
|
||||
public void getActualTypesTest(){
|
||||
final Type id = TypeUtil.getActualType(
|
||||
final Type idType = TypeUtil.getActualType(
|
||||
Station.class,
|
||||
Entity.class,
|
||||
Tree.class,
|
||||
TypeUtil.getFieldType(Station.class, "id"));
|
||||
|
||||
Assert.assertEquals(Long.class, idType);
|
||||
}
|
||||
|
||||
public static class Station extends Tree<Station, Long>{
|
||||
|
Reference in New Issue
Block a user