From 4793561f7c43186cadc04596ba5a38486e851328 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sat, 13 Aug 2016 20:02:54 +0200 Subject: [PATCH] Align class name with file name to fix error on case-sensitive filesystems/OSs. --- .../plugins/NSProfileViewer/NSProfileViewerFragment.java | 4 ++-- .../plugins/NSProfileViewer/NSProfileViewerPlugin.java | 4 ++-- .../NSProfileViewer/events/EventNSProfileViewerUpdateGUI.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerFragment.java index fcf3a14c81..5ef13866d7 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerFragment.java @@ -13,7 +13,7 @@ import com.squareup.otto.Subscribe; import info.nightscout.androidaps.MainApp; import info.nightscout.androidaps.R; import info.nightscout.androidaps.interfaces.FragmentBase; -import info.nightscout.androidaps.plugins.NSProfileViewer.events.EventNSProfileViewerUpdateGui; +import info.nightscout.androidaps.plugins.NSProfileViewer.events.EventNSProfileViewerUpdateGUI; import info.nightscout.utils.DecimalFormatter; public class NSProfileViewerFragment extends Fragment implements FragmentBase { @@ -63,7 +63,7 @@ public class NSProfileViewerFragment extends Fragment implements FragmentBase { } @Subscribe - public void onStatusEvent(final EventNSProfileViewerUpdateGui ev) { + public void onStatusEvent(final EventNSProfileViewerUpdateGUI ev) { Activity activity = getActivity(); if (activity != null) activity.runOnUiThread(new Runnable() { diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerPlugin.java index 5314805d47..f957b46fce 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/NSProfileViewerPlugin.java @@ -19,7 +19,7 @@ import info.nightscout.androidaps.Services.Intents; import info.nightscout.androidaps.events.EventNewBasalProfile; import info.nightscout.androidaps.interfaces.PluginBase; import info.nightscout.androidaps.interfaces.ProfileInterface; -import info.nightscout.androidaps.plugins.NSProfileViewer.events.EventNSProfileViewerUpdateGui; +import info.nightscout.androidaps.plugins.NSProfileViewer.events.EventNSProfileViewerUpdateGUI; import info.nightscout.client.data.NSProfile; /** @@ -83,7 +83,7 @@ public class NSProfileViewerPlugin implements PluginBase, ProfileInterface { public void onStatusEvent(final EventNewBasalProfile ev) { profile = new NSProfile(ev.newNSProfile.getData(), ev.newNSProfile.getActiveProfile()); storeNSProfile(); - MainApp.bus().post(new EventNSProfileViewerUpdateGui()); + MainApp.bus().post(new EventNSProfileViewerUpdateGUI()); } private void storeNSProfile() { diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/events/EventNSProfileViewerUpdateGUI.java b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/events/EventNSProfileViewerUpdateGUI.java index 734dd696c6..f84515eb56 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/events/EventNSProfileViewerUpdateGUI.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/NSProfileViewer/events/EventNSProfileViewerUpdateGUI.java @@ -3,5 +3,5 @@ package info.nightscout.androidaps.plugins.NSProfileViewer.events; /** * Created by mike on 05.08.2016. */ -public class EventNSProfileViewerUpdateGui { +public class EventNSProfileViewerUpdateGUI { }