[Android] LibVLC: set methods static when possible

Thomas Guillem git at videolan.org
Tue Jan 21 09:36:50 CET 2020


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 16 15:13:39 2020 +0100| [415cf6d233ac1be24fe2c76716c426ff885c5fb8] | committer: Thomas Guillem

LibVLC: set methods static when possible

> https://code.videolan.org/videolan/vlc-android/commit/415cf6d233ac1be24fe2c76716c426ff885c5fb8
---

 libvlc/src/org/videolan/libvlc/LibVLC.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/LibVLC.java b/libvlc/src/org/videolan/libvlc/LibVLC.java
index 2186df44e..4e9f75dca 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -95,21 +95,21 @@ public class LibVLC extends VLCObject<ILibVLC.Event> implements ILibVLC {
      *
      * @return the libVLC version string
      */
-    public native String version();
+    public static native String version();
 
     /**
      * Get the libVLC compiler
      *
      * @return the libVLC compiler string
      */
-    public native String compiler();
+    public static native String compiler();
 
     /**
      * Get the libVLC changeset
      *
      * @return the libVLC changeset string
      */
-    public native String changeset();
+    public static native String changeset();
 
     @Override
     protected ILibVLC.Event onEventNative(int eventType, long arg1, long arg2, float argf1, @Nullable String args1) {



More information about the Android mailing list