Re: Util Dispersion

2002-02-25 Thread Henri Yandell
Nah, I'm just wanting to make the Util package import the Lang package :) Simple stuff I'm sure, just not something I've looked at yet. Or are you saying having something that only compiles XmlString if Lang package is available? On Mon, 25 Feb 2002, Lavandowska wrote: Christoph, I like your

Re: Util Dispersion

2002-02-25 Thread Henri Yandell
Just to confirm, I found the time to understand the way in which dependencies were handled and now Lang and Util are both ant compile and ant dist'ing for me. I plan to change the name of XmlUtils to xml.XmlStrings a bit later. On Mon, 25 Feb 2002, Henri Yandell wrote: Nah, I'm just wanting

Re: [lang] NumberRange contribution

2002-02-25 Thread Henri Yandell
Hi Christopher, Definitely seems worth including. I've got a math.Interval class I wrote to be a range of two doubles (while reading a lisp book) and was wondering if you'd think the following methods would do well in NumberRange: NumberRange add(NumberRange) NumberRange sub(NumberRange)

Re: [Commons] Testing sub-components

2002-02-26 Thread Henri Yandell
Leading to: Test: TestObject, TestSerialization, ... ??? On Tue, 26 Feb 2002, Daniel Rall wrote: Morgan Delagrange [EMAIL PROTECTED] writes: Right now, I'm not positive that there would be enough common operations to make it worthwhile, but I think it's worth considering. Perhaps:

Re: [Commons] Testing sub-components

2002-02-26 Thread Henri Yandell
On Tue, 26 Feb 2002, Morgan Delagrange wrote: Leading to: Test: TestObject, TestSerialization, ... ??? I'm not _positive_ what you mean here. I think you're implying that there be a Test component where all these tests live. I'm not sure that's a good idea; I think it's best if

Re: [COLLECTIONS] Collections 2.0 Release Digest (2/26/2002)

2002-02-26 Thread Henri Yandell
Poor communication on my part. Collections from the Commons UTIL package: Need to be integrated into Collections 2.0. Duplicates must be resolved. (IN PROGRESS?) This is done. It was an effect of adding a StringStack class and adding safeAddToMap method to MapUtils. Other duplicated

Re: [lang] NumberRange contribution

2002-02-27 Thread Henri Yandell
many copies), or to hard code in (or mandate) an external directory structure. I assume I'm missing something :) btw, $ANT_HOME/lib and adding it to my ant's localclasspath didn't help. Bay On Wed, 27 Feb 2002, Henri Yandell wrote: Commited. I'm with you on the JUnit error Christopher. I've had

Re: [lang] NumberRange contribution

2002-02-27 Thread Henri Yandell
Thanks Christopher, making a build.properties and changing that worked :) My apologies for my slowness. I'll get to work on making StringsTest stop failing now :) On Wed, 27 Feb 2002, Christopher Elkins wrote: On Wed, Feb 27, 2002 at 10:11:34PM -0500, Henri Yandell wrote: Took a second

Re: [COLLECTIONS] Comparator observations

2002-02-28 Thread Henri Yandell
On Thu, 28 Feb 2002, Morgan Delagrange wrote: First, I'm not sure all of these Comparators are generic enough to include in Collections. ComparableComparator and ReverseComparator seem to be right on. NumericStringComparator, PackageNameComparator, and UrlComparator seem too specific for

Re: [collections][patch] Remove redundant public modifiers frominterface methods

2002-02-28 Thread Henri Yandell
(and for Commons) it will be a bad thing. I'm -0 on it. Hen On Thu, 28 Feb 2002, Morgan Delagrange wrote: I'd prefer to not apply this patch. I also like having the public modifier, and being able to copy blocks of interface source code into abstract classes. - Original Message - From: Henri

Re: [collections][patch] Remove redundant public modifiers frominterface methods

2002-02-28 Thread Henri Yandell
On Thu, 28 Feb 2002, Michael A. Smith wrote: It is permitted, but strongly discouraged as a matter of style, to redundantly specify the public modifier for interface methods. It sounds like something that the Java Code Conventions document should be stressing too. Maybe send a comment to

Re: [COLLECTIONS] Comparator observations

