remove unused local variables (#9781)
This commit is contained in:
parent
60528cd21b
commit
d51ad454a4
@ -146,7 +146,7 @@ public class ExternalConfigInfoPersistServiceImpl implements ConfigInfoPersistSe
|
||||
@Override
|
||||
public void addConfigInfo(final String srcIp, final String srcUser, final ConfigInfo configInfo,
|
||||
final Timestamp time, final Map<String, Object> configAdvanceInfo, final boolean notify) {
|
||||
boolean result = tjt.execute(status -> {
|
||||
tjt.execute(status -> {
|
||||
try {
|
||||
long configId = addConfigInfoAtomic(-1, srcIp, srcUser, configInfo, time, configAdvanceInfo);
|
||||
String configTags = configAdvanceInfo == null ? null : (String) configAdvanceInfo.get("config_tags");
|
||||
@ -474,7 +474,7 @@ public class ExternalConfigInfoPersistServiceImpl implements ConfigInfoPersistSe
|
||||
@Override
|
||||
public void updateConfigInfo(final ConfigInfo configInfo, final String srcIp, final String srcUser,
|
||||
final Timestamp time, final Map<String, Object> configAdvanceInfo, final boolean notify) {
|
||||
boolean result = tjt.execute(status -> {
|
||||
tjt.execute(status -> {
|
||||
try {
|
||||
ConfigInfo oldConfigInfo = findConfigInfo(configInfo.getDataId(), configInfo.getGroup(),
|
||||
configInfo.getTenant());
|
||||
|
@ -191,7 +191,7 @@ public class ExternalStoragePersistServiceImpl implements PersistService {
|
||||
@Override
|
||||
public void addConfigInfo(final String srcIp, final String srcUser, final ConfigInfo configInfo,
|
||||
final Timestamp time, final Map<String, Object> configAdvanceInfo, final boolean notify) {
|
||||
boolean result = tjt.execute(status -> {
|
||||
tjt.execute(status -> {
|
||||
try {
|
||||
long configId = addConfigInfoAtomic(-1, srcIp, srcUser, configInfo, time, configAdvanceInfo);
|
||||
String configTags = configAdvanceInfo == null ? null : (String) configAdvanceInfo.get("config_tags");
|
||||
@ -252,7 +252,7 @@ public class ExternalStoragePersistServiceImpl implements PersistService {
|
||||
@Override
|
||||
public void updateConfigInfo(final ConfigInfo configInfo, final String srcIp, final String srcUser,
|
||||
final Timestamp time, final Map<String, Object> configAdvanceInfo, final boolean notify) {
|
||||
boolean result = tjt.execute(status -> {
|
||||
tjt.execute(status -> {
|
||||
try {
|
||||
ConfigInfo oldConfigInfo = findConfigInfo(configInfo.getDataId(), configInfo.getGroup(),
|
||||
configInfo.getTenant());
|
||||
|
Loading…
Reference in New Issue
Block a user