SonarQube quality corrections
This commit is contained in:
parent
31c3a37fb7
commit
84f799dba6
5 changed files with 12 additions and 5 deletions
|
|
@ -84,7 +84,9 @@ public class DeploymentAction extends VerticalLayout {
|
|||
topics = KafkaTopicConstants.RESPONSE_DEPLOY_TOPIC,groupId = "Console",
|
||||
containerFactory = "ruleKafkaListenerKieContainerUpdateFactory")
|
||||
public void updateKieServerLogInfo(KieContainerResponse kieContainerResponse){
|
||||
deploymentView.addRow("Deploy Response="+kieContainerResponse.toString(),getUI().get());
|
||||
if (getUI().isPresent()) {
|
||||
deploymentView.addRow("Deploy Response=" + kieContainerResponse.toString(), getUI().get());
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isActive(Button button){
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ import org.chtijbug.drools.logging.Fact;
|
|||
import org.chtijbug.drools.proxy.persistence.model.BusinessTransactionAction;
|
||||
import org.chtijbug.drools.proxy.persistence.model.BusinessTransactionPersistence;
|
||||
import org.chtijbug.drools.proxy.persistence.model.EventType;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.data.domain.PageRequest;
|
||||
import org.springframework.data.domain.Sort;
|
||||
|
||||
|
|
@ -29,6 +31,8 @@ import java.util.List;
|
|||
|
||||
public class ActionLoggingView extends VerticalLayout {
|
||||
|
||||
private static Logger logger = LoggerFactory.getLogger(ActionLoggingView.class);
|
||||
|
||||
private IndexerService indexerService;
|
||||
|
||||
private Label title;
|
||||
|
|
@ -141,7 +145,8 @@ public class ActionLoggingView extends VerticalLayout {
|
|||
return IOUtils.toInputStream(stringWriter.toString(), "UTF-8");
|
||||
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
logger.error("getInputStream.csvWriter",e);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue