zuston commented on code in PR #2710:
URL: https://github.com/apache/uniffle/pull/2710#discussion_r2684934662
##########
client-spark/extension/src/main/scala/org/apache/spark/UniffleStatusStore.scala:
##########
@@ -196,13 +235,11 @@ case class ReassignInfoUIData(event:
TaskReassignInfoEvent) {
def id: String = classOf[ReassignInfoUIData].getName()
}
-sealed abstract class ShuffleType private ()
-object ShuffleType {
- val READ: ShuffleType = new ShuffleType {}
- val WRITE: ShuffleType = new ShuffleType {}
+object ShuffleType extends Enumeration {
+ val READ, WRITE = Value
Review Comment:
I try to ignore the spotbug check for this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]