Skip to content

Commit 1310cb8

Browse files
Improve sonar report (#2584)
* Improve code. Fix auto_indent in Text Editor * Rename a variable
1 parent 8a8918a commit 1310cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/robotide/editor/texteditor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class DummyController(WithStepsController):
236236
filename = ""
237237

238238
def _init(self, data=None):
239-
self._data = data
239+
self.data = data
240240

241241
@staticmethod
242242
def get_local_variables():
@@ -247,7 +247,7 @@ def __eq__(self, other):
247247
return True
248248
if other.__class__ != self.__class__:
249249
return False
250-
return self._data == other.wrapper_data
250+
return self.data == other.data
251251

252252
def __hash__(self):
253253
return hash(repr(self))

0 commit comments

Comments
 (0)