diff --git a/RCT-Analyze/src/main/java/org/nesc/ecbd/service/rdbanalyze/TTLAnalyzer.java b/RCT-Analyze/src/main/java/org/nesc/ecbd/service/rdbanalyze/TTLAnalyzer.java index 46d18ae..7271a8d 100644 --- a/RCT-Analyze/src/main/java/org/nesc/ecbd/service/rdbanalyze/TTLAnalyzer.java +++ b/RCT-Analyze/src/main/java/org/nesc/ecbd/service/rdbanalyze/TTLAnalyzer.java @@ -95,7 +95,7 @@ public void execute(RDBAnalyzeInfo rdbAnalyzeInfo) { } else { for (int i = 0; i < keyPrefixSeparatorArray.length; i++) { if (key.indexOf(keyPrefixSeparatorArray[i]) != -1) { - prefix = key.substring(0, key.indexOf(keyPrefixSeparatorArray[i]+1)) + "*"; + prefix = key.substring(0, key.indexOf(keyPrefixSeparatorArray[i])+1) + "*"; flag = false; break; }