Skip to content

Commit 5cafaae

Browse files
committed
2 parents b71b4e4 + 650e383 commit 5cafaae

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

src/jdmn/feel/lib/BaseFEELLib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ def ruleMatches(eventListener: EventListener, rule: Rule, *operands) -> bool:
10601060
return True
10611061

10621062
def valueOf(self, number: int) -> DECIMAL:
1063-
pass
1063+
raise NotImplementedError()
10641064

10651065
def intValue(self, number: DECIMAL) -> int:
1066-
pass
1066+
raise NotImplementedError()

src/jdmn/feel/lib/type/ComparableComparator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ def lessThan(self, first: comparable, second: comparable) -> BOOLEAN:
4040
])
4141

4242
def compareTo(self, first: comparable, second: comparable) -> int:
43-
pass
43+
raise NotImplementedError()

src/jdmn/feel/lib/type/EqualityComparator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class EqualityComparator:
1919
def equalTo(self, first: Any, second: Any) -> Optional[bool]:
20-
pass
20+
raise NotImplementedError()
2121

2222
def notEqualTo(self, first: Any, second: Any) -> Optional[bool]:
2323
return TernaryBooleanLogicUtil().not_(self.equalTo(first, second))

src/jdmn/feel/lib/type/RelationalComparator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
class RelationalComparator(EqualityComparator):
2020
def compare(self, first: Any, second: Any) -> int:
21-
pass
21+
raise NotImplementedError()
2222

2323
def lessThan(self, first: Any, second: Any) -> Optional[bool]:
24-
pass
24+
raise NotImplementedError()
2525

2626
def greaterThan(self, first: Any, second: Any) -> Optional[bool]:
2727
return self.lessThan(second, first)

src/jdmn/runtime/DMNDecision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
class DMNDecision:
1717
def applyRequest(self, input_: dict, executionContext_: ExecutionContext):
18-
pass
18+
raise NotImplementedError()

src/jdmn/runtime/DMNType.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
class DMNType():
1717
def toContext(self) -> Context:
18-
pass
18+
raise NotImplementedError()

src/jdmn/runtime/cache/Cache.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
class Cache:
1717
def contains(self, key: str) -> bool:
18-
pass
18+
raise NotImplementedError()
1919

2020
def bind(self, key: str, value: Any) -> None:
21-
pass
21+
raise NotImplementedError()
2222

2323
def lookup(self, key: str) -> Any:
24-
pass
24+
raise NotImplementedError()
2525

2626
def clear(self) -> None:
27-
pass
27+
raise NotImplementedError()

src/jdmn/runtime/external/ExternalFunctionExecutor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
class ExternalFunctionExecutor:
1717
def execute(self, className: str, methodName: str, args: List[Any]) -> Any:
18-
pass
18+
raise NotImplementedError()

src/jdmn/runtime/listener/EventListener.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919

2020
class EventListener:
2121
def startDRGElement(self, element: DRGElement, arguments: Arguments) -> None:
22-
pass
22+
raise NotImplementedError()
2323

2424
def endDRGElement(self, element: DRGElement, arguments: Arguments, output: Any, duration: int) -> None:
25-
pass
25+
raise NotImplementedError()
2626

2727
def startRule(self, element: DRGElement, rule: Rule) -> None:
28-
pass
28+
raise NotImplementedError()
2929

3030
def matchRule(self, element: DRGElement, rule: Rule) -> None:
31-
pass
31+
raise NotImplementedError()
3232

3333
def endRule(self, element: DRGElement, rule: Rule, result: Any) -> None:
34-
pass
34+
raise NotImplementedError()
3535

3636
def matchColumn(self, rule: Rule, columnIndex: int, result: Any) -> None:
37-
pass
37+
raise NotImplementedError()

src/jdmn/runtime/listener/LoggingEventListener.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ def endDRGElement(self, element: DRGElement, arguments: Arguments, output: Any,
2929
self.logger.info("End %s '%s' with output '%s' in %sms", element.elementKind.displayName, element.name, output, duration)
3030

3131
def startRule(self, element: DRGElement, rule: Rule) -> None:
32-
pass
32+
raise NotImplementedError()
3333

3434
def matchRule(self, element: DRGElement, rule: Rule) -> None:
35-
pass
35+
raise NotImplementedError()
3636

3737
def endRule(self, element: DRGElement, rule: Rule, output: Any) -> None:
3838
self.logger.debug("Rule %s fired with output '%s'", rule.index, output)

0 commit comments

Comments
 (0)