From 4f42453c77772c62bc34c5efc4a410eb125cba77 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 31 Mar 2016 18:48:20 +0100 Subject: Switch method naming to use simple name of args/return type --- src/main/resources/python/runtime/java/lang/Integer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/resources/python/runtime') diff --git a/src/main/resources/python/runtime/java/lang/Integer.py b/src/main/resources/python/runtime/java/lang/Integer.py index 8a55b33..4504cb1 100644 --- a/src/main/resources/python/runtime/java/lang/Integer.py +++ b/src/main/resources/python/runtime/java/lang/Integer.py @@ -1,12 +1,12 @@ class Integer(object): @staticmethod - def valueOf__int__java_lang_Integer(value): + def valueOf__int__Integer(value): return value def __init__(self, value): self._value = value - def equals__java_lang_Object__boolean(self, other): + def equals__Object__boolean(self, other): # TODO: test this properly return isinstance(other, Integer) and other._value == self._value -- cgit v1.2.3