[LANG]DurationUtils pull request reminder

2019-03-12 Thread Aleksander Ściborek
Hi, I would like to remind abut my pull request : https://github.com/apache/commons-lang/pull/406 I know that you have a lot of work, but please take look at it - this PR was created almost month ago. Aleksander

Re: [LANG]DurationUtils pull request reminder

2019-03-17 Thread Aleksander Ściborek
rounding. So rather than > repetitive methods like roundUpDays(), you construct a > DurationRounder(RoundingMethod.FIX, RoundingUnit.SECONDS) and then just > call round() . > > Please jump in if anyone finds this approach objectionable. > > Eric > > On Tue, Mar 12, 2019 at 4:05

Re: [LANG]DurationUtils pull request reminder

2019-03-18 Thread Aleksander Ściborek
s like > "roundUpDays()". > > On Sun, Mar 17, 2019 at 2:49 PM Aleksander Ściborek < > aleksanderscibo...@gmail.com> wrote: > > > I was thinking about this, the implementation of Duration class makes it > > quite hard. If method "public long get(TemporalUni

[Lang] BigDecimalStatistics proposition

2019-05-14 Thread Aleksander Ściborek
Hi, I've come up with the idea of making easier using Stream with BigDecimal class. The idea is to create BigDecimalStatistics class which provide a convenient way for calculating max, min, average and sum from BigDecimals from Stream. I think that it's very suitable for commons library. Should it

Re: [Lang] BigDecimalStatistics proposition

2019-05-16 Thread Aleksander Ściborek
atistics. Other work in a similar vein > will be happening this summer by one of our GSOC mentees. > > On Tue, May 14, 2019, 15:04 Gary Gregory wrote: > > > We have a Commons Statistics component that might be a fit. > > > > Gary > > > > On Tue, May 14, 201

Re: [Statistics] BigDecimalStatistics proposition

