On 13 June 2013 21:26, Phil Steitz wrote:
On 6/13/13 1:03 AM, Duncan Jones wrote:
Hi,
A piece of code I write far too often is:
==
public static byte[] getRandomBytes(int length) {
// validate length is non-negative
byte[] result = new byte[length];
RANDOM.nextBytes(result);
go for it!
http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi
On Thu, Jun 13, 2013 at 9:54 PM, Benedikt Ritter benerit...@gmail.com wrote:
I'm still not really satisfied, since the only thing thats different between
XmlConfigParserTestCase and XmlConfigParser2TestCase
Online report :
http://vmbuild.apache.org/continuum/buildResult.action?buildId=27133projectId=69
Build statistics:
State: Failed
Previous State: Failed
Started at: Fri 14 Jun 2013 17:20:01 +
Finished at: Fri 14 Jun 2013 17:20:47 +
Total time: 45s
Build Trigger: Schedule
Online report :
http://vmbuild.apache.org/continuum/buildResult.action?buildId=27134projectId=69
Build statistics:
State: Failed
Previous State: Failed
Started at: Fri 14 Jun 2013 19:20:02 +
Finished at: Fri 14 Jun 2013 19:20:44 +
Total time: 42s
Build Trigger: Schedule
Hi,
the o.a.c.chain2.generic.CopyCommand IMHO really implements two commands:
* a CopyCommand that copies a value from one key to another
* an OverrideCommand, that overrides a value with a provided value.
What do you think about splitting this up into two separate classes?
Regards,
Benedikt
Online report :
http://vmbuild.apache.org/continuum/buildResult.action?buildId=27136projectId=69
Build statistics:
State: Failed
Previous State: Failed
Started at: Fri 14 Jun 2013 21:20:01 +
Finished at: Fri 14 Jun 2013 21:20:41 +
Total time: 40s
Build Trigger: Schedule