Jacques Le Roux
a26929f6b8
Correct indentation for r1126379
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126399 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 09:10:57 +00:00
Jacques Le Roux
7e900f23b3
A patch from Philippe Mouawad "UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException" https://issues.apache.org/jira/browse/OFBIZ-4290
...
UtilCache#getPropertyParam should call res.containsKey instead of relying on catching MissingResourceException, which will reduce number of Exceptions created so CPU.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126379 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 08:33:42 +00:00
Marco Risaliti
c4c446369c
Webpos2 improved version (OFBIZ-4287)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:11:17 +00:00
Jacques Le Roux
2653806a87
Fixes some other forgotten formatting issues in previous commit (r1100130). And Mostly removes an useless duplicated snippet
...
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268
Patch that creates the Map only when it is required>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100138 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:53:52 +00:00
Jacques Le Roux
cc7ee5ea71
Fixes some forgotten formatting issues in previous commit (r1100127). Due to tabs in patch.
...
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268
Patch that creates the Map only when it is required>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100130 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:23:43 +00:00
Jacques Le Roux
9516b43bc7
A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268
...
Patch that creates the Map only when it is required
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100127 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:17:17 +00:00
Adrian Crum
f635a84fcb
Small code cleanup in Base64.java - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097824 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:46:18 +00:00
Sascha Rodekamp
fb880c80a1
Update - i18n from DateTime display fields ( https://issues.apache.org/jira/browse/OFBIZ-4014 ). Ofbiz can now show and interprete i18n dates and times. The Patch uses the datejs library to i18n the displayd date and time fields from the datepicker this works vice versa.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090231 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 13:05:42 +00:00
Andrew Zeneski
4d3223d2cc
added fall back to default date formatter when conversion fails before
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089946 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:27:53 +00:00
Adrian Crum
3855697825
Moved nested class in Start.java to its own file - no functional change. This commit changes the StartupLoader API.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085757 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 16:29:15 +00:00
Erwan de Ferrieres
ddea2b9136
OFBIZ-4220 a patch from Philippe Mouawad: Current implementation of UtilCache has a memory leak if maxInMemory is set
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084732 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 20:44:17 +00:00
Adrian Crum
397889ae8f
Some work on ContainerLoader.java - Fixes some thread-safe issues and try to have better control over loading/starting/stopping containers.
...
I'm not sure what the Geronimo code was supposed to do. It appeared to load all of the containers just so it could create/start the rmi-dispatcher container. So, I created a static method that allows client code to get a specific container. If this change causes problems with Geronimo just let me know and I will fix it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084238 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 16:22:54 +00:00
Adrian Crum
c0ae7cfde6
More Container.java JavaDocs - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 14:51:46 +00:00
Adrian Crum
e1acc655ee
Reordered code in ContainerLoader.java - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084043 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:47:32 +00:00
Adrian Crum
99807645a9
Container.java JavaDocs - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:14:11 +00:00
Adrian Crum
1d3c353252
Some bug fixes and improvements to ComponentContainer.java and Classpath.java:
...
1. <classpath type="dir" .../> did not add jar files to the classpath. That has been fixed.
2. <classpath type="dir" .../> that contained an invalid path was added to the classpath anyway. That has been fixed.
3. Added ability to load native libraries (*.dll, *.so).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083554 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 20:02:48 +00:00
Marco Risaliti
bdcca6ed53
Remove some unused warning in ComparableRangeTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078297 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:03:27 +00:00
Marco Risaliti
135ba2cf46
Remove some warning as unchecked "temporary" in JdbmSerializer/JdbmRecordManager (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:39:12 +00:00
Marco Risaliti
fe1e4da289
Remove some warning in MiscTests change the class JSONResult (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078216 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:35:03 +00:00
Marco Risaliti
a6079463c2
Remove some warning in TTLObject (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:29:42 +00:00
Marco Risaliti
db713a6fe5
Remove some warning in MapComparator (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078209 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:15:45 +00:00
Marco Risaliti
d0bc649190
Remove some warning in ReadOnlyMapEntry (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078207 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:14:51 +00:00
Marco Risaliti
6fc064992e
Remove some warning in GenericMapEntrySet (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078206 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:13:49 +00:00
Marco Risaliti
7cd0c46514
Remove some warning in GenericMapValues (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078204 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:12:45 +00:00
Marco Risaliti
d112488267
Remove some warning in GenericMapSet (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078203 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:11:42 +00:00
Marco Risaliti
8e34065a12
Remove some warning in GenericMapEntry (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:10:49 +00:00
Marco Risaliti
44eb5d9d3c
Remove some warning in GenericMap (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078201 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:09:34 +00:00
Marco Risaliti
6bf3683a17
Remove some warning in MapContext (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078198 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:02:44 +00:00
Marco Risaliti
f85548aad6
Remove some unused variables in ReferenceCleanerTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078197 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:01:00 +00:00
Marco Risaliti
c30e1abdb2
Remove some warning in ComponentContainer (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078169 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 22:08:25 +00:00
Marco Risaliti
f855d8895a
Remove some warning in StringUtilTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078137 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:21:48 +00:00
Marco Risaliti
af845b9dab
Remove some warning in JSONTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076835 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 22:15:32 +00:00
Marco Risaliti
2672c664a3
Remove some warning in FreeMarkerWorker (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076832 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 22:11:34 +00:00
Marco Risaliti
fae9ef56a1
Remove some warning in UtilObjectTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076830 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 22:11:21 +00:00
Marco Risaliti
93971045ec
Remove some warning in TTLObject (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076822 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 21:56:49 +00:00
Marco Risaliti
bd8c7ccc7b
Remove a warning in JSONWriter (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076819 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 21:44:27 +00:00
Adrian Crum
c060f87151
Implemented a new feature: hot-deploy components can load containers. Just put the hot-deploy-containers.xml file in your component's config folder (or anywhere on the classpath) and it will used. The xml file's schema is the same as framework/base/config/ofbiz-containers.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076529 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 05:21:20 +00:00
Adrian Crum
8418f75e2c
Small code cleanup in container loader code.
...
Small functional change: ContainerConfig.getContainers(String configFile) used to return ALL loaded containers, not just the ones in configFile. This commit fixes that - now the method returns only the containers found in the specified file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076469 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 00:34:49 +00:00
Marco Risaliti
b08c94cab2
Remove a warning in DependencyPoolTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076442 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:33:54 +00:00
Marco Risaliti
8fa630870a
Remove unused variable in TTLObjectTest (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076440 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:30:17 +00:00
Marco Risaliti
78255405f5
Remove some warning in GenericTestCaseBase (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076439 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:28:02 +00:00
Marco Risaliti
5d53fe63fb
Remove some warning in StringUtil (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:43 +00:00
Marco Risaliti
fe74e744fb
Remove some warning in UtilMisc (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076428 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:28 +00:00
Marco Risaliti
f55a81a86d
Remove some warning in UtilHttp (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076427 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:07 +00:00
Marco Risaliti
0b6d48faa6
Remove a warning in UtilGenerics (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076422 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:01:16 +00:00
Marco Risaliti
2249639ac1
Remove some warning in UtilCache (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076419 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:54:02 +00:00
Marco Risaliti
b1266e64b3
Remove some warning in UtilCacheTests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076413 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:49:33 +00:00
Marco Risaliti
04f9e16356
Remove some warning in UtilPlist (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076407 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:46:14 +00:00
Marco Risaliti
fe88b86001
Remove a warning in UtilO (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076397 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:36:14 +00:00
Marco Risaliti
0a733c0896
Remove a warning in FlexibleServletAccessor (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:31:49 +00:00