2002-02-28 Thread Henri Yandell
Agreed. Should UrlComparator live with Url? The other two I guess are more Util stuff? Hard to package them. I solved it by having all my comparators in a compare pacakge. How about I just re-add UrlComparator and NumericStringComparator to Util for now, and we can go from there?

Re: [Lang/IO/? - Utils] Status request

2002-03-04 Thread Henri Yandell
I think all the classes in there have reached a stability in terms of location or content. codec.HexDump is the only exception I'm aware of. HexDump I plan to merge a class that handles ByteArray conversion into. Maybe a rename. On Mon, 4 Mar 2002, Lavandowska wrote: Apologies for being

Re: [OT] thoughts on Java pre processor

2002-03-05 Thread Henri Yandell
Because someone has to do it. How about a C# to bytecode compiler :) The opposite of MS' J# plugin for VisStudio. On Wed, 6 Mar 2002, James Strachan wrote: I was more thinking of should we try define a Java++ language but I take your point. James -- To unsubscribe, e-mail:

Re: [OT] thoughts on Java pre processor

2002-03-06 Thread Henri Yandell
Heard the argument before :) Too often Foo ends up being called 'Result' because there's actually no concept that the multiple returned list returns. OO involves designing with classes that map to domain concepts. When the domain concept uses the Java language as a domain and the concept is

Re: [collections] ReverseComparator

2002-03-19 Thread Henri Yandell
not can it? - Original Message - From: Henri Yandell [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 11:11 AM Subject: Re: [collections] ReverseComparator Functionality wise, I feel that Michael's proposed change is a negative

Re: The Comprehensive Java Archive Network

2002-04-02 Thread Henri Yandell
I noticed this yesterday Michael after wondering 'who really does own cjan.org'. Have you investigated the JJAR component with respect to cjan? [I've joined your mailing list and will attempt to slowly catch up on your docs etc. ] Hen On Tue, 2 Apr 2002, Michael Davey - Sun UK Support Engineer

Re: The Comprehensive Java Archive Network

2002-04-02 Thread Henri Yandell
and it's managed from there into each project via ant. Other internal jar's are placed into the JJAR from the projects via ant. Hen On Tue, 2 Apr 2002, Michael Davey - Sun UK Support Engineer wrote: Henri Yandell wrote: I noticed this yesterday Michael after wondering 'who really does own

Re: WeakHashSet collection

2002-04-13 Thread Henri Yandell
It sounds lke it fits the purpose, unless there is a way in Java 1.2 to emulate the functionality. Generally the way to submit a single class like this would be to send an email with [SUBMIT] WeakHashSet as the title, briefly describe the class and attach the source. The person who submits would

Re: Query String Parser

2002-04-15 Thread Henri Yandell
I don't believe so. I'd imagine the Tomcat project could easily donate one? Hen On Mon, 15 Apr 2002, Bob Lee wrote: Is there a class to parse/manipulate/create query strings in the Commons? Thanks, Bob -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: [JJAR] Status? Jar Repository?

2002-04-16 Thread Henri Yandell
Apparently. Are you asking where to put the jars? For now, I was putting them in jakarta.apache.org/jjar/ It's not really clear we want to dump them into CVS just yet. This is one of my consumer 'demands' or developer itches :) I want to set a jars repository as being cvs://some-dir,

Re: [PATCH sandbox-cli] new features added

2002-04-23 Thread Henri Yandell
Mines not in Jakarta, but if you're researching for features then it's at: http://www.generationjava.com/docs/GenJavaCore/docs0.4/com/generationjava/util/package-summary.html interface CArgs, classes AbstractCArgs, ArrayCArgs and MapCArgs. Hen On 23 Apr 2002, jbjk wrote: No problem. I'm

RE: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
Ignoring the 1.2 aims of Collections project, why not? :) New component-project: Absurd-things-with-proxies... On Tue, 23 Apr 2002, Jack, Paul wrote: Hehehehe...we *could* use dynamic proxy classes to provide one factory method that would work for all collections and maps... This isn't a

Re: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
What would a Predicate look like? We've passed an object in, so it must have the object being added (or removed/searched for etc???). So I'm guessing in Predicate(d)List we'll do some code kinda like: // uses ArrayList internally, can supply another type of List somehow. List list = new

Re: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
TransformedList class. Views? Stephen From: Henri Yandell [EMAIL PROTECTED] The first to jump to mind is PredicatedList. I think that the types should be similar, ie) PredicatedList/Predicate, ValidatedList/Validator. How about CheckedList/Check? :) Nice plain inglis. VerifiedList

