← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5250: Codestyle Chart

 

------------------------------------------------------------
revno: 5250
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-11-30 19:36:57 +0100
message:
  Codestyle Chart
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.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/chart/Chart.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java	2011-11-30 14:39:36 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java	2011-11-30 18:36:57 +0000
@@ -57,58 +57,36 @@
 {
     private static final long serialVersionUID = 2570074075484545534L;
 
-            public static final String DIMENSION_PERIOD_INDICATOR = "period";
-        
-            public static final String DIMENSION_ORGANISATIONUNIT_INDICATOR = "organisationUnit";
-        
-            public static final String DIMENSION_INDICATOR_PERIOD = "indicator";
-    
-            public static final String DIMENSION_PERIOD_DATAELEMENT = "period_dataElement";
-    
-            public static final String DIMENSION_ORGANISATIONUNIT_DATAELEMENT = "organisationUnit_dataElement";
-        
-            public static final String DIMENSION_DATAELEMENT_PERIOD = "dataElement_period";
-        
-            public static final String DIMENSION_PERIOD_COMPLETENESS = "period_completeness";
-        
-            public static final String DIMENSION_ORGANISATIONUNIT_COMPLETENESS = "organisationUnit_completeness";
-        
-            public static final String DIMENSION_COMPLETENESS_PERIOD = "completeness_period";
-    
-            public static final String TYPE_BAR3D = "bar3d";
-    
-            public static final String TYPE_STACKED_BAR3D = "stackedBar3d";
-    
-            public static final String TYPE_LINE3D = "line3d";
-    
-            public static final String TYPE_PIE3D = "pie3d";
-        
-            public static final String SIZE_NORMAL = "normal";
-        
-            public static final String SIZE_WIDE = "wide";
-    
-            public static final String SIZE_TALL = "tall";
-        
-            public static final String TYPE = "tall";
-    
-    public static final String TYPE_COLUMN = "column";
-    
-    public static final String TYPE_STACKED_COLUMN = "stackedColumn";
-    
-    public static final String TYPE_BAR = "bar";
-    
-    public static final String TYPE_STACKED_BAR = "stackedBar";
-    
-    public static final String TYPE_LINE = "line";
-    
-    public static final String TYPE_AREA = "area";
-    
+    public static final String DIMENSION_PERIOD_INDICATOR = "period";        
+    public static final String DIMENSION_ORGANISATIONUNIT_INDICATOR = "organisationUnit";        
+    public static final String DIMENSION_INDICATOR_PERIOD = "indicator";    
+    public static final String DIMENSION_PERIOD_DATAELEMENT = "period_dataElement";    
+    public static final String DIMENSION_ORGANISATIONUNIT_DATAELEMENT = "organisationUnit_dataElement";        
+    public static final String DIMENSION_DATAELEMENT_PERIOD = "dataElement_period";        
+    public static final String DIMENSION_PERIOD_COMPLETENESS = "period_completeness";        
+    public static final String DIMENSION_ORGANISATIONUNIT_COMPLETENESS = "organisationUnit_completeness";        
+    public static final String DIMENSION_COMPLETENESS_PERIOD = "completeness_period";
+    
+    public static final String TYPE_BAR3D = "bar3d";    
+    public static final String TYPE_STACKED_BAR3D = "stackedBar3d";    
+    public static final String TYPE_LINE3D = "line3d";    
+    public static final String TYPE_PIE3D = "pie3d";
+        
+    public static final String SIZE_NORMAL = "normal";        
+    public static final String SIZE_WIDE = "wide";    
+    public static final String SIZE_TALL = "tall";
+        
+    public static final String TYPE = "tall";    
+    public static final String TYPE_COLUMN = "column";    
+    public static final String TYPE_STACKED_COLUMN = "stackedColumn";    
+    public static final String TYPE_BAR = "bar";    
+    public static final String TYPE_STACKED_BAR = "stackedBar";    
+    public static final String TYPE_LINE = "line";    
+    public static final String TYPE_AREA = "area";    
     public static final String TYPE_PIE = "pie";
     
-    public static final String DIMENSION_DATA = "data";
-    
-    public static final String DIMENSION_PERIOD = "period";
-    
+    public static final String DIMENSION_DATA = "data";    
+    public static final String DIMENSION_PERIOD = "period";    
     public static final String DIMENSION_ORGANISATIONUNIT = "organisationUnit";
     
     private String domainAxixLabel;
@@ -117,9 +95,9 @@
 
     private String type;
 
-            private String size;
+    private String size;
 
-            private String dimension;
+    private String dimension;
             
     private String series;
     
@@ -127,37 +105,37 @@
     
     private String filter;
 
-            private boolean hideLegend;
-        
-            private boolean verticalLabels;
-
-            private boolean horizontalPlotOrientation;
-
-            private boolean regression;
-        
-            private boolean targetLine;
-        
-            private boolean hideSubtitle;
-
-            private Double targetLineValue;
-        
-            private String targetLineLabel;
-
-            private Set<ChartGroup> groups = new HashSet<ChartGroup>();
+    private boolean hideLegend;
+        
+    private boolean verticalLabels;
+
+    private boolean horizontalPlotOrientation;
+
+    private boolean regression;
+        
+    private boolean targetLine;
+        
+    private boolean hideSubtitle;
+
+    private Double targetLineValue;
+        
+    private String targetLineLabel;
+
+    private Set<ChartGroup> groups = new HashSet<ChartGroup>();
 
     private List<Indicator> indicators = new ArrayList<Indicator>();
 
     private List<DataElement> dataElements = new ArrayList<DataElement>();
 
-            private List<DataSet> dataSets = new ArrayList<DataSet>();
+    private List<DataSet> dataSets = new ArrayList<DataSet>();
 
     private List<Period> periods = new ArrayList<Period>();
 
     private List<OrganisationUnit> organisationUnits = new ArrayList<OrganisationUnit>();
 
-            private RelativePeriods relatives;
+    private RelativePeriods relatives;
 
-            private boolean userOrganisationUnit;
+    private boolean userOrganisationUnit;
 
     // -------------------------------------------------------------------------
     // Transient properties