2019-05-17 Thread Aleksander Ściborek
00:24, Gilles Sadowski wrote: > Hi. > > Le jeu. 16 mai 2019 à 22:45, Aleksander Ściborek > a écrit : > > > > Should I create a new Maven commons-statistics submodule for this? > > [If the current idea is put the functionality in "Commons Statistics", you

Re: [Statistics] BigDecimalStatistics proposition

2019-05-17 Thread Aleksander Ściborek
er to performe some downstream operations like averagingInt in JDK. I've already started implementing BigDecimalStatistics on my fork but I haven't pushed those changes on my fork On Fri, 17 May 2019 at 14:19, Gilles Sadowski wrote: > Hello. > > Le ven. 17 mai 2019 à 12:14, Aleksa

Re: [Statistics] BigDecimalStatistics proposition

2019-05-17 Thread Aleksander Ściborek
Hi, >How is the "null" consideration related to the functionality of performing an average, and other operations? I just don't know why they haven't implement anything like that for BigDecimal or BigInteger, especially it's for my strange because BigDecimal is a convenient type for financial calc

Re: [Statistics] BigDecimalStatistics proposition

2019-05-20 Thread Aleksander Ściborek
now is not big but I believe it is quite useful. Regards On Fri, 17 May 2019 at 15:37, Gilles Sadowski wrote: > Hi. > > Le ven. 17 mai 2019 à 15:13, Aleksander Ściborek > a écrit : > > > > Hi, > > > > >How is the "null" consideration related

[Lang] Rounding Duration

2018-07-14 Thread Aleksander Ściborek
Hello everyone During implamanting a feauture in Java I noticed that there is no methods to round duration for instance: between 10:00 and 12:31 there is 2h 31 min. I want to write some methods to reduce boilerplate code to calculate time in given unit between temporals and round this time - e.g.

Re: [Lang] Rounding Duration

2018-07-15 Thread Aleksander Ściborek
d in Java 8 and commons-lang currently only requires > Java 7. Therefore we can not add this at the moment. > > Sorry, > Pascal > > > Am 14.07.2018 um 21:26 schrieb Aleksander Ściborek: > >> Hello everyone >> During implamanting a feauture in Java I noticed that th

Re: [Lang] Rounding Duration

2018-07-16 Thread Aleksander Ściborek
You mean creating a new branch on git for new Lang release or what, because I'm not sure if I understand ? On 15 July 2018 at 23:26, Pascal Schumacher wrote: > Am 15.07.2018 um 22:09 schrieb Gary Gregory: > >> Let's cut a Lang release and then update to Java 8. >> > > +1 > > > --

Re: [Lang] Rounding Duration

2018-07-16 Thread Aleksander Ściborek
retty much as is out of git master. This is for Java 7. > If need be we can create a 3.8.x branch for additional patches for Java 7. > - Update git master to require Java 8 > - Let people provide PRs. > > Gary > > On Mon, Jul 16, 2018 at 3:35 PM Aleksander Ściborek < > ale

Re: [configuration] Release with Java 7 compatibility

2018-07-26 Thread Aleksander Ściborek
Yes, so after this release I will be able to add features connected with Java 8 Time API? Aleksander On 25 July 2018 at 23:38, Gary Gregory wrote: > Go for it. > > Gary > > On Wed, Jul 25, 2018, 14:27 Oliver Heger > wrote: > > > Hi, > > > > the current codebase for [configuration] has been upda

[lang] new feature - should it be on Jira?

2018-07-26 Thread Aleksander Ściborek
Hi everyone. If I want to add a new feature to Apache Commons in connection with starting support Java 8, should I create a new issue on Apache Jira?

[lang] Java 8

2018-08-06 Thread Aleksander Ściborek
Hello, when I can expect Apache Commons Lang to be ready for Java 8? I know there were discuscussions about releasing Apache Commons 3.8 with support for Java 7 and after that change Java 7 for Java 8 version

Apache Rat plugin, license for new classes

2018-10-14 Thread Aleksander Ściborek
Hi, During my first attempt to create pull request with 2 new classes (a single utils class and a test class) I have encountered problem with apache rat plugin: "Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default-cli) on project commons-lang3: Too many files with unapproved

Re: Apache Rat plugin, license for new classes

2018-10-14 Thread Aleksander Ściborek
Oct 14, 2018, 10:49 Aleksander Ściborek < > aleksanderscibo...@gmail.com> wrote: > > > Hi, > > During my first attempt to create pull request with 2 new classes (a > single > > utils class and a test class) I have encountered problem with apache rat > > plugin: > &

build failes for commons-io

2018-10-15 Thread Aleksander Ściborek
Hi, I had forked commons-io and pulled it from github and later on I run mvn clean package. I've got 9 failures - One from FileUtilsTestCase and more from IOUtilsTestCase. Aleksander

Re: build failes for commons-io

2018-10-15 Thread Aleksander Ściborek
Ok. soon I will add more information, but actually you can see that it fails on github: https://travis-ci.org/apache/commons-io On Mon, 15 Oct 2018 at 22:51, sebb wrote: > On Mon, 15 Oct 2018 at 21:11, Aleksander Ściborek > wrote: > > > > Hi, > > I had forked commo

Re: build failes for commons-io

2018-10-15 Thread Aleksander Ściborek
va-8-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-36-generic", arch: "amd64", family: "unix" On Mon, 15 Oct 2018 at 22:55, Aleksander Ściborek < aleksanderscibo...@gmail.com> wrote: > Ok. soon

Re: build failes for commons-io

2018-10-15 Thread Aleksander Ściborek
Github indicates 1.67 KB, on my computer it shows 1,7 KB but this is probably just rounded value On Mon, 15 Oct 2018 at 23:54, sebb wrote: > On Mon, 15 Oct 2018 at 22:44, Aleksander Ściborek > wrote: > > > > Ok, so this is list of errors: > > FileUtilsTestCase.testCo

Re: build failes for commons-io

2018-10-15 Thread Aleksander Ściborek
I think I've found actually reasos for my problems, it's seems it was caused by long path and spaces in directories names - I run mvn clean package in tmp folder and everything has passed On Tue, 16 Oct 2018 at 00:29, sebb wrote: > On Mon, 15 Oct 2018 at 23:04, Aleksander Ścib

Re: build failes for commons-io

2018-10-16 Thread Aleksander Ściborek
I've just updated my fork and everything is ok. Thank you very much :) On Wed, Oct 17, 2018, 01:11 sebb wrote: > I've raised a bug (IO-589) and fixed it, so thanks again for finding the > error. > It was a bug in the test code. > > > --

commons-io Java version

2018-10-17 Thread Aleksander Ściborek
Hi, i see that java version commons-io is 1.7. Is there any plan to bump it to 1.8? Recently the version of commons-lang was updated Aleksander

Re: commons-io Java version

2018-10-28 Thread Aleksander Ściborek
Hi, so if I want to suggest that common-io should be bumped who I should contant with? On Wed, 17 Oct 2018 at 19:07, Gary Gregory wrote: > Hi, > > We are all volunteers here, so it's up to a PMC member to step up and > volunteer. > > Gary > > On Wed, Oct 17

[all] maven surefire plugin crashes after JDK updated - solution

2018-11-02 Thread Aleksander Ściborek
Hi, after I had installed the update of JDK8 i found that the maven surefire plugin doesn't work correctly. The resolution is to add following lines in plugins section: false Aleksander

[commons-lang] Wrappers for java.utils.function

2018-11-14 Thread Aleksander Ściborek
Hi, I'd like to create wrappers for java.util.function functional interfaces in order to create those functions from methods e.g: unchecked(URL:toURI). Checked exceptions should be wrapped into Runtime exceptions. I wanted also remind about my pull request LANG_1407 which was created one month ago.

Re: [commons-lang] Wrappers for java.utils.function

2018-11-15 Thread Aleksander Ściborek
Accidently i ha've remove from my github repository fork of commons-lang so I'll have to close DurationUtils pull request and open again. I'ill do it later Aleksander On Thu, 15 Nov 2018 at 01:37, Aleksander Ściborek < aleksanderscibo...@gmail.com> wrote: > Hi, > I&#x

[Lang]

2018-11-21 Thread Aleksander Ściborek
Hi I've just created pull request for CheeckedFunction interface. This is an example of utils I would like to add in order to simplify usage of java Stream. Aleksander

Re: [Lang] CheckedFunction#unchecked

2018-11-24 Thread Aleksander Ściborek
l addition to commons-lang. > > > > Any other opinions? > > > > Cheers, > > Pascal > > > > Am 21.11.2018 um 22:52 schrieb Aleksander Ściborek: > >> Hi > >> I've just created pull request > >> <https://github.com/apache/commons

Re: [Lang] CheckedFunction#unchecked

2018-11-29 Thread Aleksander Ściborek
oint, which makes them a good candidate for Commons), but I've found that > generally I end up with clearer code if I can use an idiom more specific to > the task. > > ajs6f > > > On Nov 24, 2018, at 8:46 AM, Aleksander Ściborek < > aleksanderscibo...@gmail.com> wr

[LANG] Checked Functions PR

2019-01-28 Thread Aleksander Ściborek
I've just created pull request to a set of functions which are wrappers for standard interfaces from java.util.function. The idea behind this is that you can create an instance of a function which throws a checked exception and then using a static

Re: [LANG] Checked Functions PR

2019-01-30 Thread Aleksander Ściborek
I'm going to add those functionalities (default methods). On Tue, 29 Jan 2019 at 16:56, Matt Sicker wrote: > I like this idea in theory. What would really make this shine is > including similar default methods as the unchecked classes. > Matt Sicker > >

Re: [LANG] Checked Functions PR

2019-01-30 Thread Aleksander Ściborek
Yes i saw https://gitbox.apache.org/repos/asf?p=commons-lang.git;a=blob_plain;f=src/main/java/org/apache/commons/lang3/Functions.java;h=5eaed0c6fa8dbb8ed7a2ba37d499130ba62f138b;hb=HEAD, unfortunately it was created after I had developed my interfaces. I saw there are some difference, like no metho

[LANG] DurationUtils pull request

2019-02-12 Thread Aleksander Ściborek
Hi, I've just opened a pull request for class DurationUtils which contains methods for rounding duration Aleksander