RE: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
a config file that represent numbers could be converted to Integer objects as they are added. This could potentially be done as part of the same class, messing up the name. Or I could create a separate TransformedList class. Views? Stephen From: Henri Yandell [EMAIL PROTECTED

Re: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
The specification for List (and other collections) 'requests' that all implementations should have a constructor that takes in a Collection object (to do an addAll). I was respecting this by not confusing the constructors. Also, I may need constructors to do the simple instanceof check,

Re: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
To answer myself, very bad form. I imagine that we would have a MapFilter/Predicate and a CollectionFilter/Predicate. Separate structures. Maybe allowing an adaptor for Maps which could use Collections on keys or values. Hen On Tue, 23 Apr 2002, Henri Yandell wrote: or some such. I imagine

RE: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
On Tue, 23 Apr 2002, Henri Yandell wrote: I can commit my ProxyList/ProxyMap if desired :) I have ProxySet too. Ah, my cvs was out of date. Seems that ProxyList/ProxySet are all that are needed. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: [Collections][SUBMIT] TypedList

2002-04-23 Thread Henri Yandell
public interface CollectionFilter { public Object beforeAdd(Object obj, Collection coll); public Object beforeRemove(Object obj, Collection coll); public Object afterRemove(Object obj, Collection coll); } And same (ish) for Map? And then List/Set extend Collection filter and add

Re: [pool] PROPOSAL: add collecting of statistics to pool implementations

2002-04-26 Thread Henri Yandell
I'd say the reason for the coexistence is the same as for a lot of components that coexist between Avalon and Commons. Both projects have a similar mandate. Commons on a micro level, Avalon on a macro level. These different views seem to create a lot of internal disagreement between the two

RE: [PROPOSAL] Commons-API (was Re: [pool] PROPOSAL: add collectingof statistics to pool implementations)

2002-04-27 Thread Henri Yandell
On Sat, 27 Apr 2002, Paulo Gaspar wrote: And I don't give a shit about how it looks to the outside because: - This is not a commercial organization; - If we have a specific target audience, it is a technical one that makes a well informed choice... or they would be flocking

Re: [SANDBOX-CLI] Multiple value support added

2002-04-29 Thread Henri Yandell
On Mon, 29 Apr 2002, bob mcwhirter wrote: I think POSIX would argue that -buildfile is the '-b' option with an argument of 'uildfile'. Or possibly equiv to -b -u -i -l -d -f -i -l -e. I would agree, except that Sun seem happy to use the -buildfile style. Supporting both seems important to

Re: [SANDBOX-CLI] Multiple value support added

2002-04-29 Thread Henri Yandell
On Mon, 29 Apr 2002, bob mcwhirter wrote: I would agree, except that Sun seem happy to use the -buildfile style. Supporting both seems important to me. That's a slipperly slope though. We're all angered when Microsoft embraces and extends a technology or standard. I think we should

jakarta.apache.org/commons/components.html

2002-05-06 Thread Henri Yandell
How do I go about adding the new[ok old now] sandbox components to the webpage? And what's the policy on which ones get added? We have lots more in the sandbox than are currently on the page. I was hoping to add: io, net, codec and lang. Oh and servlet. Initially just pointing to the sandbox as

CLI Readme.txt out of date

2002-06-03 Thread Henri Yandell
Thought I'd just mention. The README.txt for CLI is out of date since it was mavenised. It makes no mention of needing maven [assuming it's not hidden inside it somehow] and 'ant doc' no longer exists. Hen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: [VOTE] new committer John Keyes

2002-06-06 Thread Henri Yandell
+1 On Thu, 6 Jun 2002, James Strachan wrote: I'd like to propose John Keyes [EMAIL PROTECTED] as a new committer on Jakarta-commons-sandbox as part of the CLI project. John has provided countless patches for fixes, new features, taking much code from his already existing Optz project and

Re: [VOTE] move CLI over to commons

