summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-04-18 10:32:16 (EDT)
committerStephan Born2012-04-23 07:47:56 (EDT)
commit67936d2f0955a7bd9b6382ae733a080774b00f31 (patch)
tree7c45a4c73f70eb6ecddeed4814898c9734ee0996
parent433ac7a31a480d777754ce8b1cc21e369d3bc17f (diff)
downloadorg.eclipse.stardust.engine-67936d2f0955a7bd9b6382ae733a080774b00f31.zip
org.eclipse.stardust.engine-67936d2f0955a7bd9b6382ae733a080774b00f31.tar.gz
org.eclipse.stardust.engine-67936d2f0955a7bd9b6382ae733a080774b00f31.tar.bz2
Jira-ID: CRNT-23937
Date Time related function is interrupting MTA activity git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@55596 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/common/reflect/Reflect.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/common/reflect/Reflect.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/common/reflect/Reflect.java
index 4bc3090..f724e90 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/common/reflect/Reflect.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/common/reflect/Reflect.java
@@ -1253,6 +1253,10 @@ public class Reflect
{
result = new Double(((Number) value).doubleValue());
}
+ else if ((value instanceof Long) && (targetType.equals(java.util.Date.class)))
+ {
+ result = new Date((Long) value);
+ }
else
{
throw new InvalidValueException(