Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Jastram2012-02-07 16:18:19 +0000
committerMichael Jastram2012-02-07 16:21:51 +0000
commite49fb66282f18050a85b74aa2cddb781ab379705 (patch)
treeab0d2b04e2f7cfd49e8626310f7df3335f04f219 /org.eclipse.rmf.rif11.xsd.model
parent575cd271b8b52ab3b4a11a902c4ca90af94e0ad7 (diff)
downloadorg.eclipse.rmf-e49fb66282f18050a85b74aa2cddb781ab379705.tar.gz
org.eclipse.rmf-e49fb66282f18050a85b74aa2cddb781ab379705.tar.xz
org.eclipse.rmf-e49fb66282f18050a85b74aa2cddb781ab379705.zip
Changed the code to use Java 1.5 instead of 1.6
Diffstat (limited to 'org.eclipse.rmf.rif11.xsd.model')
-rw-r--r--org.eclipse.rmf.rif11.xsd.model/.classpath2
-rw-r--r--org.eclipse.rmf.rif11.xsd.model/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.rmf.rif11.xsd.model/src/org/eclipse/rmf/rif11/xsd/util/RifResourceImpl.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.rmf.rif11.xsd.model/.classpath b/org.eclipse.rmf.rif11.xsd.model/.classpath
index 121e527a..304e8618 100644
--- a/org.eclipse.rmf.rif11.xsd.model/.classpath
+++ b/org.eclipse.rmf.rif11.xsd.model/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/org.eclipse.rmf.rif11.xsd.model/META-INF/MANIFEST.MF b/org.eclipse.rmf.rif11.xsd.model/META-INF/MANIFEST.MF
index ce587edb..d1f44985 100644
--- a/org.eclipse.rmf.rif11.xsd.model/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.rif11.xsd.model/META-INF/MANIFEST.MF
@@ -6,7 +6,7 @@ Bundle-Version: 0.1.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.rmf.rif11.xhtml,
org.eclipse.rmf.rif11.xhtml.impl,
org.eclipse.rmf.rif11.xhtml.util,
diff --git a/org.eclipse.rmf.rif11.xsd.model/src/org/eclipse/rmf/rif11/xsd/util/RifResourceImpl.java b/org.eclipse.rmf.rif11.xsd.model/src/org/eclipse/rmf/rif11/xsd/util/RifResourceImpl.java
index 2e8ebeff..bb1886ab 100644
--- a/org.eclipse.rmf.rif11.xsd.model/src/org/eclipse/rmf/rif11/xsd/util/RifResourceImpl.java
+++ b/org.eclipse.rmf.rif11.xsd.model/src/org/eclipse/rmf/rif11/xsd/util/RifResourceImpl.java
@@ -62,7 +62,7 @@ public class RifResourceImpl extends XMLResourceImpl {
@Override
public String getURI(String prefix) {
- if (prefix != null && prefix.isEmpty())
+ if (prefix != null && prefix.length() == 0)
return RifPackage.eNS_URI;
else
return super.getURI(prefix);

Back to the top