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",
|
topics = KafkaTopicConstants.RESPONSE_DEPLOY_TOPIC,groupId = "Console",
|
||||||
containerFactory = "ruleKafkaListenerKieContainerUpdateFactory")
|
containerFactory = "ruleKafkaListenerKieContainerUpdateFactory")
|
||||||
public void updateKieServerLogInfo(KieContainerResponse kieContainerResponse){
|
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){
|
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.BusinessTransactionAction;
|
||||||
import org.chtijbug.drools.proxy.persistence.model.BusinessTransactionPersistence;
|
import org.chtijbug.drools.proxy.persistence.model.BusinessTransactionPersistence;
|
||||||
import org.chtijbug.drools.proxy.persistence.model.EventType;
|
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.PageRequest;
|
||||||
import org.springframework.data.domain.Sort;
|
import org.springframework.data.domain.Sort;
|
||||||
|
|
||||||
|
|
@ -29,6 +31,8 @@ import java.util.List;
|
||||||
|
|
||||||
public class ActionLoggingView extends VerticalLayout {
|
public class ActionLoggingView extends VerticalLayout {
|
||||||
|
|
||||||
|
private static Logger logger = LoggerFactory.getLogger(ActionLoggingView.class);
|
||||||
|
|
||||||
private IndexerService indexerService;
|
private IndexerService indexerService;
|
||||||
|
|
||||||
private Label title;
|
private Label title;
|
||||||
|
|
@ -141,7 +145,8 @@ public class ActionLoggingView extends VerticalLayout {
|
||||||
return IOUtils.toInputStream(stringWriter.toString(), "UTF-8");
|
return IOUtils.toInputStream(stringWriter.toString(), "UTF-8");
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
logger.error("getInputStream.csvWriter",e);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</facet>
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
||||||
<output url="file://$MODULE_DIR$/target/classes" />
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<configuration />
|
<configuration />
|
||||||
</facet>
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
||||||
<output url="file://$MODULE_DIR$/target/classes" />
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</facet>
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
||||||
<output url="file://$MODULE_DIR$/target/classes" />
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue