Fix sonar issues
[clamp.git] / ui-react / src / components / dialogs / LoopProperties.js
index dac7765..990fe77 100644 (file)
@@ -30,13 +30,12 @@ import LoopService from '../../api/LoopService';
 const ModalStyled = styled(Modal)`
        background-color: transparent;
 `
-
 export default class LoopProperties extends React.Component {
 
        state = {
                show: true,
                loopCache: this.props.loopCache,
-               temporaryPropertiesJson: JSON.parse(JSON.stringify(this.props.loopCache.getGlobalProperties())),
+               temporaryPropertiesJson: JSON.parse(JSON.stringify(this.props.loopCache.getGlobalProperties()))
        };
 
        constructor(props, context) {
@@ -45,7 +44,7 @@ export default class LoopProperties extends React.Component {
                this.handleClose = this.handleClose.bind(this);
                this.handleSave = this.handleSave.bind(this);
                this.handleChange = this.handleChange.bind(this);
-               
+
                this.renderDcaeParameters = this.renderDcaeParameters.bind(this);
                this.renderAllParameters = this.renderAllParameters.bind(this);
                this.getDcaeParameters = this.getDcaeParameters.bind(this);
@@ -54,8 +53,7 @@ export default class LoopProperties extends React.Component {
        componentWillReceiveProps(newProps) {
                this.setState({
                        loopCache: newProps.loopCache,
-                       temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties())),
-                       
+                       temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties()))
                });
        }
 
@@ -90,7 +88,7 @@ export default class LoopProperties extends React.Component {
                } else {
                        return "";
                }
-               
+
        }
 
        renderDcaeParameters() {