Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-dev] [smila-user] Change of Record/Blackboard interface for Attachments

Hi,

Na that's ok if it is just such  a simple rename. 
Maybe u could record the refactorings needed for migration and attach them to the bug so downstream developers  can just apply them.

Thomas Menzel @ brox IT-Solutions GmbH

-----Original Message-----
From: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] On Behalf Of Jürgen Schumacher
Sent: Montag, 19. Dezember 2011 17:31
To: Smila project user mailing list; Smila project developer mailing list
Subject: Re: [smila-dev] [smila-user] Change of Record/Blackboard interface for Attachments

Hi,

> any chance of just deprecating the current byte[] related methods, so 
> that the interface doesn’t break now, and just have the impls delegate to the new methods?
> Or would that be too much of an overhead?

I thought of this, but the problem is: currently we have "byte[] getAttachment(name)", which would be the perfect method name for "Attachment getAttachment(name)", of course, and introducing another name now would look strange in the long run. So I was planning to add a method like "byte[] getAttachmentsAsBytes(name)" as a shortcut, so that adapting to the change should be quite easy. For the setAttachment() methods nothing needs to be changed anyway, just added. 

I can also delay the actual commit of the changes to next year, if that would be easier for you. I'm not finished yet anyway (:

Cheers,
Juergen.
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev


http://www.Taglocity.com Tags: smila

Back to the top