Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Feb 19, 2023
1 parent a8d0f4a commit 9e1f090
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import javax.json.JsonObject;
import javax.json.JsonObjectBuilder;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.glsp.graph.GModelElement;
import org.openbpmn.bpmn.BPMNTypes;
import org.openbpmn.bpmn.elements.Event;
Expand All @@ -46,8 +44,6 @@
*/
public class ConditionalEventDefinitionExtension extends AbstractBPMNElementExtension {

private static Logger logger = LogManager.getLogger(DefaultBPMNSequenceFlowExtension.class);

@Override
public int getPriority() {
return 101;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

import javax.json.JsonObject;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.glsp.graph.GModelElement;
import org.openbpmn.bpmn.BPMNTypes;
import org.openbpmn.bpmn.elements.Event;
Expand All @@ -32,13 +30,12 @@
import org.openbpmn.glsp.jsonforms.UISchemaBuilder.Layout;

/**
* This is the Default BPMNEvent extension providing the JSONForms shemata.
* This is the Default BPMNEvent extension providing the JSONForms schemata.
*
* @author rsoika
*
*/
public class DefaultBPMNEventExtension extends AbstractBPMNElementExtension {
private static Logger logger = LogManager.getLogger(DefaultBPMNTaskExtension.class);

public DefaultBPMNEventExtension() {
super();
Expand Down Expand Up @@ -106,5 +103,4 @@ public void updatePropertiesData(final JsonObject json, final BPMNElement bpmnEl
bpmnElement.setDocumentation(json.getString("documentation"));

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

import javax.json.JsonObject;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.glsp.graph.GModelElement;
import org.openbpmn.bpmn.BPMNNS;
import org.openbpmn.bpmn.BPMNTypes;
Expand All @@ -33,15 +31,13 @@
import org.openbpmn.glsp.jsonforms.UISchemaBuilder.Layout;

/**
* This is the Default BPMNEvent extension providing the JSONForms shemata.
* This is the Default BPMNEvent extension providing the JSONForms schemata.
*
* @author rsoika
*
*/
public class DefaultBPMNTaskExtension extends AbstractBPMNElementExtension {

private static Logger logger = LogManager.getLogger(DefaultBPMNTaskExtension.class);

public DefaultBPMNTaskExtension() {
super();
}
Expand Down Expand Up @@ -105,9 +101,6 @@ public void buildPropertiesForm(final BPMNElement bpmnElement, final DataBuilder
addElements("scriptformat"). //
addElement("script", "Script", multilineOption); //
}

// update corresponding GModelElement....

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

import javax.json.JsonObject;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.glsp.graph.GModelElement;
import org.openbpmn.bpmn.BPMNTypes;
import org.openbpmn.bpmn.elements.TextAnnotation;
Expand All @@ -31,10 +29,6 @@
import org.openbpmn.glsp.jsonforms.SchemaBuilder;
import org.openbpmn.glsp.jsonforms.UISchemaBuilder;
import org.openbpmn.glsp.jsonforms.UISchemaBuilder.Layout;
import org.openbpmn.glsp.model.BPMNGModelFactory;
import org.openbpmn.glsp.model.BPMNGModelState;

import com.google.inject.Inject;

/**
* This is the Default TextAnnotation extension providing the JSONForms
Expand All @@ -44,10 +38,6 @@
*
*/
public class DefaultBPMNTextAnnotationExtension extends AbstractBPMNElementExtension {
private static Logger logger = LogManager.getLogger(BPMNGModelFactory.class);

@Inject
protected BPMNGModelState modelState;

public DefaultBPMNTextAnnotationExtension() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void buildPropertiesForm(final BPMNElement bpmnElement, final DataBuilder
/**
* This method updates the signalEventDefinitions. The method expects a
* dataList containing all conditions with its values (including the id).
* The method simply overwrites all csignalEventDefinitions.
* The method simply overwrites all signalEventDefinitions.
*
* @See addSignalEventDefinitions how we map between the signal name and its id.
*
Expand Down Expand Up @@ -181,7 +181,7 @@ public void updatePropertiesData(final JsonObject json, final BPMNElement bpmnEl
if (signal != null) {
eventDefinitionElement.setAttribute("signalRef", signal.getId());
} else {
// no signal defintion found - delete signalRef...
// no signal definition found - delete signalRef...
eventDefinitionElement.setAttribute("signalRef", "");
}
} catch (BPMNInvalidReferenceException | BPMNMissingElementException | BPMNInvalidTypeException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import javax.json.JsonObject;
import javax.json.JsonObjectBuilder;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.glsp.graph.GModelElement;
import org.openbpmn.bpmn.BPMNNS;
import org.openbpmn.bpmn.BPMNTypes;
Expand All @@ -50,8 +48,6 @@
*/
public class TimerEventDefinitionExtension extends AbstractBPMNElementExtension {

private static Logger logger = LogManager.getLogger(DefaultBPMNSequenceFlowExtension.class);

@Inject
protected BPMNGModelState modelState;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import javax.json.JsonObjectBuilder;

/**
* The DataBuilder can be used to define a data structure for JSONFOrms
* The DataBuilder can be used to define a data structure for JSONForms
* <p>
* The schema of the data is defined by the SchemaBuilder class.
* <p>
Expand Down

0 comments on commit 9e1f090

Please sign in to comment.