Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2010-10-26 14:57:08 +0000
committerkmoore2010-10-26 14:57:08 +0000
commite77ee82ae43ad9eda8c8d032e4cf623d765d1511 (patch)
tree4f5d3f2225d78188f2e8e3a1e8601bc64ee00617 /jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java
parent703a5b3d5f794919d02f274fda250a76c430ab29 (diff)
downloadwebtools.dali-e77ee82ae43ad9eda8c8d032e4cf623d765d1511.tar.gz
webtools.dali-e77ee82ae43ad9eda8c8d032e4cf623d765d1511.tar.xz
webtools.dali-e77ee82ae43ad9eda8c8d032e4cf623d765d1511.zip
Created JaxbProject and JaxbPlatform, completed JaxbProjectManager
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java
index 4b645f3437..487a4bfb3c 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/platform/JaxbPlatformManagerImpl.java
@@ -164,10 +164,10 @@ public class JaxbPlatformManagerImpl
// default
String defaultString = element.getAttribute(DEFAULT_ATTRIBUTE);
if (defaultString != null) {
- if (defaultString.equals("true")) {
+ if (defaultString.equals("true")) { //$NON-NLS-1$
desc.setDefault(true);
}
- else if (defaultString.equals("false")) {
+ else if (defaultString.equals("false")) { //$NON-NLS-1$
desc.setDefault(false);
}
else {
@@ -247,7 +247,7 @@ public class JaxbPlatformManagerImpl
String jaxbPlatformId = JptCorePlugin.getJpaPlatformId(project);
JaxbPlatformDescriptionImpl platformDesc = this.platformDescriptions.getItem(jaxbPlatformId);
if (platformDesc == null) {
- throw new IllegalArgumentException("Project does not have a recognized JAXB platform.");
+ throw new IllegalArgumentException("Project does not have a recognized JAXB platform."); //$NON-NLS-1$
}
return platformDesc.buildJaxbPlatformDefinition();
}

Back to the top