android: remove superfluous redefinitions of SELF
authorJean Privat <jean@pryen.org>
Sat, 23 Apr 2016 21:21:55 +0000 (17:21 -0400)
committerJean Privat <jean@pryen.org>
Wed, 27 Apr 2016 13:51:03 +0000 (09:51 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/android/ui/native_ui.nit

index e4dd670..b1b45f2 100644 (file)
@@ -175,8 +175,6 @@ end
 extern class NativeEditText in "Java" `{ android.widget.EditText `}
        super NativeTextView
 
-       redef type SELF: NativeEditText
-
        new (context: NativeActivity) in "Java" `{ return new android.widget.EditText(context); `}
 
        fun width=(val: Int) in "Java" `{ self.setWidth((int)val); `}
@@ -193,8 +191,6 @@ end
 extern class NativeButton in "Java" `{ android.widget.Button `}
        super NativeTextView
 
-       redef type SELF: NativeButton
-
        redef fun new_global_ref import sys, Sys.jni_env `{
                Sys sys = NativeButton_sys(self);
                JNIEnv *env = Sys_jni_env(sys);