2002-06-06 Thread Henri Yandell
I've some code I'm working on that I'd like to get in before a 1.0 release. Having to re-patch it to Commons rather than sandbox is a medium-level hassle. Depends how quickly you want to move it. Hen On Thu, 6 Jun 2002, James Strachan wrote: CLI is a Command Line Interface which combines

Re: [VOTE] move CLI over to commons

2002-06-06 Thread Henri Yandell
. Anyway, this might be considered to be a pile of crap, so let me know if you think so. Adding them to Commons rather than Sandbox shouldn't be a heavy issue, I just have to diff a few classes and c+p. Hen On Thu, 6 Jun 2002, Henri Yandell wrote: I've some code I'm working on that I'd like to get

Re: [VOTE] move CLI over to commons

2002-06-06 Thread Henri Yandell
Cool. I can drop my class with the classy name of 'ConvertUtil' :) On Thu, 6 Jun 2002, James Strachan wrote: Incidentally, the type conversion stuff could use ConvertUtils and the Converter interface of beanutils. It works pretty nicely and already can handle all the primitive types which

Re: [VOTE] move CLI over to commons

2002-06-06 Thread Henri Yandell
Strachan wrote: From: Henri Yandell [EMAIL PROTECTED] I've some code I'm working on that I'd like to get in before a 1.0 release. Having to re-patch it to Commons rather than sandbox is a medium-level hassle. Depends how quickly you want to move it. Its not urgent, so can wait. How long do you

[CLI] bad test format in project.xml

2002-06-06 Thread Henri Yandell
The pattern for the unit tests in the project.xml is **/Test*.java and yet most of the Tests are of the form [ClassName]Test.java so it misses these. I think this should change to: **/*Test*.java but as I'm not going to have time to fix any tests that aren't working right now, I don't think

Re: [CLI] bad test format in project.xml

2002-06-07 Thread Henri Yandell
On Fri, 7 Jun 2002, James Strachan wrote: Actually yesterday I changed the pattern to be *Test*.java in project.xml and all the tests worked... http://jakarta.apache.org/commons/sandbox/cli/junit-report.html Sorry, hadn't emailed about this yet. I subsequently realised I was on an older

Re: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamicallypick a method to call on a bean?

2002-06-07 Thread Henri Yandell
I don't think there is one in Commons yet. I've had one for myself for a bit and it can be a lifesaver sometimes. BeanComparator bc = new BeanComparator([1]); was very sweet when I realised that would work :) Not just Beans but also arrays/collections. I'm +1 for a BeanComparator, +1 in that I

Re: [GUMP] Build Failure - commons-cli

2002-06-07 Thread Henri Yandell
Not sure what the deal is here. I have: dependency idcommons-lang/id typerequired/type version0.1-dev/version /dependency in the project.xml, and maven is finding it for me. Then again it's there already cuz Maven needs it. I've tried switching it to 1.0-dev as that's

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamicallypick a method to call on a bean?

2002-06-07 Thread Henri Yandell
); return 0; } } } Eric Pugh -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 10:50 AM To: Jakarta Commons Developers List Subject: Re: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamicallypick a method to call on a bean?

2002-06-07 Thread Henri Yandell
and BeanMethodComparartor properly... I guess I was just kinda tossing it out as an example.. If there is interest in adding it to CVS, I will make the changes, change the package class and add licesnising etc Eric -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Friday, June

RE: [Collections] ComparableComparator - nulls OK

2002-06-07 Thread Henri Yandell
I'm +1 on sorting to the bottom. Would it harm for this to be a default? ie) no ClassCastException anymore? On Fri, 7 Jun 2002, Jonathan Carlson wrote: I can't think of a how nulls could be dropped. The Comparator API only allows for returning a -1, 0, or +1. But thanks for the support for

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Henri Yandell
Yeah, I'm not in favour of adding setComparator. I wasn't thinking clearly, think we've gone over that point before. On Mon, 10 Jun 2002, Michael A. Smith wrote: On Mon, 10 Jun 2002, Eric Pugh wrote: This way you can just daisy chain the decorators in one line.. Also, I was modeling it on

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamicallypick a method to call on a bean?

2002-06-10 Thread Henri Yandell
On Mon, 10 Jun 2002, Eric Pugh wrote: The other reason, and why I started down this path was the original big decimals: 2, 12, and 22, when compared as strings come out as 12, 2, 22! I still don't get this. Why are they compared as strings?? Is it if a Comparator isn't passed in the

[lang] NestableDelegateTestCase.java

2002-09-17 Thread Henri Yandell
I get the following when I try to 'ant test' [javac] /Users/hen/jakarta/src/jakarta-commons/lang/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java:1212: org.apache.commons.lang.exception.NonThrowableNestable should be declared abstract; it does not define

Re: [lang] NestableDelegateTestCase.java

2002-09-17 Thread Henri Yandell
Adding a /** * Prints the stack trace of this exception to the specified print * stream. Includes inforamation from the exception--if * any--which caused this exception. * * @param out codePrintStream/code to use for output. */ public void

