Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Fullbright2013-05-15 16:29:28 -0400
committerPaul Fullbright2013-05-15 16:29:28 -0400
commit16dfc3ace6419973df539984aa6714c7b5940fd0 (patch)
treef241d34c39755423a2b8f8b4bb78a0223a9c80b5
parent9c756c6c517789912ca931c9fcbc2e12eb94b852 (diff)
downloadwebtools.dali-201305152244.tar.gz
webtools.dali-201305152244.tar.xz
webtools.dali-201305152244.zip
Check for all blank strings before checking package name (Bug 408174)v201305152244
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlBindingsImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlBindingsImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlBindingsImpl.java
index 28e8aa3fb6..fc49308e90 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlBindingsImpl.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlBindingsImpl.java
@@ -243,7 +243,7 @@ public class OxmXmlBindingsImpl
protected String buildImpliedPackageName() {
for (OxmJavaType javaType : getJavaTypes()) {
String specifiedName = javaType.getSpecifiedName();
- String packageName = specifiedName == null ? null : TypeDeclarationTools.packageName(specifiedName);
+ String packageName = StringTools.isBlank(specifiedName) ? null : TypeDeclarationTools.packageName(specifiedName);
if (! StringTools.isBlank(packageName)) {
return packageName;
}

Back to the top