[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: How to read image descriptor from a program folder

Rajesh,

The offset just seems to be used to impact the hashCode and equals. You really need that? Why? I suspect you can just turn the filename into a URL and use the more basic methods I referred to...


Rajesh Adukkadukkath wrote:
The mail problem is in the following line:

desc = new ProgramImageDescriptor(filename, offset);

We are creating an instance of ProgramImageDescriptor here, and the instance of it into a HashMap. So we need to provide an alternative implementation, that will have changes with minimum migration impact with supporting all the existing public method implementation in the ProgramImageDescriptor class.