Skip to content

Commit

Permalink
add Rule
Browse files Browse the repository at this point in the history
  • Loading branch information
xingfudeshi committed Feb 4, 2024
1 parent 18fbdd2 commit 2c58d81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
22 changes: 0 additions & 22 deletions compatible/src/main/java/io/seata/common/util/StringUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

import java.io.InputStream;
import java.util.Iterator;
import java.util.regex.Pattern;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* The type String utils.
Expand All @@ -31,24 +27,6 @@
*/
@Deprecated
public class StringUtils {

private static final Logger LOGGER = LoggerFactory.getLogger(org.apache.seata.common.util.StringUtils.class);
private static final Pattern CAMEL_PATTERN = Pattern.compile("[A-Z]");
private static final Pattern LINE_PATTERN = Pattern.compile("-(\\w)");

private StringUtils() {
}

/**
* empty string
*/
public static final String EMPTY = "";

/**
* Space string
*/
public static final String SPACE = " ";

/**
* Is empty boolean.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
*/
package io.seata.saga.statelang.validator;


/**
* Factorial class to get all rules.
*
*/
@Deprecated
public class RuleFactory extends org.apache.seata.saga.statelang.validator.RuleFactory {
public interface Rule extends org.apache.seata.saga.statelang.validator.Rule {
}

0 comments on commit 2c58d81

Please sign in to comment.