summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-15 10:57:49 (EST)
committerKaren Butzke2012-11-15 10:58:29 (EST)
commitbd394a91909bc10d33eeb5ddcbf41feb9763c364 (patch)
tree458d8fa701a7ead994b7da8ab848ac5db8df786d
parent45afe1e41eb5f882c40138aba89bad5a79c859f3 (diff)
downloadwebtools.dali-bd394a91909bc10d33eeb5ddcbf41feb9763c364.zip
webtools.dali-bd394a91909bc10d33eeb5ddcbf41feb9763c364.tar.gz
webtools.dali-bd394a91909bc10d33eeb5ddcbf41feb9763c364.tar.bz2
cleaning up NLS warnings
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/SchemaGeneration.java27
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/context/orm/OrmEclipseLinkConvert.java2
2 files changed, 15 insertions, 14 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/SchemaGeneration.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/SchemaGeneration.java
index 5c26a32..69f21bb 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/SchemaGeneration.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/SchemaGeneration.java
@@ -14,46 +14,47 @@ import org.eclipse.jpt.jpa.core.context.persistence.PersistenceUnitProperties;
/**
* SchemaGeneration
*/
+@SuppressWarnings("nls")
public interface SchemaGeneration extends PersistenceUnitProperties
{
DdlGenerationType getDefaultDdlGenerationType();
DdlGenerationType getDdlGenerationType();
void setDdlGenerationType(DdlGenerationType ddlGenerationType);
- static final String DDL_GENERATION_TYPE_PROPERTY = "ddlGenerationType"; //$NON-NLS-1$
+ static final String DDL_GENERATION_TYPE_PROPERTY = "ddlGenerationType";
// EclipseLink key string
- static final String ECLIPSELINK_DDL_GENERATION_TYPE = "eclipselink.ddl-generation"; //$NON-NLS-1$
+ static final String ECLIPSELINK_DDL_GENERATION_TYPE = "eclipselink.ddl-generation";
static final DdlGenerationType DEFAULT_SCHEMA_GENERATION_DDL_GENERATION_TYPE = DdlGenerationType.none;
OutputMode getDefaultOutputMode();
OutputMode getOutputMode();
void setOutputMode(OutputMode outputMode); // put
- static final String OUTPUT_MODE_PROPERTY = "outputMode"; //$NON-NLS-1$
+ static final String OUTPUT_MODE_PROPERTY = "outputMode";
// EclipseLink key string
- static final String ECLIPSELINK_DDL_GENERATION_OUTPUT_MODE = "eclipselink.ddl-generation.output-mode"; //$NON-NLS-1$
+ static final String ECLIPSELINK_DDL_GENERATION_OUTPUT_MODE = "eclipselink.ddl-generation.output-mode";
static final OutputMode DEFAULT_SCHEMA_GENERATION_OUTPUT_MODE = null; // No Default
String getDefaultCreateFileName();
String getCreateFileName();
void setCreateFileName(String createFileName);
- static final String CREATE_FILE_NAME_PROPERTY = "createFileName"; //$NON-NLS-1$
+ static final String CREATE_FILE_NAME_PROPERTY = "createFileName";
// EclipseLink key string
- static final String ECLIPSELINK_CREATE_FILE_NAME = "eclipselink.create-ddl-jdbc-file-name"; //$NON-NLS-1$
- static final String DEFAULT_SCHEMA_GENERATION_CREATE_FILE_NAME = "createDDL.sql"; //$NON-NLS-1$
+ static final String ECLIPSELINK_CREATE_FILE_NAME = "eclipselink.create-ddl-jdbc-file-name";
+ static final String DEFAULT_SCHEMA_GENERATION_CREATE_FILE_NAME = "createDDL.sql";
String getDefaultDropFileName();
String getDropFileName();
void setDropFileName(String dropFileName);
- static final String DROP_FILE_NAME_PROPERTY = "dropFileName"; //$NON-NLS-1$
+ static final String DROP_FILE_NAME_PROPERTY = "dropFileName";
// EclipseLink key string
- static final String ECLIPSELINK_DROP_FILE_NAME = "eclipselink.drop-ddl-jdbc-file-name"; //$NON-NLS-1$
- static final String DEFAULT_SCHEMA_GENERATION_DROP_FILE_NAME = "dropDDL.sql"; //$NON-NLS-1$
+ static final String ECLIPSELINK_DROP_FILE_NAME = "eclipselink.drop-ddl-jdbc-file-name";
+ static final String DEFAULT_SCHEMA_GENERATION_DROP_FILE_NAME = "dropDDL.sql";
String getDefaultApplicationLocation();
String getApplicationLocation();
void setApplicationLocation(String applicationLocation);
- static final String APPLICATION_LOCATION_PROPERTY = "applicationLocation"; //$NON-NLS-1$
+ static final String APPLICATION_LOCATION_PROPERTY = "applicationLocation";
// EclipseLink key string
- static final String ECLIPSELINK_APPLICATION_LOCATION = "eclipselink.application-location"; //$NON-NLS-1$
- static final String DEFAULT_SCHEMA_GENERATION_APPLICATION_LOCATION = null; //$NON-NLS-1$
+ static final String ECLIPSELINK_APPLICATION_LOCATION = "eclipselink.application-location";
+ static final String DEFAULT_SCHEMA_GENERATION_APPLICATION_LOCATION = null;
}
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/context/orm/OrmEclipseLinkConvert.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/context/orm/OrmEclipseLinkConvert.java
index b08aaf2..b186b2d 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/context/orm/OrmEclipseLinkConvert.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/context/orm/OrmEclipseLinkConvert.java
@@ -87,7 +87,7 @@ public class OrmEclipseLinkConvert
}
public void initialize() {
- this.specifiedConverterName = DEFAULT_CONVERTER_NAME; //$NON-NLS-1$
+ this.specifiedConverterName = DEFAULT_CONVERTER_NAME;
this.getXmlConvertibleMapping().setConvert(this.specifiedConverterName);
}