Re: [lang][collections] ArrayUtils

2002-09-17 Thread Henri Yandell
Other ones I'd expect an ArrayUtils to consider: converting long[] to Long[] etc. Or ListLong. reversing an array. I think CollectionUtils currently has that. some kind of 'map' method? So I would do: ArrayUtils.map(array, function); where function was defined as [one of your Pattern

Re: [VOTE] James Turner as Committer for Validator

2002-09-18 Thread Henri Yandell
+1. On Wed, 18 Sep 2002, Craig R. McClanahan wrote: Commons Folks, I'd like to propose James Turner [EMAIL PROTECTED] as a committer on the Commons Validator project (and a new committer to Apache). He has taken the time to understand the Validator code base quite well, submitted many

RE: Release (1) Re: [lang] Added a couple of TODOs

2002-09-18 Thread Henri Yandell
them... -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 3:23 PM To: Jakarta Commons Developers List Subject: Release (1) Re: [lang] Added a couple of TODOs So number 1 on our list is: 1) Decide on what we want

Ste[vp]h?en? Was: Release

2002-09-18 Thread Henri Yandell
On Wed, 18 Sep 2002, Steve Downey wrote: It's Steve who's got the introspection itch. Steven will have to scratch his own itches. g As you may have noticed, I'm not using first names starting with S anymore. It hurts my head. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Next stage in release

2002-09-20 Thread Henri Yandell
them... -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:09 AM To: Jakarta Commons Developers List Subject: Next stage in release Okay, I'm figuring that 1 and 2 are done. 1) Decide on what we want to go and what

Re: Next stage in release

2002-09-20 Thread Henri Yandell
Do we want to have package.html's in each Lang package with documentation in etc? For Enum it would be nice to have an example of how to use the Enum. A generic description for Exceptions and Builder would be good too. Hen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

[lang] Re: Next stage in release

2002-09-20 Thread Henri Yandell
Apologies for my dropping the [lang]. I must've been in a late night doze when I started the thread. On Fri, 20 Sep 2002, Henri Yandell wrote: Do we want to have package.html's in each Lang package with documentation in etc? For Enum it would be nice to have an example of how to use

Re: [lang] Re: Next stage in release

2002-09-20 Thread Henri Yandell
I've added package.html's and the ignoring of the Test abstract and have regenerated the mavenised site. I used the ColorEnum as an example in the enum package.html, I hope that's a good example :) Hen On Fri, 20 Sep 2002, Henri Yandell wrote: Do we want to have package.html's in each

Re: [lang] Re: Next stage in release

2002-09-20 Thread Henri Yandell
be found. Hen On Sat, 21 Sep 2002, Henri Yandell wrote: I've added package.html's and the ignoring of the Test abstract and have regenerated the mavenised site. I used the ColorEnum as an example in the enum package.html, I hope that's a good example :) Hen On Fri, 20 Sep 2002, Henri

Re: [lang] ready for a release

2002-09-22 Thread Henri Yandell
, some people are willing to -1 without one.) - robert On Saturday, September 21, 2002, at 09:49 AM, Henri Yandell wrote: Seems we're ready for a release. Scott and the three Stev/phens sound like they're happy, so a majority. I too think we're ready to go. Once a release build is made

[VOTE] Commons Lang release 1.0

2002-09-22 Thread Henri Yandell
I'm proposing a vote for a 1.0 release of Commons Lang to be made. The difference from the b1 release may be seen at: http://www.generationjava.com/projects/vij/commons-lang.javadiff The changelog since then may be seen at:

Re: [commons] Reflection code

