contrib/jwrapper: remove NitType::arg_id it was unused, only set
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 21 Jul 2015 17:50:15 +0000 (13:50 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 24 Jul 2015 13:44:24 +0000 (09:44 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/jwrapper/src/code_generator.nit
contrib/jwrapper/src/model.nit

index dcaba43..e95ee2e 100644 (file)
@@ -168,7 +168,6 @@ class CodeGenerator
                        if not jparam.is_collection then cast = jparam.param_cast
 
                        nit_types.add(nit_type)
-                       nit_type.arg_id = "{nit_id}{nit_id_no}"
 
                        if i == jparam_list.length - 1 then
                                java_params += "{cast}{nit_id}{nit_id_no}"
index a4903b6..b792111 100644 (file)
@@ -232,7 +232,6 @@ end
 
 class NitType
        var identifier: String
-       var arg_id: String
        var generic_params: nullable Array[NitType] = null
 
        # If this NitType was found in `lib/android`, contains the module name to import