[Android] MRL: cosmetics
Jean-Baptiste Kempf
git at videolan.org
Sat May 23 19:09:12 CEST 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 18:27:23 2015 +0200| [b919d5ec94cdfd9538d2bd248883f5d3068a8d1d] | committer: Jean-Baptiste Kempf
MRL: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b919d5ec94cdfd9538d2bd248883f5d3068a8d1d
---
vlc-android/src/org/videolan/vlc/gui/MRLAdapter.java | 3 +--
vlc-android/src/org/videolan/vlc/gui/MRLPanelFragment.java | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MRLAdapter.java b/vlc-android/src/org/videolan/vlc/gui/MRLAdapter.java
index 51c91fa..81a4e22 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MRLAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MRLAdapter.java
@@ -55,8 +55,7 @@ public class MRLAdapter extends RecyclerView.Adapter<MRLAdapter.ViewHolder> {
int viewType) {
View v = LayoutInflater.from(parent.getContext())
.inflate(R.layout.mrl_item, parent, false);
- ViewHolder vh = new ViewHolder(v);
- return vh;
+ return new ViewHolder(v);
}
@Override
diff --git a/vlc-android/src/org/videolan/vlc/gui/MRLPanelFragment.java b/vlc-android/src/org/videolan/vlc/gui/MRLPanelFragment.java
index ad2283a..9c08af9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MRLPanelFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MRLPanelFragment.java
@@ -49,7 +49,7 @@ public class MRLPanelFragment extends Fragment implements View.OnKeyListener, Te
EditText mEditText;
View mRootView;
- public MRLPanelFragment(){};
+ public MRLPanelFragment(){}
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
More information about the Android
mailing list