2002-09-22 Thread Henri Yandell
Sep 2002, Henri Yandell wrote: An idea someone gave me yesterday was: RandomBeanMaker. rbm = new RandomBeanMaker(); rbm.setMaker( new MyComplexNumberMaker() ); Person person = (Person)rbm.make(Person.class); or just: Person person = (Person)RandomBeanMaker.make(Person.class); if you

Re: Bugzilla Maintenance

2002-09-24 Thread Henri Yandell
Thanks Scott. On Tue, 24 Sep 2002, Scott Sanders wrote: After sending an email to root@nagoya, I found out that Craig is the annointed BugZilla guy for commons. Craig, would it be possible to get lang added as a component of the commons product? Thanks, Scott Sanders Perfection is

[lang] Enum query

2002-09-24 Thread Henri Yandell
Any reason why the Enum class doesn't overload its methods with versions that don't take the Class object? So getEnumList() in the Enum class would call getEnumMap(this.getClass()) etc. It would also help the fact that Enum doesn't have getEnum(String)/getEnumMap/getEnumList/iterator in its

Re: Next stage in release

2002-09-24 Thread Henri Yandell
On 24 Sep 2002, Daniel Rall wrote: http://www.generationjava.com/projects/vij/commons-lang.javadiff Also, I don't know how you produced diffs, but the diff provided by the GNU diffutils package has recursive capabilities: dlr@despot:lang$ alias dirdiff alias dirdiff='diff -drPN' I

Re: [VOTE] Commons Lang release 1.0

2002-09-24 Thread Henri Yandell
On 24 Sep 2002, Daniel Rall wrote: I've tagged CVS as LANG_1_0_RC1, and prepared distributions of [lang] in .zip and .tar.gz formats. I need Hen to `chmod -R g+w /www/jakarta.apache.org/builds/jakarta-commons/release/commons-lang` before I can move the files from my homedir on apache.org

Re: StringUtils.containsOnly

2002-09-25 Thread Henri Yandell
On Wed, 25 Sep 2002, Steve Downey wrote: containsOnly(null, anything) returns false. I could follow this on the grounds that a null string couldn't possibly contain any characters, so should fail. Still, I find the semantics confusing, since the same argument could be applied to

Re: cvs commit: jakarta-commons/lang RELEASE-NOTES.txt

2002-09-25 Thread Henri Yandell
Just what I was thinking. Well, amongst the embaressing sinking feeling that was :) On 25 Sep 2002, Daniel Rall wrote: Nice catch, that's what RC's are for. :) -- Daniel Rall [EMAIL PROTECTED] [EMAIL PROTECTED] writes: scolebourne2002/09/25 03:29:56 Modified:lang

Re: [lang] StringUtils.containsOnly

2002-09-26 Thread Henri Yandell
On Thu, 26 Sep 2002, Berin Loritsch wrote: Its probably a pity that we didn't agree a uniform approach to this, but its too late now. The priority is to document what we have correctly. Stephen I don't think this is a problem. The too late now. If we go from quiet-NPE it's a problem,

Re: [lang]Bug in StringUtils.deleteWhitespace()

2002-09-26 Thread Henri Yandell
Agreed. Need to change this to not use CharSetUtils probably and just return when Character.is.. returns true. My feckup I think. Want me to do the fix? Or you want to? Hen On Thu, 26 Sep 2002, Steve Downey wrote: On Thursday 26 September 2002 12:50 pm, Steve Downey wrote: OOPS meant

Re: [lang] StringUtils.containsOnly

2002-09-26 Thread Henri Yandell
On Thu, 26 Sep 2002, Berin Loritsch wrote: Steve Downey wrote: In any case, as I'm looking through right now, at least a few of the methods that claim not to thow NPEs, do. My point is not to remove the throwing of exceptions, but to throw an exception that is more meaningful. The

Re: [lang] StringUtils.containsOnly

2002-09-26 Thread Henri Yandell
On Thu, 26 Sep 2002, Steve Downey wrote: On Thursday 26 September 2002 02:02 pm, Henri Yandell wrote: I don't think this is a problem. The too late now. If we go from quiet-NPE it's a problem, but if we go from NPE-quiet behaviour then it's merely seen as strengthening the API, no one

Re: [lang] StringUtils.containsOnly

