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