To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit afa029ef authored by Stefan Marr's avatar Stefan Marr
Browse files

Unify spelling of biginteger to not use underscore


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 5db981ff
...@@ -458,7 +458,7 @@ class Parser(object): ...@@ -458,7 +458,7 @@ class Parser(object):
val = self._literal_decimal() val = self._literal_decimal()
if isinstance(val, long): if isinstance(val, long):
lit = self._universe.new_big_integer(val) lit = self._universe.new_biginteger(val)
else: else:
lit = self._universe.new_integer(val) lit = self._universe.new_integer(val)
......
...@@ -12,7 +12,7 @@ from som.vmobjects.integer import Integer ...@@ -12,7 +12,7 @@ from som.vmobjects.integer import Integer
from som.vmobjects.string import String from som.vmobjects.string import String
from som.vmobjects.block import Block from som.vmobjects.block import Block
from som.vmobjects.frame import Frame from som.vmobjects.frame import Frame
from som.vmobjects.big_integer import BigInteger from som.vmobjects.biginteger import BigInteger
from som.vmobjects.double import Double from som.vmobjects.double import Double
import som.compiler.sourcecode_compiler as sourcecode_compiler import som.compiler.sourcecode_compiler as sourcecode_compiler
...@@ -376,13 +376,13 @@ class Universe(object): ...@@ -376,13 +376,13 @@ class Universe(object):
# Return the freshly allocated integer # Return the freshly allocated integer
return result return result
def new_big_integer(self, value): def new_biginteger(self, value):
# Allocate a new integer and set its class to be the integer class # Allocate a new integer and set its class to be the integer class
result = BigInteger(self._nilObject) result = BigInteger(self._nilObject)
result.set_class(self._bigintegerClass) result.set_class(self._bigintegerClass)
# Set the embedded integer of the newly allocated integer # Set the embedded integer of the newly allocated integer
result.set_embedded_big_integer(value) result.set_embedded_biginteger(value)
# Return the freshly allocated integer # Return the freshly allocated integer
return result return result
......
...@@ -5,8 +5,8 @@ class BigInteger(Object): ...@@ -5,8 +5,8 @@ class BigInteger(Object):
super(BigInteger, self).__init__(nilObject) super(BigInteger, self).__init__(nilObject)
self._embedded_big_integer = None self._embedded_big_integer = None
def get_embedded_big_integer(self): def get_embedded_biginteger(self):
return self._embedded_big_integer return self._embedded_big_integer
def set_embedded_big_integer(self, value): def set_embedded_biginteger(self, value):
self._embedded_big_integer = value self._embedded_big_integer = value
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment