scolebourne2002/10/13 05:56:42
Modified:collections/src/java/org/apache/commons/collections
ArrayStack.java
Log:
Enable nulls to be added to the stack
Add initial size constructor
Tidy javadoc and code layout
Revision ChangesPath
1.10
scolebourne2002/10/13 05:59:04
Modified:collections/src/java/org/apache/commons/collections
UnboundedFifoBuffer.java BoundedFifoBuffer.java
BinaryHeap.java
Log:
Tidy javadoc and code layout
Revision ChangesPath
1.5
scolebourne2002/10/12 14:59:45
Modified:collections/src/java/org/apache/commons/collections
CollectionUtils.java
Log:
Removed unused variable (patch from Steve Downey)
Revision ChangesPath
1.17 +8 -8
scolebourne2002/10/13 05:59:52
Modified:collections/src/test/org/apache/commons/collections
TestBinaryHeap.java
Log:
Use field access not method for testing
Revision ChangesPath
1.7 +5 -5
dmitri 2002/10/12 19:59:51
Modified:jxpath/src/test/org/apache/commons/jxpath TestFactory.java
Log:
Updated comment
Revision ChangesPath
1.6 +5 -6
jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/TestFactory.java
Index: TestFactory.java
The patch contains:
MapUtil#toMap(Object[]) - converts the array to a Map
MapUtil#asMap(Object[]) - wraps an ArrayMap around the array
MapUtil.ArrayMap- inner class for #asMap(Object[])
TestMapUtil#testToMap()
TestMapUtil#testAsMap()
Patch was applied:
diff -u -r1.13 MapUtils.java
Index: TestMapUtils.java
===
RCS file:
/home/cvspublic/jakarta-commons/collections/src/test/org/apache/
commons/collections/TestMapUtils.java,v
retrieving revision 1.1
diff -u -r1.1 TestMapUtils.java
--- TestMapUtils.java 13 Aug
dmitri 2002/10/12 13:57:44
Modified:jxpath/src/java/org/apache/commons/jxpath/util
ValueUtils.java
Log:
Fixed this bug: if called setValue with an xpath with an
index on a scalar property, the property would remain unchanged
without an error message.
scolebourne2002/10/13 04:17:57
Modified:collections/src/java/org/apache/commons/collections
StringStack.java
Log:
Deprecate in favour of StringUtils in [lang]
Revision ChangesPath
1.3 +9 -3
scolebourne2002/10/12 15:04:59
Modified:collections/src/java/org/apache/commons/collections
MultiHashMap.java
Log:
Removed unused variable (patch from Steve Downey)
Added class level javadoc
Revision ChangesPath
1.5 +15 -8
scolebourne2002/10/12 17:38:36
Modified:collections/src/java/org/apache/commons/collections
MapUtils.java BufferUtils.java ListUtils.java
CollectionUtils.java BagUtils.java SetUtils.java
Log:
Javadoc improvements, especially exception
StringStack is now deprecated as you propose.
Stephen
- Original Message -
From: John McNally [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 10:19 PM
Subject: [collections][lang] deprecate StringStack
This class is badly named
scolebourne2002/10/12 17:40:15
Modified:collections RELEASE-NOTES-2.1.html
Log:
Update to reflect most up to date set of changes for release
Revision ChangesPath
1.3 +93 -64jakarta-commons/collections/RELEASE-NOTES-2.1.html
Index: RELEASE-NOTES-2.1.html
dmitri 2002/10/12 20:01:03
Modified:jxpath/src/test/org/apache/commons/jxpath/ri/model/jdom
JDOMModelTest.java
jxpath/src/test/org/apache/commons/jxpath/ri/model/dom
DOMModelTest.java
Added:
Patch applied, thanks
Stephen
- Original Message -
From: Steve Downey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 6:43 PM
Subject: [collections][PATCH] CollectionUtils unused variable
In isSubCollection(), there is a List that's new'd but never used.
Patch applied, thanks
Stephen
- Original Message -
From: Steve Downey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 6:50 PM
Subject: [collections][PATCH]MultiHashMap unused variable
in the inner loop of values(), there's an assignment to a boolean that is
never
dmitri 2002/10/12 19:59:02
Modified:jxpath/src/java/org/apache/commons/jxpath/ri/axes
SimplePathInterpreter.java
jxpath/src/java/org/apache/commons/jxpath/ri/compiler
Path.java
dmitri 2002/10/12 20:01:18
Modified:jxpath project.xml build.xml
Log:
Renamed test classes for uniformity
Revision ChangesPath
1.7 +1 -4 jakarta-commons/jxpath/project.xml
Index: project.xml
scolebourne2002/10/12 15:15:21
Modified:collections/src/java/org/apache/commons/collections
MultiHashMap.java UniqueFilterIterator.java
IteratorEnumeration.java DoubleOrderedMap.java
FastTreeMap.java BagUtils.java
The checking that was in ArrayStack was insufficient anyway (you could get
around it). I've enabled nulls to be added to ArrayStack now.
Stephen
- Original Message -
From: Christopher Lenz [EMAIL PROTECTED]
why does ArrayStack refuse to push null elements on the stack (it throws
a
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12230.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13108.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
scolebourne2002/10/12 15:35:10
Added: collections/src/test/org/apache/commons/collections/comparators
TestAll.java
Log:
Add whole package testing class
Revision ChangesPath
1.1
scolebourne2002/10/12 15:36:24
Modified:collections/src/test/org/apache/commons/collections/primitives
TestAbstractIntArrayList.java
TestAbstractLongArrayList.java
TestLongArrayList.java TestFloatArrayList.java
By my examination, UFI was added after release 2.0. Thus I have deleted it
from the main package, so the patches are unnecessary.
Personally, I don't like UFI at all, as I think its a special case of a
FilterIterator with a Predicate. But as PredicateUtils isn't in
[collections] I can't argue.
On Friday 11 October 2002 07:49 pm, Henri Yandell wrote:
On Fri, 11 Oct 2002, Steve Downey wrote:
2) Mutable primitive classes. Pondered this at the hospital today. Do
we want such things? new MutableInteger(); mi.setValue(42); etc. Same
for MutableString.
I'm not so sure about
Index: MapUtils.java
===
RCS file:
/home/cvspublic/jakarta-commons/collections/src/java/org/apache/
commons/collections/MapUtils.java,v
retrieving revision 1.12
diff -u -r1.12 MapUtils.java
--- MapUtils.java 19 Aug 2002
From: [EMAIL PROTECTED]
LowercaseComparator (which should be called IgnoreCaseComparator) allows
you
to compare two strings, say Eric and eric and get back that they are
the
same. This is useful when you are sorting strings that are in multiple
types of case, and you don't care about the
Patch applied, thanks
Stephen
- Original Message -
From: Steve Downey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 6:22 PM
Subject: [PATCH][collections]import clean up
A lot of the collections classes import elements that are not actually used,
or are used
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13380.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Hi,
[Attached BreakTag.java]
BreakTag [ break if=condition/ ] tag allows one to
conditionally
break out of a script block without executing any
subsequent scripts within its parent .
The natural use is to break out of a foreach/ ,
while/ loop .
Break works in the context of any parent tag and
jstrachan2002/10/12 10:26:08
Modified:discovery/src/test/org/apache/commons/discovery/test
TestAll.java
Log:
Added another test case using the DiscoverClass mechanism directly
Revision ChangesPath
1.5 +16 -4
[collections] needs a release. The code appears to be in a releasable state
(I've done some tidying tonight of odds and ends).
We are currently lacking a Release Manager however. Does anyone fancy the
job ???
Stephen
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
See http://jakarta.apache.org/site/source.html for submissions details.
toMap(Object[]) is used to initialise a Map, such as a HashMap with data.
asMap(Object[]) exposes an array as a Map, thus can't have its size changed
toMap(Object[])
is the same as
map.putAll(MapUtils.asMap(Object[]));
dmitri 2002/10/12 21:17:16
Modified:jxpath project.xml project.properties
Log:
Fixed a problem with Maven build
Revision ChangesPath
1.8 +2 -2 jakarta-commons/jxpath/project.xml
Index: project.xml
scolebourne2002/10/12 16:25:27
Removed: collections/src/java/org/apache/commons/collections
UniqueFilterIterator.java
Log:
Remove as added after 2.0, and is now in subpackage
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
dmitri 2002/10/12 20:25:48
Modified:jxpath/src/test/org/apache/commons/jxpath
NestedTestBean.java JXPathTest.java
Log:
Incorporated test case from bug report 13380
Revision ChangesPath
1.4 +8 -4
Yes, this is precisely one of the advantages of DOM trees. You can easily
deal with backward or forward references to other elements. Backward
references are useful for lazy instantiation as you have mentioned.
At 15:56 11.10.2002 -0400, Jean-Francois Arcand wrote:
One interesting uses is to
dmitri 2002/10/12 13:56:03
Modified:jxpath/src/java/org/apache/commons/jxpath/ri/compiler
CoreFunction.java
Log:
Null() function will now return null
Revision ChangesPath
1.7 +5 -5
Please deprecate the StringStack class before the next release. It is
not a Stack implementation and is confusing as part of the collections
package.
john mcnally
On Sat, 2002-10-12 at 17:51, Stephen Colebourne wrote:
[collections] needs a release. The code appears to be in a releasable state
dmitri 2002/10/12 19:26:50
Modified:jxpath/src/java/org/apache/commons/jxpath/ri
JXPathContextReferenceImpl.java
Log:
Fixed this bug: setLenient(true) did not have the advertised effect in some cases
Revision ChangesPath
1.22 +19 -8
On Fri, 11 Oct 2002, Steve Downey wrote:
2) Mutable primitive classes. Pondered this at the hospital today. Do we
want such things? new MutableInteger(); mi.setValue(42); etc. Same for
MutableString.
I'm not so sure about Mutable value classes. I'd want to see a use case for
them
prickett2002/10/11 13:59:35
Added: periodicity/src/plugins-build/database/xdocs databases.xml
Log:
Added a xdoc file to document all the databases that will be supported
by Periodicity.
Revision ChangesPath
1.1
sullis 2002/10/13 10:57:10
Modified:lang/src/java/org/apache/commons/lang/exception
ExceptionUtils.java
Log:
made fix for bug id 13527
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13527
Revision ChangesPath
1.17 +3 -1
-Original Message-
From: Henri Yandell [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:14 PM
To: Jakarta Commons Developers List
Subject: [lang] Ideas for Lang
Here's my list of things I mean to get around to adding soon:
1) Notifier class. I need a better
morgand 2002/10/11 14:15:01
Modified:latka/src/java/org/apache/commons/latka/jelly
RequestTag.java ValidateTag.java
Log:
simplified request generation
Revision ChangesPath
1.7 +13 -12
sullis 2002/10/13 11:41:24
Modified:lang/src/test/org/apache/commons/lang/enum EnumTest.java
Log:
added test code for Map keySet size and List size
Revision ChangesPath
1.2 +13 -1
jakarta-commons/lang/src/test/org/apache/commons/lang/enum/EnumTest.java
sullis 2002/10/13 11:42:06
Modified:lang/src/test/org/apache/commons/lang/enum
ValuedEnumTest.java
Log:
added test code for Map keySet size and List size
Revision ChangesPath
1.2 +13 -1
sullis 2002/10/13 11:51:05
Modified:httpclient/xdocs status.xml
Log:
added Sean C. Sullivan
minor info updates
Revision ChangesPath
1.14 +5 -4 jakarta-commons/httpclient/xdocs/status.xml
Index: status.xml
sullis 2002/10/13 11:55:02
Modified:httpclient/xdocs index.xml
Log:
updated URL
Revision ChangesPath
1.5 +2 -2 jakarta-commons/httpclient/xdocs/index.xml
Index: index.xml
===
RCS file:
sullis 2002/10/13 11:57:10
Modified:httpclient/src/java/org/apache/commons/httpclient/methods/multipart
Part.java
Log:
added toString method
Revision ChangesPath
1.2 +8 -3
sullis 2002/10/13 12:01:05
Modified:httpclient/src/java/org/apache/commons/httpclient
HttpMethodBase.java
Log:
HashMap variables are now declared as java.util.Map
Revision ChangesPath
1.63 +6 -6
scolebourne2002/10/13 15:31:35
Modified:collections/src/java/org/apache/commons/collections
MapUtils.java
Log:
Javadoc improvement
Revision ChangesPath
1.14 +11 -7
scolebourne2002/10/13 15:42:06
Added: lang/src/java/org/apache/commons/lang ArrayUtils.java
Log:
Initial version of ArrayUtils, includes toMap
Revision ChangesPath
1.1
jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java
Index:
scolebourne2002/10/13 15:42:59
Modified:lang/src/test/org/apache/commons/lang LangTestSuite.java
Added: lang/src/test/org/apache/commons/lang ArrayUtilsTest.java
Log:
Initial version of ArrayUtils testing, testing incomplete at present
Revision ChangesPath
1.5
Life is never simpleI started applying the patch, but hit some problems
By comparison with the JDK, the method asList(Object[]) is on Arrays. Thus I
have applied the patch to ArrayUtils in [lang] instead of [collections].
toMap(Object[]) fitted fine.
When I looked at asMap(Object[]) I
I have taken a look at the patch. Unfortunately I can't use it at present
because it would involve changing the MultiMap interface. Once released, we
generally do not change interfaces.
Stephen
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October
I am now officially volunteering as release manager for the new collections
release. Henri Yandell has offerred to assist with the deployment.
The release plan is below.
The release notes are available on the CVS.
Please consider [collections] in freeze for release at present.
Please advise the
dion2002/10/13 18:55:38
Modified:betwixt/src/java/org/apache/commons/betwixt/io
AbstractBeanWriter.java
Log:
Add isDebugEnabled around some debug messages
Revision ChangesPath
1.6 +12 -8
Thanks for the offer! Contributions are always welcome and there is a lot
of information at the Jakarta site to help directly answer some of your
questions ( like how to contribute, patches, etc ). The current release
state of the net package is in process. The nightly builds are fine ( We
Hi,
I read a while ago something interesting about a JellyServlet...
I'll like to know if there has been some attempts of a Jelly Service for
Turbine (or Fulcrum),
that would work like VelocityService (ie: you request
localhost:8080/foo/servlet/foo/templates/index.jelly
and the service
Steve,
At 04:48 am 13-10-2002, you wrote:
On Friday 11 October 2002 07:49 pm, Henri Yandell wrote:
On Fri, 11 Oct 2002, Steve Downey wrote:
2) Mutable primitive classes. Pondered this at the hospital today. Do
we want such things? new MutableInteger(); mi.setValue(42); etc. Same
On Mon, 14 Oct 2002, John Yu wrote:
Steve,
An initial thought:
I suppose what you have in mind is MutableString extends java.util.String.
String is final. Same for all/most of the Immutable painful things.
4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice
Hi.
After having used a little time looking at the code of package
org.apache.commons.jxpath.ri.model, I have come to the following conclusion:
When taking into account that the only difference between a bean like
object and value-objects created by Castor, is that the later defines many
64 matches
Mail list logo