<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Java properties</title><link>https://answers.axonivy.com/questions/2753/java-properties</link><description>&lt;p&gt;Hello everyone,
I have a java object with some attributes like: id, name, surname, status. I have no idea what is wrong but whenever i try to access some property it always gives me twice from the same property like the following:
&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/status.png"&gt;&lt;/p&gt;
&lt;p&gt;Does any of you had the same problem :/&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2753/java-properties" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 17 Jul 2017 03:39:41 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2753/java-properties/2761</link><description>&lt;p&gt;Could it be, that the status field is public and also has a public getter?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 17 Jul 2017 03:39:41 -0400</pubDate><guid>https://answers.axonivy.com/questions/2753/java-properties/2761</guid></item><item><title>Comment by Tano93 on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/2753/java-properties#2760</link><description>&lt;p&gt;Thank you so much, as you said the mistake was that i have public field and also public getter, have a nice day :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tano93</dc:creator><pubDate>Mon, 17 Jul 2017 03:26:11 -0400</pubDate><guid>https://answers.axonivy.com/questions/2753/java-properties#2760</guid></item><item><title>Comment by Reguel Wermelinger on Tano93's question</title><link>https://answers.axonivy.com/questions/2753/java-properties#2759</link><description>&lt;p&gt;can you share the outline of this java class? Could it be, that the &lt;code&gt;status&lt;/code&gt; field is public and also has a public getter? Or is this an overriden property of a parent class?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 17 Jul 2017 03:09:42 -0400</pubDate><guid>https://answers.axonivy.com/questions/2753/java-properties#2759</guid></item></channel></rss>