svn commit: r931773 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r931773 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

lektran
Author: lektran
Date: Thu Apr  8 04:08:44 2010
New Revision: 931773

URL: http://svn.apache.org/viewvc?rev=931773&view=rev
Log:
Remove some unnecessary casts

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java?rev=931773&r1=931772&r2=931773&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java Thu Apr  8 04:08:44 2010
@@ -96,8 +96,8 @@ public class JavaMailContainer implement
 
         this.delegator = DelegatorFactory.getDelegator(delegatorName);
         this.dispatcher = GenericDispatcher.getLocalDispatcher(dispatcherName, delegator);
-        this.timerDelay = (long) ContainerConfig.getPropertyValue(cfg, "poll-delay", 300000);
-        this.maxSize = (long) ContainerConfig.getPropertyValue(cfg, "maxSize", 1000000); // maximum size in bytes
+        this.timerDelay = ContainerConfig.getPropertyValue(cfg, "poll-delay", 300000);
+        this.maxSize = ContainerConfig.getPropertyValue(cfg, "maxSize", 1000000); // maximum size in bytes
 
         // load the userLogin object
         String runAsUser = ContainerConfig.getPropertyValue(cfg, "run-as-user", "system");