
|
If you were logged in you would be able to see more operations.
|
|
|
| Build: |
7,941
|
| Severity: |
Medium
|
Project setup:
- ModuleA: JDK5, language level 5.0, contains custom collection class with a generic parameter: LongMap<V>
- ModuleB: JDK6, language level 5.0, contains code which iterates over the values() from LongMap<SomeType>.
Iteration code:
LongMap<SomeType> myMap;
for (SomeType foo : myMap.values()) {
...
}
The 'for' line is marked with the following error: Required "SomeType", found "E".
|
|
Description
|
Project setup:
- ModuleA: JDK5, language level 5.0, contains custom collection class with a generic parameter: LongMap<V>
- ModuleB: JDK6, language level 5.0, contains code which iterates over the values() from LongMap<SomeType>.
Iteration code:
LongMap<SomeType> myMap;
for (SomeType foo : myMap.values()) {
...
}
The 'for' line is marked with the following error: Required "SomeType", found "E".
|
Show » |
|