<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 6: getEmail() method returns null in ImcomingREM.java</title><link>https://sourceforge.net/p/java-jml/bugs/6/</link><description>Recent changes to 6: getEmail() method returns null in ImcomingREM.java</description><atom:link href="https://sourceforge.net/p/java-jml/bugs/6/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 10 Dec 2006 04:40:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/java-jml/bugs/6/feed.rss" rel="self" type="application/rss+xml"/><item><title>getEmail() method returns null in ImcomingREM.java</title><link>https://sourceforge.net/p/java-jml/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;//here is the original codes&lt;br /&gt;
public Email getEmail() {&lt;br /&gt;
if (getList() == MsnList.RL) {&lt;br /&gt;
if (protocol.before(MsnProtocol.MSNP10)) {&lt;br /&gt;
return Email.parseStr(getParam(2));&lt;br /&gt;
}&lt;br /&gt;
return Email.parseStr(getParam(1));&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
return null;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
//fixed&lt;br /&gt;
public Email getEmail() {&lt;br /&gt;
if (getList() == MsnList.RL &amp;amp;&amp;amp;protocol.before(MsnProtocol.MSNP10)) {&lt;br /&gt;
return Email.parseStr(getParam(2));&lt;br /&gt;
}&lt;br /&gt;
return Email.parseStr(getParam(1));&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;/*&lt;br /&gt;
I don't know why it simply return null when the command is not of RL, so I fixed it, but I don't know whether it'll cause protocol version problem&lt;br /&gt;
*/&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">VelnaInPosition</dc:creator><pubDate>Sun, 10 Dec 2006 04:40:15 -0000</pubDate><guid>https://sourceforge.net057a35d679a1e961391da8cd18a15d85b007f84c</guid></item></channel></rss>