Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-11-28 03:16:23 -0500
committerMartin Taal2012-11-28 03:16:23 -0500
commit382e24d0dd474d370bac59840dc675b27d5d975d (patch)
tree5bf85e984a0ab7c624f93e63e328accba3d213e7
parent982a12efa701c21fa4048fd0196b8d9a17a5cb33 (diff)
downloadcdo-382e24d0dd474d370bac59840dc675b27d5d975d.tar.gz
cdo-382e24d0dd474d370bac59840dc675b27d5d975d.tar.xz
cdo-382e24d0dd474d370bac59840dc675b27d5d975d.zip
Hibernate: removed System.err, reformatted
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOPropertyGetter.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOPropertyGetter.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOPropertyGetter.java
index 49eab936d9..069e52e064 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOPropertyGetter.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOPropertyGetter.java
@@ -92,16 +92,15 @@ public class CDOPropertyGetter extends CDOPropertyHandler implements Getter
value = null;
}
}
-
+
// this happens when you don't set a value explicitly in CDO
- // then null is passed while the user may expect the default
+ // then null is passed while the user may expect the default
// value to be set.
- if (value == null && eFeature.isRequired()) {
+ if (value == null && eFeature.isRequired())
+ {
value = eFeature.getDefaultValue();
}
- System.err.println(value);
-
// hibernate sees eenums, CDO sees int
if (isEEnum && value != null)
{

Back to the top