2002-09-26 Thread Henri Yandell
On Thu, 26 Sep 2002, Berin Loritsch wrote: Henri Yandell wrote: Didn't this come up before? Dunno, I wasn't paying attention. And large amounts of Java threw NPE instead of IAE in this case? That's a lemming argument if I ever heard it. All my friends are jumping off a cliff

RE: [beanutils] Question about BeanComparator

2002-09-26 Thread Henri Yandell
On Thu, 26 Sep 2002 [EMAIL PROTECTED] wrote: Where is ObjectComparator in terms of work? Should I use it, or just go with my own somewhat nasty SafeComparator filled with hardcoded assumptions?

Re: [lang]Bug in StringUtils.deleteWhitespace()

2002-09-26 Thread Henri Yandell
It's in, subject to Steve's approval. As is his javadoc patch. On 26 Sep 2002, Daniel Rall wrote: Let's get this change into the 1.0 final. Henri Yandell [EMAIL PROTECTED] writes: Agreed. Need to change this to not use CharSetUtils probably and just return when Character.is.. returns

Re: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Henri Yandell
I'd like to hold it off til after the release. Just add to the TODO and let it lie. Else we'll be doing this all over the place :) Mainly I just want to get the null/NPE/IAE thing agreed upon and then the main release pushed out. While we're an API project, so not quite like many other

Re: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Henri Yandell
Btw... can you not just use: StringUtils.defaultString(+obj) for now? On Fri, 27 Sep 2002, Steven Caswell wrote: I'd like to add the following methods to StringUtils: String defaultString(Object obj) - behaves the same as defaultString(String), invoking toString() on the obj to return the

Re: CharRange UNSET ?

2002-09-27 Thread Henri Yandell
Weird. I'd thought all values in Java were set to a defined value. Thought we got rid of the unassigned stuff with C. But I don't delve into the JVM and language spec enough so could be wrong very easily. Hen On 27 Sep 2002, Steve Downey wrote: CharRange uses an unassigned static character,

Re: CharRange UNSET ?

2002-09-27 Thread Henri Yandell
it. On Friday 27 September 2002 06:36 pm, Henri Yandell wrote: Weird. I'd thought all values in Java were set to a defined value. Thought we got rid of the unassigned stuff with C. But I don't delve into the JVM and language spec enough so could be wrong very easily. Hen On 27 Sep 2002, Steve

Re: [lang] RandomStringUtils javadoc patch

2002-09-29 Thread Henri Yandell
On Sat, 28 Sep 2002, Steve Downey wrote: Does : public static String random(int count, int start, int end, boolean letters, boolean numbers, char[] set) really need to be public? Odds of correct use seem to be pretty low. It's a nice as a shared implementation, but it doesn't look like

Re: CharRange UNSET ?

