For server, I believe the rationale was something along the lines of only 
marking public the methods defined in the interface APIMMessage.

Although I see that getAuthor doesn't quite adhere to that.

Although a categoryTerm is pretty clearly an Atom-specific implementation 
detail versus an author.

For fedora-client, the reason is pretty prosaic: the class is just directly 
descended from the server version. I don't see why we shouldn't make the method 
public there.

On Aug 28, 2012, at 2:56 AM, David Chandek-Stark <david.chandek.st...@duke.edu> 
wrote:

> Why is the getCategoryTerm() method in the AtomApimMessage class private?  
> The same question applies also to the server messaging class AtomAPIMMessage. 
>  In both cases, it only denies access to the convenience of the method, not 
> the message content itself.
>  
> Thanks,
> David
>  
> ----------------------------------------
> David Chandek-Stark
> IT Analyst, Sr. - Perkins Library ITS, Discovery and Core Services
> Tel. 919-660-5859
> IM: d...@jabber.duke.edu
>  


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to