diff options
author | Hockla, Ali (ah999m) <ah999m@att.com> | 2020-01-15 15:04:09 -0600 |
---|---|---|
committer | Hockla, Ali (ah999m) <ah999m@att.com> | 2020-01-16 10:05:19 -0600 |
commit | 25d3e43f27fb4d055af69c6934f3531fef115a02 (patch) | |
tree | 297d30eca5c5fa2095c7786cd52aca43f6f77eef /controlloop/m2/base/src/main | |
parent | 57fa6609eaac31098f468fde24a9300a38fca7ef (diff) |
policy/drools-apps jdk11 upgrades
Issue-ID: POLICY-1587
Change-Id: I02bef6c829f2f24954ae73fb0c540ab7198775ce
Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
Diffstat (limited to 'controlloop/m2/base/src/main')
-rw-r--r-- | controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Operation.java | 3 | ||||
-rw-r--r-- | controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Transaction.java | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Operation.java b/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Operation.java index 5ca62fa82..ec5ab8ef6 100644 --- a/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Operation.java +++ b/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Operation.java @@ -121,5 +121,6 @@ public interface Operation extends Serializable { * * @param histEntry the history entry for this particular operation */ - default void histEntryCompleted(ControlLoopOperation histEntry) {} + default void histEntryCompleted(ControlLoopOperation histEntry) { + } } diff --git a/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Transaction.java b/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Transaction.java index 65bff684d..e92f6a234 100644 --- a/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Transaction.java +++ b/controlloop/m2/base/src/main/java/org/onap/policy/m2/base/Transaction.java @@ -647,14 +647,16 @@ public class Transaction implements Serializable { * * @param transaction the transaction containing the adjunct */ - public default void init(Transaction transaction) {} + public default void init(Transaction transaction) { + } /** * Called for each adjunct when the transaction completes, and is * removed from Drools memory. Any adjunct-specific cleanup can be * done at this point (e.g. freeing locks). */ - public default void cleanup(Transaction transaction) {} + public default void cleanup(Transaction transaction) { + } } /** |