2002-09-29 Thread Henri Yandell
On Fri, 27 Sep 2002, Steve Downey wrote: OK the problem now is (and this is in no way a holdup, it's in the class of Doc it hurts when I do this) UNSET isn't a signalling value. 0 is a legitimate character. Now, you would have to construct a range of, e.g., Z-\u, which is silly. But

[lang] release status?

2002-09-29 Thread Henri Yandell
Steve Downey's been finding some issues with the RC, which I think are currently all applied or mentioned below. Are there any others out there currently? Steve, are you finished with your sweep, or more to go? 3 'issues' I'm aware of currently from Steve's sweep: 1) NullPointer/IAE/quiet

Re: [lang] [patch] Removal of unused imports

2002-09-29 Thread Henri Yandell
Thanks Fredrik, changes made. On Sun, 29 Sep 2002, Fredrik Westermarck wrote: Hi! Here is a patch where I have removed unused imports in o.a.c.lang. Regards, Fredrik Westermarck -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

[lang] ToStringBuilder test failing

2002-09-29 Thread Henri Yandell
Stephen, ToStringBuilder is failing its tests rather loudly. I assume it's linked to your change of ToStringStyle.DEFAULT_STYLE to getDefaultStyle. I've modified the code so that this.defaultStyle is initially ToStringStyle.DEFAULT_STYLE, but I wouldn't be stunned if this is the wrong thing to

Re: [lang] ToStringBuilder test failing

2002-09-29 Thread Henri Yandell
On Sun, 29 Sep 2002, Stephen Colebourne wrote: Once again, I'm clear for release. Suggest an RC2 with an explicit promote date 2 days later if no issues. Stephen I'm +1. What do you think Daniel? Care to make another RC? Hen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Bugzilla Maintenance

2002-10-01 Thread Henri Yandell
Yeah Martin, Could you add Commons Lang to Bugzilla? We've been dotting t's and crossing i's for a week or so since the vote to make a 1.0 release and getting onto Bugzill ais one of our last t's. Or i's. Hen On 30 Sep 2002, Martin van den Bemt wrote: FYI I am also a bugzilla admin.. Just

[lang] RC2 release

2002-10-01 Thread Henri Yandell
Things have been quiet, we all seem quite happy, but I think Daniel is quite busy. So I've made the RC2 that Stephen suggested below. One especially important thing to look for is the tar.gz and zip's formats. I made them on OS X and I know that OS X has trouble reading GNU tars, I don't know if

Re: [lang] RC2 release

2002-10-01 Thread Henri Yandell
And a url would really help here wouldn't it... http://jakarta.apache.org/builds/jakarta-commons/release/commons-lang/v1.0-rc2/ Hen On Tue, 1 Oct 2002, Henri Yandell wrote: Things have been quiet, we all seem quite happy, but I think Daniel is quite busy. So I've made the RC2

Re: HttpClient Permissions in /www/jakarta.apache.org/commons/httpclient

2002-10-03 Thread Henri Yandell
Would be good to add the g+w chmod to the webpage on doing releases. I don't know about Rodney, but I follow this webpage and always forget to g+w. Hen On Thu, 3 Oct 2002 [EMAIL PROTECTED] wrote: Rodney Waldhoff (if anyone can get hold of him), you've got the httpclient directory set up

[ANN] Commons Lang 1.0 Released!

2002-10-04 Thread Henri Yandell
of the methods have come from the 'util' sub-packages of existing Jakarta projects, most notably Avalon and Turbine, and many projects are already using Commons Lang. New methods and packages are already in discussion, so code and idea submissions are welcomed from all quarters. Henri Yandell

Re: [Lang] Was my message lost in the noise?

2002-10-10 Thread Henri Yandell
Hi Jon, I think we're in post-release party hangover mode. Am sure your reminder will help us pull people from under the tables and get thinking again :) Will try to look at it myself today. Hen On Thu, 10 Oct 2002, Jon Skeet wrote: Hi, A couple of days ago I submitted a message about

Re: [collections][lang] deprecate StringStack

2002-10-11 Thread Henri Yandell
On 10 Oct 2002, John McNally wrote: This class is badly named and I am not sure it belongs in collections. The original use of this class was to join sql fragments together to form a where clause or a list of columns, etc. So its class doc should be something like: This behavour is

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
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

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
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

Re: [lang] Ideas for Lang

2002-10-14 Thread Henri Yandell
On Mon, 14 Oct 2002, John Yu wrote: 4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice sometimes. I only have one because I was porting the lisp examples to Java from the lisp book [yep, i'm that sick]. Isn't o.a.c.collections.DefaultMapEntry, fulfilling

Re: [collection] MultiHashMap class improvements

2002-10-14 Thread Henri Yandell
STATUS.html :) We could even link to the mail archive... On Mon, 14 Oct 2002, Stephen Colebourne wrote: There looks to be interesting stuff here. If it gets forgotten over the coming weeks, please remind us ;-) Stephen - Original Message - From: Michael Davey [EMAIL PROTECTED]

[cli] nightly build

2002-10-16 Thread Henri Yandell
any reason not to have a nightly build of cli happening? apart from the fact that the build.xml is fubar'd, so it fails constantly. Options seem to be: generate an build.xml from maven put an old-style build.xml in place anyone know if the former will work with the nightly build? Hen -- To

Re: [cli] nightly build

2002-10-16 Thread Henri Yandell
, 2002-10-16 at 23:36, Henri Yandell wrote: any reason not to have a nightly build of cli happening? apart from the fact that the build.xml is fubar'd, so it fails constantly. Options seem to be: generate an build.xml from maven put an old-style build.xml in place anyone know

  1   2   3   4   5   6   7   8   9   10   >