Menu

#3 Need to know why some condition written

open
nobody
None
5
2006-04-13
2006-04-13
Anonymous
No

Hello,

In AtomContent.cs,AtomLink.cs,
AtomContentConstruct.cs, AtomContent10.cs files
following code is writtern,

if((this.Type == MediaType.UnknownType) ||(this.Type ==
MediaType.ApplicationAtomXml) ||(this.Type ==
MediaType.ApplicationXAtomXml))
this.Type = DefaultValues.MediaType;

does any1 explain why this code is written??

plz reply me as soon as possible.

Regards,
Imran
Sr. Software Developer
Saltriver infosystems private limited
http://www.saltriver.com
imran@saltriver.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.