Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] A strange cast in URIID.java

In bundling org.ecf.identity compiler claims that:


The method compareTo(URI) in the type URI is not applicable for the arguments (Object)    URIID.java    org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity    line 37    Java Problem

The referent code is:


return this.uri.compareTo((Object) ((URIID) o).uri)


I dont know why is ther an Object  cast here .

Someone ?


--
Pierre

Back to the top