yuluo-yx commented on code in PR #2595: URL: https://github.com/apache/hertzbeat/pull/2595#discussion_r1729877617
########## collector/src/main/java/org/apache/hertzbeat/collector/dispatch/unit/impl/DataSizeConvert.java: ########## @@ -17,57 +17,26 @@ package org.apache.hertzbeat.collector.dispatch.unit.impl; -import java.math.BigDecimal; -import java.math.RoundingMode; import lombok.extern.slf4j.Slf4j; import org.apache.hertzbeat.collector.dispatch.unit.DataUnit; -import org.apache.hertzbeat.collector.dispatch.unit.UnitConvert; import org.springframework.stereotype.Component; +import java.util.Arrays; +import java.util.Map; +import java.util.stream.Collectors; + /** * the convert of data size */ @Slf4j Review Comment: Maybe we can remove or add some logs? There's no log output here. -- 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]
