Author: tfennelly
Date: 2010-01-30 10:09:06 -0500 (Sat, 30 Jan 2010)
New Revision: 20035
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5755
Invalid java binding connection warnings "Decoder is required"
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java 2010-01-30
14:37:31 UTC (rev 20034)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java 2010-01-30
15:09:06 UTC (rev 20035)
@@ -106,11 +106,7 @@
connection.setSeverity(IFieldMarker.TYPE_NONE);
continue;
}
- if (decoder == null) {
- connection.addMessage("Decoder is required.");
- connection.setSeverity(IFieldMarker.TYPE_WARINING);
- changed = true;
- } else {
+ if (decoder != null) {
if (!decoder.equals(defaultDecoder)) {
connection.addMessage("Decoder should be '" + defaultDecoder +
"'.");
connection.setSeverity(IFieldMarker.TYPE_WARINING);