aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2012-10-02 01:10:51 +0200
committerjruesga <jorge@ruesga.com>2012-10-02 01:10:51 +0200
commit299202f3f44506727120438ea31ecde9a6d3e22d (patch)
tree39963770fa898a420a8a27cf9ce0ca5c62040a1c /src
parentd7edde7b4df07c5582da8229cd7d7087d4874a77 (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.java2
-rw-r--r--src/com/cyanogenmod/explorer/ui/widgets/NavigationView.java2
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;
}
}