Re: svn commit: r1859859 [1/5] - in /commons/proper/jcs/trunk/commons-jcs-core/src: main/java/org/apache/commons/jcs/ main/java/org/apache/commons/jcs/access/ main/java/org/apache/commons/jcs/admin/ m

2019-05-28 Thread Thomas Vandahl
On 27.05.19 10:21, sebb wrote: > Either re-apply each of the commits in turn to Git. Done. Bye, Thomas - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: Proposal to introduce JUnit 5 in commons-numbers

2019-05-28 Thread Karl Heinz Marbaise
Hi, On 29.05.19 00:10, sebb wrote: On Tue, 28 May 2019 at 21:44, Karl Heinz Marbaise wrote: Hi, just a small comment of mine. to get very good support for exceptions etc. I would suggest to use assertj which will work in JUnit 4 and Jupiter (aka 5)... What License does it use? https://g

Re: Proposal to introduce JUnit 5 in commons-numbers

2019-05-28 Thread sebb
On Tue, 28 May 2019 at 21:44, Karl Heinz Marbaise wrote: > > Hi, > > just a small comment of mine. > > to get very good support for exceptions etc. I would suggest to use > assertj which will work in JUnit 4 and Jupiter (aka 5)... What License does it use? > Furthermore I would not rely on a uni

Re: [Commons-Statistics][GSoC][Descriptive] Class Diagram & development flow

2019-05-28 Thread Virendra singh Rajpurohit
I don't think that I can divide them in any other way than the flow that I've attached because you can see the classes are dependent on other classes so I have to code the base class/interface first than the other dependent classes. Here "UnivariateStatistics" is the most basic one. So, I'll start

Re: [lang] Giant StringUtils vs. NullSafeStrings.

2019-05-28 Thread Mark Dacek
I’m a bit curious on the desire to split it out. I’m not hard opposed but also don’t know that it would save much time or clarify things for most. I wouldn’t want to say that this is a critical reason for keeping things as they are, but I’d imagine that your typical dev doesn’t use StringUtils for

Re: Proposal to introduce JUnit 5 in commons-numbers

2019-05-28 Thread Karl Heinz Marbaise
Hi, just a small comment of mine. to get very good support for exceptions etc. I would suggest to use assertj which will work in JUnit 4 and Jupiter (aka 5)... Furthermore I would not rely on a unit testing framework for assertions which others can do better like assertj does. Snippets from th

Re: [statistics][descriptive] Classes or static methods for common descriptive statistics?

2019-05-28 Thread Alex Herbert
> On 28 May 2019, at 18:09, Eric Barnhill wrote: > > The previous commons-math interface for descriptive statistics used a > paradigm of constructing classes for various statistical functions and > calling evaluate(). Example > > Mean mean = new Mean(); > double mn = mean.evaluate(double[]) >

[statistics][descriptive] Classes or static methods for common descriptive statistics?

2019-05-28 Thread Eric Barnhill
The previous commons-math interface for descriptive statistics used a paradigm of constructing classes for various statistical functions and calling evaluate(). Example Mean mean = new Mean(); double mn = mean.evaluate(double[]) I wrote this type of code all through grad school and always found i

Re: [Commons-Statistics][GSoC][Descriptive] Class Diagram & development flow

2019-05-28 Thread Eric Barnhill
Thanks for this great work. This chart will serve you well and you are now in a great place to proceed further. Are you able to now create a UML for the components you are going to create? Is there a set of core functionalities that you will target first? Can you maybe divide your proposed summer'

[lang] Giant StringUtils vs. NullSafeStrings.

2019-05-28 Thread Gary Gregory
Hi All: Right now we have a giant class called StringUtils. I have code that in my own library that has at least one null-safe API that for Strings. For example a String.getBytes(String, Charset) that returns a null byte[] if the input String is null. I'd like to propose a new class called NullSa

[Commons-Statistics][GSoC][Descriptive] Class Diagram & development flow

2019-05-28 Thread Virendra singh Rajpurohit
Hi All, As my GSoC project is to refactor "commons.math4.stat.descriptive.*", and upgrade it using Java 8 features like Stream API, Functional Interface etc. I've created a Class-Diagram of "commons.math4.stat.descriptive.*" so as to understand the old code, it's flow and working. I've attached t