From 45b175280840dd990edd4d90554f47326615bcd6 Mon Sep 17 00:00:00 2001 From: hiroki0 Date: Sat, 7 Mar 2015 22:57:40 +0900 Subject: [PATCH 1/2] [fix] Bar.AddStackValue method name the first letter of the method name should bi in lowercase. --- HoloGraphLibrary.iml | 213 +++++++++++++++++- .../src/com/echo/holographlibrary/Bar.java | 2 +- .../holographlibrarysample/BarFragment.java | 4 +- 3 files changed, 215 insertions(+), 4 deletions(-) diff --git a/HoloGraphLibrary.iml b/HoloGraphLibrary.iml index d9c631d..f7326a9 100644 --- a/HoloGraphLibrary.iml +++ b/HoloGraphLibrary.iml @@ -1,13 +1,224 @@ + + + + + + - + + + + + diff --git a/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java b/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java index 7523287..32a018b 100644 --- a/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java +++ b/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java @@ -74,7 +74,7 @@ public void setStackedBar(boolean stacked){ public boolean getStackedBar(){ return isStackedBar; } - public void AddStackValue(BarStackSegment val){ + public void addStackValue(BarStackSegment val){ values.add(val); } public ArrayList getStackedValues(){ diff --git a/HoloGraphLibrarySample/src/com/echo/holographlibrarysample/BarFragment.java b/HoloGraphLibrarySample/src/com/echo/holographlibrarysample/BarFragment.java index 550bc82..9c84922 100644 --- a/HoloGraphLibrarySample/src/com/echo/holographlibrarysample/BarFragment.java +++ b/HoloGraphLibrarySample/src/com/echo/holographlibrarysample/BarFragment.java @@ -57,8 +57,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa d3.setColor(Color.parseColor("#FFBB33")); d3.setName("Test3"); d3.setStackedBar(true); - d3.AddStackValue(new BarStackSegment(2, Color.parseColor("#FFBB33"))); - d3.AddStackValue(new BarStackSegment(4, Color.RED)); + d3.addStackValue(new BarStackSegment(2, Color.parseColor("#FFBB33"))); + d3.addStackValue(new BarStackSegment(4, Color.RED)); points.add(d); points.add(d2); points.add(d3); From d217e7999f2b5477b497f1236c46cdb9f7935845 Mon Sep 17 00:00:00 2001 From: hiroki0 Date: Sat, 7 Mar 2015 23:15:29 +0900 Subject: [PATCH 2/2] [fix] revert unnecessary change --- HoloGraphLibrary.iml | 213 +------------------------------------------ 1 file changed, 1 insertion(+), 212 deletions(-) diff --git a/HoloGraphLibrary.iml b/HoloGraphLibrary.iml index f7326a9..d9c631d 100644 --- a/HoloGraphLibrary.iml +++ b/HoloGraphLibrary.iml @@ -1,224 +1,13 @@ - - - - - - + - - - - -