strongduanmu commented on a change in pull request #15067:
URL: https://github.com/apache/shardingsphere/pull/15067#discussion_r793210254
##########
File path:
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/algorithm/keygen/CosIdKeyGenerateAlgorithm.java
##########
@@ -20,57 +20,47 @@
import me.ahoo.cosid.CosId;
import me.ahoo.cosid.provider.IdGeneratorProvider;
import me.ahoo.cosid.provider.LazyIdGenerator;
-import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereInstanceRequiredAlgorithm;
-import org.apache.shardingsphere.infra.instance.InstanceContext;
import
org.apache.shardingsphere.sharding.algorithm.sharding.cosid.CosIdAlgorithm;
import org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm;
-import java.util.Optional;
import java.util.Properties;
/**
* CosId key generate algorithm.
*/
-public final class CosIdKeyGenerateAlgorithm implements KeyGenerateAlgorithm,
ShardingSphereInstanceRequiredAlgorithm {
-
+public final class CosIdKeyGenerateAlgorithm implements KeyGenerateAlgorithm {
+
public static final String TYPE = CosId.COSID.toUpperCase();
-
Review comment:
> @strongduanmu I'm sorry I didn't find the question about
indentation.Do you mean the indentation of empty lines?

@Ahoo-Wang Sorry, I was wrong, this is a requirement for `code
conduct`——Keep indents consistent with the previous one.
--
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]