diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-31 18:48:20 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-31 18:48:20 +0100 |
| commit | 4f42453c77772c62bc34c5efc4a410eb125cba77 (patch) | |
| tree | 3a5ffcbcda89bfb4ff2f1db99c3a048d6bd15583 /src/main/resources/python/runtime/java | |
| parent | 0ca0aaab2e2f38d25d96a9661ee95f33f9054467 (diff) | |
Switch method naming to use simple name of args/return type
Diffstat (limited to 'src/main/resources/python/runtime/java')
| -rw-r--r-- | src/main/resources/python/runtime/java/lang/Integer.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
