diff options
| author | jruesga <jorge@ruesga.com> | 2012-10-02 01:10:51 +0200 |
|---|---|---|
| committer | jruesga <jorge@ruesga.com> | 2012-10-02 01:10:51 +0200 |
| commit | 299202f3f44506727120438ea31ecde9a6d3e22d (patch) | |
| tree | 39963770fa898a420a8a27cf9ce0ca5c62040a1c /src | |
| parent | d7edde7b4df07c5582da8229cd7d7087d4874a77 (diff) | |
Avoid use of internals getters and setters
http://developer.android.com/guide/practices/performance.html#internal_get_set
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/cyanogenmod/explorer/ui/widgets/BreadcrumbItem.java | 2 | ||||
| -rw-r--r-- | src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/explorer/ui/widgets/BreadcrumbItem.java b/src/com/cyanogenmod/explorer/ui/widgets/BreadcrumbItem.java index 86fc72f..bd2b555 100644 --- a/src/com/cyanogenmod/explorer/ui/widgets/BreadcrumbItem.java +++ b/src/com/cyanogenmod/explorer/ui/widgets/BreadcrumbItem.java @@ -103,7 +103,7 @@ public class BreadcrumbItem extends TextView implements OnLongClickListener { */ @Override public boolean onLongClick(View v) { - DialogHelper.showToast(getContext(), this.getItemPath(), Toast.LENGTH_SHORT); + DialogHelper.showToast(getContext(), this.mItemPath, Toast.LENGTH_SHORT); return true; } diff --git a/src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java b/src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java index b447c25..755a505 100644 --- a/src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java +++ b/src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java @@ -870,7 +870,7 @@ public class NavigationView extends RelativeLayout implements */ @Override public String onRequestCurrentDirOfSelectionData() { - return this.getCurrentDir(); + return this.mCurrentDir; } } |
