← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 16421
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-08-16 19:55:45 +0700
message:
  minor syntax fix
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Pager.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/common/Pager.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Pager.java	2014-03-18 08:10:10 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Pager.java	2014-08-16 12:55:45 +0000
@@ -35,7 +35,7 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-@JacksonXmlRootElement( localName = "pager", namespace = DxfNamespaces.DXF_2_0)
+@JacksonXmlRootElement( localName = "pager", namespace = DxfNamespaces.DXF_2_0 )
 public class Pager
 {
     public static final int DEFAULT_PAGE_SIZE = 50;
@@ -92,21 +92,21 @@
     {
         return "[Page: " + page + " total: " + total + " size: " + pageSize + " offset: " + getOffset() + "]";
     }
-    
+
     public boolean pageSizeIsDefault()
     {
         return pageSize == Pager.DEFAULT_PAGE_SIZE;
     }
-    
+
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public int getPage()
     {
         return page;
     }
 
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public int getTotal()
     {
         return total;
@@ -118,7 +118,7 @@
      * @return Number of items per page.
      */
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public int getPageSize()
     {
         return pageSize;
@@ -130,7 +130,7 @@
      * @return Total number of pages
      */
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public int getPageCount()
     {
         int pageCount = 1;
@@ -156,7 +156,7 @@
     }
 
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public String getNextPage()
     {
         return nextPage;
@@ -168,7 +168,7 @@
     }
 
     @JsonProperty
-    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
+    @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
     public String getPrevPage()
     {
         return prevPage;