WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.2% of users enabled 2FA.

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):
val = self._literal_decimal()
if isinstance(val, long):
lit = self._universe.new_big_integer(val)
lit = self._universe.new_biginteger(val)
else:
lit = self._universe.new_integer(val)
......
......@@ -12,7 +12,7 @@ from som.vmobjects.integer import Integer
from som.vmobjects.string import String
from som.vmobjects.block import Block
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
import som.compiler.sourcecode_compiler as sourcecode_compiler
......@@ -376,13 +376,13 @@ class Universe(object):
# Return the freshly allocated integer
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
result = BigInteger(self._nilObject)
result.set_class(self._bigintegerClass)
# 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 result
......
......@@ -5,8 +5,8 @@ class BigInteger(Object):
super(BigInteger, self).__init__(nilObject)
self._embedded_big_integer = None
def get_embedded_big_integer(self):
def get_embedded_biginteger(self):
return self._embedded_big_integer
def set_embedded_big_integer(self, value):
def set_embedded_biginteger(self, 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