← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5456: minor fix

 

------------------------------------------------------------
revno: 5456
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-12-16 15:00:10 +0100
message:
  minor fix
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/message/MessageConversation.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/message/MessageConversation.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/message/MessageConversation.java	2011-12-16 11:36:58 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/message/MessageConversation.java	2011-12-16 14:00:10 +0000
@@ -159,13 +159,6 @@
 
     @XmlElement
     @JsonProperty
-    public String getLastSenderName()
-    {
-        return lastSenderFirstname + " " + lastSenderSurname;
-    }
-
-    @XmlElement
-    @JsonProperty
     public String getSubject()
     {
         return subject;
@@ -229,8 +222,11 @@
         this.read = read;
     }
 
-    @XmlElement
-    @JsonProperty
+    public String getLastSenderName()
+    {
+        return lastSenderFirstname + " " + lastSenderSurname;
+    }
+
     public String getLastSenderSurname()
     {
         return lastSenderSurname;
@@ -241,8 +237,6 @@
         this.lastSenderSurname = lastSenderSurname;
     }
 
-    @XmlElement
-    @JsonProperty
     public String getLastSenderFirstname()
     {
         return lastSenderFirstname;