distinguish raw types from non-raw (IDEA-92842)

This commit is contained in:
Anna Kozlova
2012-10-12 19:45:30 +02:00
parent 1cb9c38632
commit e2ab6057e8
4 changed files with 14 additions and 3 deletions
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,10 @@
class Test {
{
class TypedQuery<T> {}
class TemporalDataDTO<K> {}
class FOLDER_ID {}
TypedQuery<TemporalDataDTO> h = null;
TypedQuery<TemporalDataDTO<FOLDER_ID>> typedQuery = (TypedQuery<TemporalDataDTO<FOLDER_ID>>) (TypedQuery<?>)h;
}
}