package sqlancer.common;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public final class DBMSCommon {

    private static final Pattern sqlancerIndexPattern = Pattern.compile("^i\\d+");

    private DBMSCommon() {
    }

    public static String createTableName(int nr) {
        return String.format("t%d", nr);
    }

    public static String createColumnName(int nr) {
        return String.format("c%d", nr);
    }

    public static String createIndexName(int nr) {
        return String.format("i%d", nr);
    }

    public static boolean matchesIndexName(String indexName) {
        Matcher matcher = sqlancerIndexPattern.matcher(indexName);
        return matcher.matches();
    }

}

@@ -150,36 +150,38 @@
 Pattern 
-sqlancerIndexPattern
+SQLANCER_INDEX_PATTERN
  = Patte
@@ -628,28 +628,30 @@
 r = 
-sqlancerIndexPattern
+SQLANCER_INDEX_PATTERN
 .mat

Use Java naming conventions for constants