From 85bd436328bde7ac68e5465780113092abbdb064 Mon Sep 17 00:00:00 2001 From: "truman.p.du" <1753177225@qq.com> Date: Tue, 2 Apr 2019 17:00:30 +0800 Subject: [PATCH] fix bug fix bug --- .../main/java/org/nesc/ecbd/service/rdbanalyze/TTLAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }