The purpose of this pull request is to update the OrderBook.java file to use the standalone RejectReason enum instead of referencing it through the Order class. This change is necessary to resolve a compilation error.
Description
The changes made in this pull request include:
Updating the import statement in OrderBook.java to use the standalone RejectReason enum.
Changing the usage of RejectReason in the onOrderRejected method to use the standalone enum instead of referencing it through the Order class.
Making a similar change in the Order.java file to ensure that the RejectReason enum is properly imported and used.
Summary
The key changes in this pull request are:
Updated OrderBook.java to use the standalone RejectReason enum
Updated Order.java to use the standalone RejectReason enum
Resolved a compilation error caused by the incorrect usage of RejectReason
Purpose
The purpose of this pull request is to update the
OrderBook.java
file to use the standaloneRejectReason
enum instead of referencing it through theOrder
class. This change is necessary to resolve a compilation error.Description
The changes made in this pull request include:
OrderBook.java
to use the standaloneRejectReason
enum.RejectReason
in theonOrderRejected
method to use the standalone enum instead of referencing it through theOrder
class.Order.java
file to ensure that theRejectReason
enum is properly imported and used.Summary
The key changes in this pull request are:
OrderBook.java
to use the standaloneRejectReason
enumOrder.java
to use the standaloneRejectReason
enumRejectReason
Fixes:
In pull request https://github.com/wwzeng1/CoralME/pull/11. Continue the conversation here: http://localhost:3000/c/973ae3bc-5bd9-4e6b-8597-84fb1a351cbe.
To have Sweep make further changes, please add a comment to this PR starting with "Sweep:".
:book: For more information on how to use Sweep, please read our documentation.