Commit Graph

299 Commits

Author SHA1 Message Date
Mark Pollack 4e2aaf7934 SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 05:16:55 +00:00
Mark Pollack b5e25453d2 pom maintenance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Keith Donald ed497bfa50 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1951 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 05:51:10 +00:00
Keith Donald fad7b691bf refined generic converter concept
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Juergen Hoeller 456eb6a616 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1833 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:59 +00:00
Andy Clement d38e94dbaa SpelExpressionParser made threadsafe
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1817 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-03 20:09:11 +00:00
Juergen Hoeller a521abefcc updated dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:25:54 +00:00
Juergen Hoeller a331c5336c revised wrapper type handling
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1724 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 06:36:16 +00:00
Juergen Hoeller c09bdf02de revised core conversion package for BeanWrapper/BeanFactory integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1722 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 00:52:41 +00:00
Mark Pollack 2f66da5293 SPR-5976 - Upgrade POMS to JUnit 4.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Arjen Poutsma 6b93dec28f Updating POMs to contain Junit & EasyMock version numbers. Apparently, the maven ant tasks cannot resolve our parent pom.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1674 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-03 09:21:44 +00:00
Andy Clement 7be642e5ec per Ramnivas' suggestion, removing this bit to try and fix snapshot builds
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 22:03:09 +00:00
Chris Beams b33d28d6cf updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 07:26:31 +00:00
Keith Donald b81e7bb81b ignore failing test for now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-12 18:32:26 +00:00
Andy Clement b69e7893a2 better method name
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1515 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:44:40 +00:00
Andy Clement 41133bed8b for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1514 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:43:50 +00:00
Andy Clement 4b94f3b381 for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1513 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 19:43:37 +00:00
Mark Pollack ead546b2f2 SPR-5803 and additional POM maintenance/development
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1503 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-09 19:38:07 +00:00
Andy Clement 38327100d6 SPR-5905: support for inner type references in type references 'T(com.foo.A$B)' or in ctor calls 'new com.foo.A$B()'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1484 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 17:24:58 +00:00
Andy Clement 79b4a2cbed SPR-5847: require quotes for dotted map key names, eg. map['a.b.c']
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1483 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 16:32:56 +00:00
Andy Clement f6ab00e72a SPR-5804: problems with map access if it is the root object; SPR-5847: alternative map referencing strategies: a.b == a[b] == a['b']
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1482 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 16:08:10 +00:00
Andy Clement 3150681307 SPR-5899: Invoking methods or constructors passing null (including varargs support)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1478 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:21:26 +00:00
Andy Clement 4662a320d0 SPR-5518: textual alternatives for operators (eq, lt, le, gt, ge, ne, div, mod, not) - removes messy escaping for expressions declared in XML.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1476 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 18:53:48 +00:00
Sam Brannen 887f8b3c10 [SPR-5887] Upgraded to JUnit 4.6.0.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-02 18:07:55 +00:00
Andy Clement a2e961de94 support for concatenation with String via operator '+' - for Ramnivas.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1452 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-30 19:19:07 +00:00
Keith Donald 9bc48d08a1 el-based message resolution; expected failure right now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1376 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 17:18:12 +00:00
Andy Clement 8bd39785e9 change from SpelMessages to SpelMessage. Changed exception getter to getMessageCode() from getMessageUnformatted
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1355 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 16:17:44 +00:00
Andy Clement 1e2cecfd76 new feature for binder - automatically create lists and entries in lists upon referencing nulls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1300 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:42:43 +00:00
Andy Clement dd30ab4237 updates for Binding code - able to retrieve the type descriptor for a property and ask detailed questions (eg getAnnotations())
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1296 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 00:25:59 +00:00
Andy Clement 3d35a43433 test coverage. now > 95%
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1271 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:59:32 +00:00
Andy Clement bdb2b0bbb1 test coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1270 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:37:17 +00:00
Andy Clement 3c402eb54c findbugs issue addressed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1269 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:22:53 +00:00
Andy Clement d359b1e98b fix for ternary or elvis using a full expression for their result components. parser polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1268 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 19:16:45 +00:00
Andy Clement 533fc879ff remove antlr dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1263 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:38:36 +00:00
Andy Clement 42155480b0 Hand written SpEL parser. Removed antlr dependency. tests upgraded to JUnit4 - 93% coverage.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1260 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:20:18 +00:00
Keith Donald fc41ed0073 renamed back to TypeDescriptor after ConversionContext proved not good enough name for any change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1240 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-23 21:23:10 +00:00
Keith Donald 05ae07ed98 costin code review comments
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1210 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:13:34 +00:00
Keith Donald e8dc69f11c fixed autoboxing bug
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1205 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 02:22:02 +00:00
Keith Donald 2d8cc2df46 commented out failing el test for now - todo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1194 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 21:34:11 +00:00
Keith Donald c9c26c6c6c BindingPoint to ConversionPoint, javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1192 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 20:32:23 +00:00
Keith Donald a2f085d87c renamed TypeDescriptor to BindingPoint
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1190 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 17:30:03 +00:00
Juergen Hoeller 612ae0653d quick attempt to fix core.convert breakage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1181 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 11:35:41 +00:00
Juergen Hoeller 11450f1fdb updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:43:15 +00:00
Keith Donald 62f87abbba added two way converter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1148 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:40:55 +00:00
Keith Donald 81b3f77455 renamed executeConversion to simply convert for readibility
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1147 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:25:33 +00:00
Keith Donald 453bed1e9b made ConversionExecutor internal; removed other unused operations from public SPI
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1145 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 21:23:18 +00:00
Andy Clement 95ea243026 SPR-5663: test and fix: inconsistency between canRead() and read() on ReflectivePropertyResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1052 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:57:24 +00:00
Andy Clement 2bc6cb756c SPR-5673: fix for problems with expressions that use the same symbols as are used in the template prefix/suffix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1045 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 00:10:47 +00:00
Andy Clement 93ded6edf7 minor fix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1014 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-17 05:02:05 +00:00
Andy Clement 511c082cb6 removed unnecessary class. improvements to map projection/selection
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1013 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-16 19:21:50 +00:00
Andy Clement fd8220dea0 changed to [] from {} for projection and selection (including first and last selection). addresses the problem of clashes with template prefix/suffix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1007 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 23:54:52 +00:00
Thomas Risberg 8fe2a89d43 switched to use XInclude
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-14 21:37:40 +00:00
Andy Clement 3e60a76e6b SPR-5673: more intelligence in TemplateAwareExpressionParser. Supports prefix/suffix escaping and nesting of prefixes/suffixes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1000 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-14 21:26:56 +00:00
Andy Clement dce025e40f more tests - about 82% coverage now. focused on testing reflection helper since it is rather complex. some asserts also added.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@989 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-13 20:51:52 +00:00
Andy Clement 8a980b8364 More tests. First pass on messages review.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@979 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-12 16:45:00 +00:00
Keith Donald 64de1981a3 made conversion service pluggable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@975 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 20:52:16 +00:00
Keith Donald 8df73198f6 activated DefaultConversionService in EL, linking convert and EL
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@974 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 20:47:04 +00:00
Andy Clement 073b1556ce Fixed StandardTypeLocator to only know about java.lang.* out of the box. Doc fixes related to that.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@967 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 03:20:09 +00:00
Andy Clement b46afe7e39 finally some comparator logic that makes sense :)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@966 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 02:21:25 +00:00
Andy Clement 75d26cdb9d More tests, corrections in standard comparator, more helper methods in StandardEvaluationContext.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@965 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 00:03:53 +00:00
Andy Clement 9f5676a4b1 more tests, minor fixes. some findbugs issues addressed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@963 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 22:03:38 +00:00
Andy Clement f899a72e1c Changed signature of convertValue() to keep the Sun compiler happy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@960 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 16:00:53 +00:00
Mark Pollack 5f3ac321cb Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@959 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 14:38:35 +00:00
Andy Clement cfa9cdf035 More tests and some fixes. Also created tests based on the documentation examples.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 01:43:07 +00:00
Andy Clement 29d27f3687 Removed unnecessary code. Increased test coverage from 70>75% - still some way to go
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@946 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-08 04:50:43 +00:00
Andy Clement a6fa167d5e Corrected exception message inserts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@945 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-08 04:49:47 +00:00
Andy Clement 0374aacec1 Improving test coverage, more language consistency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@931 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 19:04:04 +00:00
Andy Clement 7cc791ae9e More test coverage for the expression AST
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@927 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-04 01:04:31 +00:00
Andy Clement 5eb884a7db objects flowing around in expression evaluation are now TypedValue's - these carry generics info, used for conversions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@925 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 23:39:14 +00:00
Mark Pollack 9feacc0375 Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@919 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 14:03:48 +00:00
Andy Clement 2fb46e48c0 design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@914 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 23:27:49 +00:00
Andy Clement 877603f49c new packages added
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@912 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 21:47:35 +00:00
Andy Clement c289840f9a initial typeDescriptor awareness in the EL. some basic testing of using GenericConversionService
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@911 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 21:38:51 +00:00
Andy Clement 78c1d085d5 Indexed objects (arrays/maps/lists) now settable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@879 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 19:40:20 +00:00
Andy Clement ec411f271b Indexed objects (arrays/maps/lists) now settable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@878 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 19:40:09 +00:00
Mark Pollack f17f9ef0f5 POM maintenance
Place parent pom in publicly accessible directory (org.sf.spring-parent).  
Create a component list pom in org.sf.spring-library.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@868 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-29 09:56:38 +00:00
Mark Pollack 6ac7a300c8 Fix SPEL tests when using maven. With the maven test runner expression.spel.SetValueTests is run before expression.spel.EvaluationTests. The order is reversed in eclipse/spring-build. Static variables are modifed in SetValueTests that cause EvaluationTests to fail if it is run first. Make a simple fix so SetValueTests uses a local evaluation context variable instead of a static variable.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@848 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 16:05:38 +00:00
Keith Donald 0a06a95d68 set value tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@813 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 19:55:39 +00:00
Mark Pollack 4f514aac1e SPR-5385, SPR-5301 - partial work committed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@811 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 05:56:56 +00:00
Keith Donald 199f6943d1 pruned bean references support as it was not used
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@809 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 21:33:15 +00:00
Juergen Hoeller b9f25bc30b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:49 +00:00
Chris Beams ec7ffc0f99 * Updated Eclipse classpath metadata
* Fixed (or suppressed as necessary) JSP errors in petclinic

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 03:09:59 +00:00
Juergen Hoeller 905c8fe509 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@625 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:11:03 +00:00
Juergen Hoeller 793bf07941 revised expression parser API design
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:03:58 +00:00
Andy Clement 559d321b50 remove files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@396 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-13 01:38:21 +00:00
Andy Clement 4236dc7743 new files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@395 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-13 01:36:48 +00:00
Andy Clement a0a95ca5b7 Refactored package structure and made some getValue() methods generic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@390 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-12 23:07:08 +00:00
Juergen Hoeller e016a80f63 fixed javadoc errors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@347 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-28 13:56:30 +00:00
Juergen Hoeller f388e47598 consistent compilation against Servlet 2.5, JSP 2.1 and JUnit 4.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@345 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 21:49:10 +00:00
Juergen Hoeller a0dfb69aaa Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@341 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 00:27:52 +00:00
Juergen Hoeller 4909f4ce69 fixed test source configuration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@340 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 00:26:21 +00:00
Costin Leau 311a162c15 + fix import for org.antlr package versions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@335 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-26 09:56:50 +00:00
Costin Leau e8b4d0bd2b + migrated some manifest template changed from 2.5.x to 3.0.x
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@334 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-25 22:20:53 +00:00
Juergen Hoeller 0b0163e026 Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@331 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-25 01:29:54 +00:00
Juergen Hoeller a5253bec7f EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@305 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 02:10:53 +00:00
Arjen Poutsma 1e7f22bf9d Updated projects and ivy.xmls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@291 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-17 15:09:17 +00:00
Andy Clement 5519df3491 map access tests added
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@105 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-17 16:20:40 +00:00
Andy Clement 6fa37bf29b removing: initializers/processors/in operator
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@104 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-17 15:23:15 +00:00
Andy Clement f497d6af62 renamed operator IS to INSTANCEOF, may yet delete..
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@103 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-16 17:20:03 +00:00
Andy Clement 0000c6f260 bean references removed, no more @(context:beanname)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@102 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-16 17:13:31 +00:00
Andy Clement 3f1ba9d2a5 removed lambda functions, local function and local variable references
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@101 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-16 17:00:16 +00:00
Andy Clement 44927db29a date literal removed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@100 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-16 16:50:00 +00:00
Andy Clement 51f2b59ea4 Changed so that existing getters/setters are used before direct field access is attempted
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@99 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-16 00:00:06 +00:00
Andy Clement 39c262e5a0 Removing functionality. Removed expression list support, cannot say (foo();bar()) any more
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@98 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 21:55:11 +00:00
Andy Clement 3f75a45b23 Removing functionality. Removed soundslike/distanceto/like operators
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@97 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 21:43:38 +00:00
Andy Clement 10d45b2001 Final commit before the great 'stripdown'. Used clover to determine coverage and added tests as necessary.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@96 50f2f4bb-b051-0410-bef5-90022cba6387
2008-09-15 20:14:36 +00:00
Andy Clement 5cdeaa9644 added test and behaviour for calling a java method with incorrect number of arguments
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@95 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:43:17 +00:00
Andy Clement 2d4e2685e9 fixed up FunctionReference a bit - so it can call varargs methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@94 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:36:25 +00:00
Andy Clement 7694700a33 new function invocation tests for normal and error behaviour
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@93 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:36:00 +00:00
Andy Clement c034d6b840 changed vis of arg conversion code so function calls can use it
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@92 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:35:21 +00:00
Andy Clement 5550af651c fixed damage caused by code formatter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@91 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 22:34:33 +00:00
Andy Clement 9295e94878 added support for Integer > Float conversion.
Moved some tests from EvaluationTests into OperatorTests.
Fleshed out OperatorTests to verify type promotions for mixed type operands.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@90 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 17:54:01 +00:00
Andy Clement 1502732dd2 more tests relating to reals
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@89 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 17:06:24 +00:00
Andy Clement 8945a27045 more discussion points
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@88 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:23:52 +00:00
Andy Clement 109e906896 code formatter chewed on it
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@87 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:23:39 +00:00
Andy Clement 946f0c80e8 corrected TODO
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@86 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:23:13 +00:00
Andy Clement d57863038b corrected use of AccessException (no longer used in ReflectionUtils)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@85 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:22:36 +00:00
Andy Clement 67bcc88a13 moved TODOs to readme
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@84 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:22:09 +00:00
Andy Clement e28d4e8a11 moved test into ParserErrorMessageTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@83 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:45 +00:00
Andy Clement f75701fbba modified Date tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@82 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:21 +00:00
Andy Clement b093042c05 Made GMT the default Locale...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@81 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:21:00 +00:00
Andy Clement 5d1dc65a19 added new TODO that the impl isn't as complete as it could be
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@80 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:20:38 +00:00
Andy Clement 32159ff2c2 started fixing the formatting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@79 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-18 00:20:16 +00:00
Andy Clement de965b88ea starting to sort out like/matches. Matches is the java regex related one. Like is the SQL related one. But the spring .net 'like' doesn't seem to be the same as the SQL doc I found for like...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@78 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:42:06 +00:00
Andy Clement c7be5092e1 moved some TODOs into readme
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@77 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:28:37 +00:00
Andy Clement edeeda1f24 improved javadoc, error handling and testing of matches
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@76 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:28:26 +00:00
Andy Clement 18b42bb979 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@75 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:59 +00:00
Andy Clement 07076642a3 fixing error handling in 'is' operator
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@74 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:45 +00:00
Andy Clement e470453868 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@73 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:27:18 +00:00
Andy Clement e76963cc17 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@72 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:59 +00:00
Andy Clement 7caea5719e fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@71 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:45 +00:00
Andy Clement f8867eb950 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@70 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:26:11 +00:00
Andy Clement ac3011be70 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@69 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:57 +00:00
Andy Clement e1d71a30fd fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@68 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:43 +00:00
Andy Clement 6fa7cc5f92 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@67 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-17 01:25:19 +00:00
Andy Clement ee04b819b6 javadoc for StandardTypeLocator and moved some TODOs to the readme
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@66 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 18:31:31 +00:00
Andy Clement 4be7f7dc87 remove java.awt as a default import in the StandardTypeLocator
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@65 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 18:21:03 +00:00
Andy Clement daa2c97913 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@64 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:57:46 +00:00
Andy Clement d062fc4479 moved some TODOs out into here
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@63 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:57:31 +00:00
Andy Clement 4a4acb7038 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@62 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:57:13 +00:00
Andy Clement 83432fc14d fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@61 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:58 +00:00
Andy Clement 9092ab9d90 fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@60 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:43 +00:00
Andy Clement 7ea18e23ab fixing TODOs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@59 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:29 +00:00
Andy Clement bc38f8cd66 added support for long[] in stringValueOf() - plus an error reported if the type passed in is not supported
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@58 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:56:16 +00:00
Andy Clement 8e3e4979fd fixed to not throw classcastexception if condition doesnt evaluate to boolean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@57 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:45:18 +00:00
Andy Clement 592672ce1b removed some unused code, improved doc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@56 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:44:42 +00:00
Andy Clement e739b83214 correcting TODO
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@55 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:44:12 +00:00
Andy Clement a17ab6cfaf fixed some tests that will now break because int/long can be treated as boolean. May need to change again if real numbers get the same treatment.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@54 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:43:51 +00:00
Andy Clement f9f6e8cf21 new tests for ternary - checking conversion of numbers to boolean and correct error when condition result not convertable to boolean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@53 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:43:15 +00:00
Andy Clement 8daeb8b200 removed redundant test - there is no non-optimal reflection accessor to test now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@52 50f2f4bb-b051-0410-bef5-90022cba6387
2008-08-16 01:42:39 +00:00