Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
index 4a7ea3447d..0cf8666e95 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
@@ -26,10 +26,6 @@ public class GenericOrmDiscriminatorColumn extends AbstractOrmNamedColumn<XmlDis
protected DiscriminatorType defaultDiscriminatorType;
-// protected static final int DEFAULT_LENGTH_EDEFAULT = 31;
-
- protected Integer defaultLength;
-
protected Integer specifiedLength;
protected XmlEntity entity;
@@ -79,13 +75,7 @@ public class GenericOrmDiscriminatorColumn extends AbstractOrmNamedColumn<XmlDis
}
public Integer getDefaultLength() {
- return this.defaultLength;
- }
-
- protected void setDefaultLength(Integer newDefaultLength) {
- Integer oldDefaultLength = this.defaultLength;
- this.defaultLength = newDefaultLength;
- firePropertyChanged(DEFAULT_LENGTH_PROPERTY, oldDefaultLength, newDefaultLength);
+ return DiscriminatorColumn.DEFAULT_LENGTH;
}
public Integer getSpecifiedLength() {

Back to the top