Hi Oliver,
Oliver Heger wrote:
> I plan to write an article about the changes in the new Lang version for
> a German Magazine and would like to quote some statistics about the
> usage of this library to stress its importance.
>
> Can you point me somewhere where to find such figures? For instanc
>> 1) how can we stage a site to vote?
>> 2) how do we create tags in svn (mvn release:prepare is too much,
>> since its also staging build artifacts)
>
> No it doesn't. Here's what release:prepare does:
> http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html
Thanks De
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Commons Wiki" for
change notification.
The "UsingNexus" page has been changed by ChristianGrobmeier.
The comment on this change is: switches from manual tagging to release:prepare.
http://wiki.apache.org/commons/UsingNexus?a
On Sun, Aug 8, 2010 at 11:39 PM, sebb wrote:
> IMO the tests are now less stringent, e.g. they no longer distinguish
> leading string parameters from varargs when calling
> StringUtils.startsWithAny.
>
And, neither would the user's code. We're using the code exactly as
the user would be. If we
On Sun, Aug 8, 2010 at 10:04 PM, sebb wrote:
>
> Yes.
>
> But the current change makes it harder to find errors.
>
> Previously, the compiler would warn about unsafe casts; with the
> current implementation the warnings are suppressed.
> IMO this is a retrograde step.
>
> I expect generic library
On 9 August 2010 04:08, James Carman wrote:
> On Sun, Aug 8, 2010 at 10:51 PM, sebb wrote:
>>
>> Although the compiler changes varargs into String[] arrays, the two
>> tests are not equivalent.
>>
>> Using varargs exclusively can hide bugs.
>>
>> For example, method(String, String[]) is not the s
Hi Long,
I should mention that I had missed this part of the specification as
well, and I only recently discovered it while trying to determine how
best to express static reactions with SCXML. I'm currently updating
scxml-js to support this.
Jake
On 10-08-08 10:12 PM, Xun Long Gui wrote:
> Hi Ja
On Sun, Aug 8, 2010 at 10:51 PM, sebb wrote:
>
> Although the compiler changes varargs into String[] arrays, the two
> tests are not equivalent.
>
> Using varargs exclusively can hide bugs.
>
> For example, method(String, String[]) is not the same as method(String ...).
>
We're talking about spec
On 8 August 2010 22:34, James Carman wrote:
> To make sure I'm actually passing in the exact same values (by letting
> the compiler create the arrays using the varargs feature) I added the
> following output to the startsWithAny() method:
>
> System.out.println("startsWithAny(): Received " + strin
Hi Jake,
Thanks for your reply. It seems that we should re-define transition EMF data
model for this tool, rebuild the tool from the base. I will read SCXML
transition specification carefully and carry on the rebuild job
在 2010年8月9日 上午9:22,Jacob Beard 写道:
> Hi, Long,
>
> Replies below:
>
> On 10-
On 8 August 2010 21:28, James Carman wrote:
> On Sun, Aug 8, 2010 at 1:25 PM, sebb wrote:
>>
>> As it stands, the code allows calls of the form:
>>
>> Map map = ArrayUtils.toMap(new String[][] {{"foo",
>> "bar"}, {"hello", "world"}});
>>
>> without complaining.
>>
>> Failing to check the types of
On 8 August 2010 21:30, James Carman wrote:
> On Sun, Aug 8, 2010 at 1:25 PM, sebb wrote:
>>
>> Why is it safe to suppress warnings?
>>
>> If it is really necessary, please document why it is safe, e.g. as is
>> done in ArrayUtils.addAll()
>>
>
> It's safe because the code is making the assumptio
Hi, Long,
Replies below:
On 10-08-08 09:06 PM, Xun Long Gui wrote:
> I do not think we can create a transition without a target, target is a
> necessary element for a transition.
>
The spec says that the target attribute on transition is not required.
In that case, I think the semantics are si
I do not think we can create a transition without a target, target is a
necessary element for a transition.
To feature 1 and 3 in Chris's commends, we can achieve them, not a big
thing. What do you mean about "showstoppers" bug ?
在 2010年8月8日 下午9:05,Jacob Beard 写道:
> I just had the opportunity to
+1. I'm good with that. I think that's where most people would tend
to look. I would doubt if most folks even know that the CharSequence
interface exists.
On Sun, Aug 8, 2010 at 7:33 PM, Henri Yandell wrote:
> So I'm wondering if this should exist, or if it should stay in StringUtils.
>
> Pers
So I'm wondering if this should exist, or if it should stay in StringUtils.
Personally I think String is a good colloquialism for CharSequence and
we don't need to create a new class.
i.e.
StringUtils.length(CharSequence) == good.
Hen
---
It just isn't my day. It's rainy here. Here we go:
https://issues.apache.org/jira/browse/LOGGING-137
On Sun, Aug 8, 2010 at 3:56 PM, Doug Bateman wrote:
> https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12471073
>
> On Sun, Aug 8, 2010 at 11:58 AM, Doug Bateman wrote:
>
>> Here
https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12471073
On Sun, Aug 8, 2010 at 11:58 AM, Doug Bateman wrote:
> Here's the JIRA issue.
>
> Sebb, you're right, it seems the Thread.getStackTrace() is Java 1.5, while
> Throwable.getStackTrace() is Java 1.4. I probably should use th
To make sure I'm actually passing in the exact same values (by letting
the compiler create the arrays using the varargs feature) I added the
following output to the startsWithAny() method:
System.out.println("startsWithAny(): Received " + string + " input
with " + (searchStrings == null ? null :
A
On 2010-08-08 13:38, Christian Grobmeier wrote:
>>> Does it distribute the artifacts to the dist folders also?
>>
>> Unfortunately not.
>> Nexus currently only handles Maven artifacts.
>>
> http://markmail.org/message/wmhm556j56757xt3#query:%22[Nexus]%20Only%20for%20Maven%20snapshots%20%2F%20releas
Am 08.08.2010 09:47, schrieb Henri Yandell:
Not a lot - the best stat I know of is:
https://www.osscensus.org/packages-rank-public.php
It places Lang at 11th at 50% of surveyed machines. More popular than
activation.jar or junit.jar :) [Or samba, openoffice, openssl etc, and
with just a little
On Sun, Aug 8, 2010 at 1:39 PM, sebb wrote:
> StringUtils.length() is now deprecated, and is replaced by
> CharSequenceUtils.length(), but surely the deprecated methods should
> still be tested?
> The deprecation warnings can be suppressed.
>
> When the deprecated method is deleted, the tests can
On Sun, Aug 8, 2010 at 1:25 PM, sebb wrote:
>
> Why is it safe to suppress warnings?
>
> If it is really necessary, please document why it is safe, e.g. as is
> done in ArrayUtils.addAll()
>
It's safe because the code is making the assumption that the user
isn't trying to do something stupid.
--
On Sun, Aug 8, 2010 at 1:25 PM, sebb wrote:
>
> As it stands, the code allows calls of the form:
>
> Map map = ArrayUtils.toMap(new String[][] {{"foo",
> "bar"}, {"hello", "world"}});
>
> without complaining.
>
> Failing to check the types of the array entries on creation means that
> the error ma
On Sun, Aug 8, 2010 at 1:39 PM, sebb wrote:
>> + assertFalse(StringUtils.startsWithAny("abcxyz", null, "xyz",
>> "abcd"));
>
> Most of the above changes seem wrong to me, as they change what is being
> tested.
>
> By all means add tests for varargs, but surely the array tests need to
> be
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project commons-javaflow has an issue affecting its community integration.
This is
Here's the JIRA issue.
Sebb, you're right, it seems the Thread.getStackTrace() is Java 1.5, while
Throwable.getStackTrace() is Java 1.4. I probably should use the
Throwable.getStackTrace() instead. I had started there, which is where the
Java 1.4 assumption came from.
On Sun, Aug 8, 2010 at 5:0
On 27 July 2010 21:21, wrote:
> Author: mbenson
> Date: Tue Jul 27 20:21:24 2010
> New Revision: 979842
>
> URL: http://svn.apache.org/viewvc?rev=979842&view=rev
> Log:
> mark lang3 as non-optional until/unless I can figure out how to make a
> dependency required-for-test (transitive), required-
On 30 July 2010 08:39, wrote:
> Author: jochen
> Date: Fri Jul 30 07:39:09 2010
> New Revision: 980669
>
> URL: http://svn.apache.org/viewvc?rev=980669&view=rev
> Log:
> Publishing site for 1.2.2
>
> Modified:
> commons/proper/fileupload/trunk/.classpath
Generally a bad idea to include Eclips
On 2 August 2010 11:08, wrote:
> Author: jochen
> Date: Mon Aug 2 10:08:42 2010
> New Revision: 981442
>
> URL: http://svn.apache.org/viewvc?rev=981442&view=rev
> Log:
> EOL fixes
>
> Modified:
> commons/proper/fileupload/trunk/.project
Generally not a good idea to include Eclipse project fi
On 7 August 2010 13:04, wrote:
> Author: jcarman
> Date: Sat Aug 7 12:04:46 2010
> New Revision: 983219
>
> URL: http://svn.apache.org/viewvc?rev=983219&view=rev
> Log:
> Some code clean-up. Removing unnecessary boxing, array creation for varargs,
> etc.
>
> Modified:
>
> commons/proper/la
On 6 August 2010 23:44, wrote:
> Author: jcarman
> Date: Fri Aug 6 22:44:38 2010
> New Revision: 983137
>
> URL: http://svn.apache.org/viewvc?rev=983137&view=rev
> Log:
> Generifying toMap() method (adding in possibility for type inference on
> return type).
>
> Modified:
>
> commons/proper
I just had the opportunity to install scxml-eclipse and try it out, and
I wanted to say that I agree with Chris's comments. 1 and 3, especially,
are in my opinion showstoppers bugs that prevent the tool from being
generally useful. I hope these can be resolved, because overall,
everything else seem
On 7 August 2010 06:00, James Carman wrote:
> Attachments don't come through. File a JIRA
+1 - please
>
> On Fri, Aug 6, 2010 at 10:11 PM, Doug Bateman wrote:
>> Dear Commons Developers,
>>
>> Here's a suggestion for the commons-logging package...
>>
>> Presently, in Apache Commons, the most c
>> Does it distribute the artifacts to the dist folders also?
>
> Unfortunately not.
> Nexus currently only handles Maven artifacts.
>
http://markmail.org/message/wmhm556j56757xt3#query:%22[Nexus]%20Only%20for%20Maven%20snapshots%20%2F%20releases%22+page:1+mid:wmhm556j56757xt3+state:results
thanks
On 6 August 2010 06:35, Christian Grobmeier wrote:
> Hello,
>
> I just configured everything for Nexus and successfully created a snapshot:
> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-compress/1.1-SNAPSHOT/
> Does it distribute the artifacts to the
On 2010-08-07, Oliver Heger wrote:
> For instance, are there statistics about downloads from the Maven
> central repository or something like that?
Since mvn itself and lots of the mvn plugins use commons-lang such a
statistic would only tell you how many people use mvn and not whether
the projec
Not a lot - the best stat I know of is:
https://www.osscensus.org/packages-rank-public.php
It places Lang at 11th at 50% of surveyed machines. More popular than
activation.jar or junit.jar :) [Or samba, openoffice, openssl etc, and
with just a little more work we could eclipse Eclipse]. I'm not s
38 matches
Mail list logo