Re: Apache Commons Configuration & Bean Scripting Framework (BSF) - dependencies on JDK-Internal APIs

2015-06-18 Thread Rory O'Donnell

Thanks Oliver, looking forward to hearing from you.

Rgds,Rory

On 17/06/2015 20:52, Oliver Heger wrote:

Hi Rory,

Am 15.06.2015 um 10:04 schrieb Rory O'Donnell:

Hi Benedict,

I'm contacting you in relation to Apache Commons Configuration & Bean
Scripting Framework (BSF),  both projects seems to be  very popular
dependencies for other open source projects.

As part of the preparations for JDK 9, Oracle’s engineers have been
analyzing open source projects like yours to understand usage. One area
of concern involves identifying compatibility problems, such as reliance
on JDK-internal APIs.

Our engineers have already prepared guidance on migrating some of the
more common usage patterns of JDK-internal APIs to supported public
interfaces.  The list is on the OpenJDK wiki [0].

As part of the ongoing development of JDK 9, I would like to inquire
about your usage of  JDK-internal APIs and to encourage migration
towards supported Java APIs if necessary.

The first step is to identify if your application(s) is leveraging
internal APIs.

/Step 1: Download JDeps. /

Just download a preview release of JDK8(JDeps Download
). You do not need to actually
test or run your application on JDK8. JDeps(Docs
)
looks through JAR files and identifies which JAR files use internal
APIs and then lists those APIs.

/Step 2: To run JDeps against an application/. The command looks like:

jdk8/bin/jdeps -P -jdkinternals *.jar > your-application.jdeps.txt

The output inside your-application.jdeps.txt will look like:

your.package (Filename.jar)
   -> com.sun.corba.seJDK internal API (rt.jar)

_3rd party library using Internal APIs:_
If your analysis uncovers a third-party component that you rely on, you
can contact the provider and let them know of the upcoming changes. You
can then either work with the provider to get an updated library that
won't rely on Internal APIs, or you can find an alternative provider for
the capabilities that the offending library provides.

_Dynamic use of Internal APIs:_
JDeps can not detect dynamic use of internal APIs, for example through
reflection, service loaders and similar mechanisms.

regarding Commons Configuration: I am pretty convinced that this project
does not use any internal APIs. But to be sure, I am going to run this
check tool against the code base and report back the results. I hope to
come to this in a couple of days.

Oliver


Rgds,Rory

[0]
https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ANNOUNCE] Apache Commons CLI 1.3.1 released!

2015-06-18 Thread Paul King
Nice work!

On Thu, Jun 18, 2015 at 4:48 PM, Benedikt Ritter  wrote:

> The Apache Commons Team is pleased to announce the release of Apache
> Commons CLI 1.3.1.
>
> The Apache Commons CLI library provides an API for parsing command line
> options passed to programs. It's also able to print help messages detailing
> the options available for a command line tool.
>
> 1.3.1 is binary compatible to the last release 1.3. The only change
> compared to 1.3 is the fix of CLI-252 [1]. The minimum required JDK version
> for this release is 1.5.
>
> Source and binary distributions are available for download from the Apache
> Commons download site:
>   http://commons.apache.org/proper/commons-cli/download_cli.cgi
>
> When downloading, please verify signatures using the KEYS file available at
> the above location.
>
> Alternatively the release can be pulled via maven:
> 
>   commons-cli
>   commons-cli
>   1.3.1
> 
>
> For complete information on Commons CLI, including instructions on how to
> submit bug reports, patches, or suggestions for improvement, see the Apache
> Commons CLI website:
>
> http://commons.apache.org/proper/commons-cli/
>
> Thank you!
>
> Benedikt Ritter,
> on behalf of the Apache Commons Community
>
> [1] https://issues.apache.org/jira/browse/CLI-252
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>


Re: [compress] JDK 9 b64 breaks bzip2 decompression

2015-06-18 Thread Rory O'Donnell

Hi Stefan

Did you log a bug at bugs.java.com, if yes can you send me the Incident 
number ?


Thanks,Rory

On 08/06/2015 12:53, dalibor topic wrote:
Thanks for stripping the test case down, Stefan - the behaviour sounds 
rather odd.


Please file a bug at bugs.java.com, and let us know what issue ID you 
receive.


cheers,
dalibor topic

On 29.05.2015 21:00, Stefan Bodewig wrote:

I've stripped down the test case to

-

import java.io.*;
import 
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;

import org.apache.commons.compress.utils.IOUtils;

public class Bzip2DecompressorLoop {
 public static void main(String[] args) throws IOException {
 int loops = 0;
 while (true) {
 ByteArrayOutputStream devNull = new 
ByteArrayOutputStream();
 BZip2CompressorInputStream in = new 
BZip2CompressorInputStream(new FileInputStream("bla.tar.bz2"));

 IOUtils.copy(in, devNull);
 System.err.println("Finished loop: " + (loops++));
 }
 }
}

-

compile it against Commons Compress 1.9 and use
https://svn.apache.org/repos/asf/commons/proper/compress/trunk/src/test/resources/bla.txt.bz2 



It's not always the same number but somewhere around "loop 53" I get a
"BZip2 CRC error" when using JDK 9 b64 - this is after decompressing the
same file several times without any problems.

Cheers

 Stefan





--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-18 Thread Thomas Neidhart
Hi,

I think such a feature belongs to the ArrayUtils class in lang.

Thomas

On Thu, Jun 18, 2015 at 5:08 AM, venkatesha murthy <
venkateshamurth...@gmail.com> wrote:

> Hi All
>
> I was looking to ArrayUtils(version 3.4) to hopefully find a swap method .
> Is this some thing available else where or can i implement one. please
> suggest.
>
> Also i am not sure which commons lib this can be placed with. please let
> know about that as well.
>
> thanks
> venkat.
>


plot distribution

2015-06-18 Thread narjes saraie
Hi All.
I am beginner in java and have some data.I want to guess a distribution for
my data then calculate goodness of fit (gof).
I find distribution commons math and use it ,if i want plot my distribution
or CDF or probability (X>x), how do it?
is it any example for distribution and plotting it.
thanks.


Re: plot distribution

2015-06-18 Thread sebb
This is off-topic for the developer list.

Please subscribe to the Commons User list [1] and post there.

Also, please prefix the subject line with:

[MATH]

i.e. in this case the subject should be

[MATH] plot distribution

or similar

[1] http://commons.apache.org/mail-lists.html
and
http://commons.apache.org/proper/commons-math/mail-lists.html


On 18 June 2015 at 12:47, narjes saraie  wrote:
> Hi All.
> I am beginner in java and have some data.I want to guess a distribution for
> my data then calculate goodness of fit (gof).
> I find distribution commons math and use it ,if i want plot my distribution
> or CDF or probability (X>x), how do it?
> is it any example for distribution and plotting it.
> thanks.

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: plot distribution

2015-06-18 Thread narjes saraie
thanks a lot for helping me.
I was waiting for answer about 5 days,but could not find it.
I sent an email to 'u...@commons.apache.org, with [math]plot  distribution
I hope to get an answer .
best regards

On Thu, Jun 18, 2015 at 5:55 AM, sebb  wrote:

> This is off-topic for the developer list.
>
> Please subscribe to the Commons User list [1] and post there.
>
> Also, please prefix the subject line with:
>
> [MATH]
>
> i.e. in this case the subject should be
>
> [MATH] plot distribution
>
> or similar
>
> [1] http://commons.apache.org/mail-lists.html
> and
> http://commons.apache.org/proper/commons-math/mail-lists.html
>
>
> On 18 June 2015 at 12:47, narjes saraie  wrote:
> > Hi All.
> > I am beginner in java and have some data.I want to guess a distribution
> for
> > my data then calculate goodness of fit (gof).
> > I find distribution commons math and use it ,if i want plot my
> distribution
> > or CDF or probability (X>x), how do it?
> > is it any example for distribution and plotting it.
> > thanks.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


Re: Dead link report

2015-06-18 Thread sebb
Thanks, have just copied it to the appropriate mailing list
(dev@commons.apache.org)

On 18 June 2015 at 11:29, Laurent Barbareau  wrote:
> Hello,
>
> On this page http://commons.apache.org/proper/commons-validator/ there's a
> dead link into the left menu, for the item General Information > Security
>
> Regards.
>
> Laurent Barbareau

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: Dead link report

2015-06-18 Thread sebb
The security link is broken on all the component sites; looks like it
should link to the parent (as per the other links in the same section)
but for some reason it is not.

Investigating.

On 18 June 2015 at 14:45, sebb  wrote:
> Thanks, have just copied it to the appropriate mailing list
> (dev@commons.apache.org)
>
> On 18 June 2015 at 11:29, Laurent Barbareau  wrote:
>> Hello,
>>
>> On this page http://commons.apache.org/proper/commons-validator/ there's a
>> dead link into the left menu, for the item General Information > Security
>>
>> Regards.
>>
>> Laurent Barbareau

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: Dead link report

2015-06-18 Thread sebb
Bug in site.xml:

URL: http://svn.apache.org/r1686216
Log:
Absolute local links don't work with Maven site

Modified:
commons/proper/commons-parent/trunk/src/site/site.xml

This will need a new CP release at some point.

Meanwhile, sites which have been built with the link in the menu need
to be fixed.

The simplest way is probably to use a redirect for those sites that need it.
For example, validator and lang.
But not Compress, which has its own security.html page (and uses an
older site.xml without the link)

On 18 June 2015 at 14:47, sebb  wrote:
> The security link is broken on all the component sites; looks like it
> should link to the parent (as per the other links in the same section)
> but for some reason it is not.
>
> Investigating.
>
> On 18 June 2015 at 14:45, sebb  wrote:
>> Thanks, have just copied it to the appropriate mailing list
>> (dev@commons.apache.org)
>>
>> On 18 June 2015 at 11:29, Laurent Barbareau  wrote:
>>> Hello,
>>>
>>> On this page http://commons.apache.org/proper/commons-validator/ there's a
>>> dead link into the left menu, for the item General Information > Security
>>>
>>> Regards.
>>>
>>> Laurent Barbareau

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-18 Thread venkatesha murthy
Hi Thomas,

thanks for responding.

Then does ArrayUtils has such a method ; for eg: i couldnt locate such a
method in 3.4. am i missing something here.
which jar and version should i look at.

thanks
venkat.

On Thu, Jun 18, 2015 at 2:35 PM, Thomas Neidhart 
wrote:

> Hi,
>
> I think such a feature belongs to the ArrayUtils class in lang.
>
> Thomas
>
> On Thu, Jun 18, 2015 at 5:08 AM, venkatesha murthy <
> venkateshamurth...@gmail.com> wrote:
>
> > Hi All
> >
> > I was looking to ArrayUtils(version 3.4) to hopefully find a swap method
> .
> > Is this some thing available else where or can i implement one. please
> > suggest.
> >
> > Also i am not sure which commons lib this can be placed with. please let
> > know about that as well.
> >
> > thanks
> > venkat.
> >
>


Re: [compress] JDK 9 b64 breaks bzip2 decompression

2015-06-18 Thread Stefan Bodewig
On 2015-06-18, Rory O'Donnell wrote:

> Did you log a bug at bugs.java.com, if yes can you send me the
> Incident number ?

Sorry, so far I hadn't found the time to do so, just opened one

Review ID: JI-9021700

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[ALL][COMPRESS] security reports page naming

2015-06-18 Thread sebb
Commons Compress has a Security Reports page:

http://commons.apache.org/proper/commons-compress/security.html

which contains details of known security issues.

The page links to the general commons security page
http://commons.apache.org/security.html
for details of how to report security issues.

I think it is a good idea to have both pages, but I wonder whether it
might be less confusing if the pages had slightly different names?

Especially since CP 37 site.xml has a bug which means that the
Security link under General Information is resolved as being relative
to the component. [This is a "feature" of Maven site when used with
parent POMs].

If a component wants to provide a security report page, I suggest it
should be called "security-report.html" or similar.

Compress seems to be the only one with such a page so far, so it would
not involve much work.

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ALL][COMPRESS] security reports page naming

2015-06-18 Thread Stefan Bodewig
On 2015-06-18, sebb wrote:

> Commons Compress has a Security Reports page:

> http://commons.apache.org/proper/commons-compress/security.html

> which contains details of known security issues.

> The page links to the general commons security page
> http://commons.apache.org/security.html
> for details of how to report security issues.

> I think it is a good idea to have both pages, but I wonder whether it
> might be less confusing if the pages had slightly different names?

Fine with me.

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: plot distribution

2015-06-18 Thread Ole Ersoy

Hi Narjes,

It's a good idea to prefix your subject with [math], since commons shares 
multiple projects.

Going to take a stab from 50,000 feet.  Use the Levenberg Marquardt optimizer 
to fit the distribution to the data.  You could probably use more specific 
optimizers for certain types of distributions. For example the Gaussian Fitter 
to guess the variance for normal distributions:
https://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/fitting/GaussianCurveFitter.html

I would export the data to JSON (Convert with Google GSON) and use Node to plot 
it with d3:
http://d3js.org/
http://racingtadpole.com/blog/curve-fitting-cdf-js-d3/

Cheers,
- Ole



On 06/18/2015 06:47 AM, narjes saraie wrote:

Hi All.
I am beginner in java and have some data.I want to guess a distribution for
my data then calculate goodness of fit (gof).
I find distribution commons math and use it ,if i want plot my distribution
or CDF or probability (X>x), how do it?
is it any example for distribution and plotting it.
thanks.




-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: plot distribution

2015-06-18 Thread Ole Ersoy

Narjes,

Looking at this a little closer:
http://racingtadpole.com/blog/curve-fitting-cdf-js-d3/

They may have solved it for you :).

Cheers,
- Ole


On 06/18/2015 06:47 AM, narjes saraie wrote:

Hi All.
I am beginner in java and have some data.I want to guess a distribution for
my data then calculate goodness of fit (gof).
I find distribution commons math and use it ,if i want plot my distribution
or CDF or probability (X>x), how do it?
is it any example for distribution and plotting it.
thanks.




-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [ALL][COMPRESS] security reports page naming

2015-06-18 Thread Gary Gregory
On Thu, Jun 18, 2015 at 8:13 AM, sebb  wrote:

> Commons Compress has a Security Reports page:
>
> http://commons.apache.org/proper/commons-compress/security.html
>
> which contains details of known security issues.
>
> The page links to the general commons security page
> http://commons.apache.org/security.html
> for details of how to report security issues.
>
> I think it is a good idea to have both pages, but I wonder whether it
> might be less confusing if the pages had slightly different names?
>
> Especially since CP 37 site.xml has a bug which means that the
> Security link under General Information is resolved as being relative
> to the component. [This is a "feature" of Maven site when used with
> parent POMs].
>
> If a component wants to provide a security report page, I suggest it
> should be called "security-report.html" or similar.
>
> Compress seems to be the only one with such a page so far, so it would
> not involve much work.
>

Sounds reasonable.

Gary


>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Gary Gregory
On Thu, Jun 18, 2015 at 8:57 AM,  wrote:

> Author: krosenvold
> Date: Thu Jun 18 15:57:56 2015
> New Revision: 1686260
>
> URL: http://svn.apache.org/r1686260
> Log:
> Language level code changes
>
>
> ...


>
> Modified:
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> URL:
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
>
> ==
> ---
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> (original)
> +++
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> Thu Jun 18 15:57:56 2015
> @@ -75,23 +75,23 @@ public class FileSystemUtils {
>  }
>  osName = osName.toLowerCase(Locale.ENGLISH);
>  // match
> -if (osName.indexOf("windows") != -1) {
> +if (osName.contains("windows")) {
>  os = WINDOWS;
> -} else if (osName.indexOf("linux") != -1 ||
> -osName.indexOf("mpe/ix") != -1 ||
> -osName.indexOf("freebsd") != -1 ||
> -osName.indexOf("irix") != -1 ||
> -osName.indexOf("digital unix") != -1 ||
> -osName.indexOf("unix") != -1 ||
> -osName.indexOf("mac os x") != -1) {
> +} else if (osName.contains("linux") ||
> +osName.contains("mpe/ix") ||
> +osName.contains("freebsd") ||
> +osName.contains("irix") ||
> +osName.contains("digital unix") ||
> +osName.contains("unix") ||
> +osName.contains("mac os x")) {
>  os = UNIX;
> -} else if (osName.indexOf("sun os") != -1 ||
> -osName.indexOf("sunos") != -1 ||
> -osName.indexOf("solaris") != -1) {
> +} else if (osName.contains("sun os") ||
> +osName.contains("sunos") ||
> +osName.contains("solaris")) {
>  os = POSIX_UNIX;
>  dfPath = "/usr/xpg4/bin/df";
> -} else if (osName.indexOf("hp-ux") != -1 ||
> -osName.indexOf("aix") != -1) {
> +} else if (osName.contains("hp-ux") ||
> +osName.contains("aix")) {
>  os = POSIX_UNIX;
>  } else {
>  os = OTHER;
>
>
>
How about finally updating [io] to Java 7 and using a switch?

Gary


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Kristian Rosenvold
We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for making
at least one more release with 1.6 ;)

Kristian


2015-06-18 18:16 GMT+02:00 Gary Gregory :

> On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
>
> > Author: krosenvold
> > Date: Thu Jun 18 15:57:56 2015
> > New Revision: 1686260
> >
> > URL: http://svn.apache.org/r1686260
> > Log:
> > Language level code changes
> >
> >
> > ...
>
>
> >
> > Modified:
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > URL:
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> >
> >
> ==
> > ---
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > (original)
> > +++
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > Thu Jun 18 15:57:56 2015
> > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> >  }
> >  osName = osName.toLowerCase(Locale.ENGLISH);
> >  // match
> > -if (osName.indexOf("windows") != -1) {
> > +if (osName.contains("windows")) {
> >  os = WINDOWS;
> > -} else if (osName.indexOf("linux") != -1 ||
> > -osName.indexOf("mpe/ix") != -1 ||
> > -osName.indexOf("freebsd") != -1 ||
> > -osName.indexOf("irix") != -1 ||
> > -osName.indexOf("digital unix") != -1 ||
> > -osName.indexOf("unix") != -1 ||
> > -osName.indexOf("mac os x") != -1) {
> > +} else if (osName.contains("linux") ||
> > +osName.contains("mpe/ix") ||
> > +osName.contains("freebsd") ||
> > +osName.contains("irix") ||
> > +osName.contains("digital unix") ||
> > +osName.contains("unix") ||
> > +osName.contains("mac os x")) {
> >  os = UNIX;
> > -} else if (osName.indexOf("sun os") != -1 ||
> > -osName.indexOf("sunos") != -1 ||
> > -osName.indexOf("solaris") != -1) {
> > +} else if (osName.contains("sun os") ||
> > +osName.contains("sunos") ||
> > +osName.contains("solaris")) {
> >  os = POSIX_UNIX;
> >  dfPath = "/usr/xpg4/bin/df";
> > -} else if (osName.indexOf("hp-ux") != -1 ||
> > -osName.indexOf("aix") != -1) {
> > +} else if (osName.contains("hp-ux") ||
> > +osName.contains("aix")) {
> >  os = POSIX_UNIX;
> >  } else {
> >  os = OTHER;
> >
> >
> >
> How about finally updating [io] to Java 7 and using a switch?
>
> Gary
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>


Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Gary Gregory
[io] needs a release bad, it's been way to long. I can live with 1.6 for a
release if is soon. Then switch to Java 7.

Are you willing to RM?

Gary

On Thu, Jun 18, 2015 at 9:28 AM, Kristian Rosenvold 
wrote:

> We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for making
> at least one more release with 1.6 ;)
>
> Kristian
>
>
> 2015-06-18 18:16 GMT+02:00 Gary Gregory :
>
> > On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
> >
> > > Author: krosenvold
> > > Date: Thu Jun 18 15:57:56 2015
> > > New Revision: 1686260
> > >
> > > URL: http://svn.apache.org/r1686260
> > > Log:
> > > Language level code changes
> > >
> > >
> > > ...
> >
> >
> > >
> > > Modified:
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > URL:
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> > >
> > >
> >
> ==
> > > ---
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > (original)
> > > +++
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > Thu Jun 18 15:57:56 2015
> > > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> > >  }
> > >  osName = osName.toLowerCase(Locale.ENGLISH);
> > >  // match
> > > -if (osName.indexOf("windows") != -1) {
> > > +if (osName.contains("windows")) {
> > >  os = WINDOWS;
> > > -} else if (osName.indexOf("linux") != -1 ||
> > > -osName.indexOf("mpe/ix") != -1 ||
> > > -osName.indexOf("freebsd") != -1 ||
> > > -osName.indexOf("irix") != -1 ||
> > > -osName.indexOf("digital unix") != -1 ||
> > > -osName.indexOf("unix") != -1 ||
> > > -osName.indexOf("mac os x") != -1) {
> > > +} else if (osName.contains("linux") ||
> > > +osName.contains("mpe/ix") ||
> > > +osName.contains("freebsd") ||
> > > +osName.contains("irix") ||
> > > +osName.contains("digital unix") ||
> > > +osName.contains("unix") ||
> > > +osName.contains("mac os x")) {
> > >  os = UNIX;
> > > -} else if (osName.indexOf("sun os") != -1 ||
> > > -osName.indexOf("sunos") != -1 ||
> > > -osName.indexOf("solaris") != -1) {
> > > +} else if (osName.contains("sun os") ||
> > > +osName.contains("sunos") ||
> > > +osName.contains("solaris")) {
> > >  os = POSIX_UNIX;
> > >  dfPath = "/usr/xpg4/bin/df";
> > > -} else if (osName.indexOf("hp-ux") != -1 ||
> > > -osName.indexOf("aix") != -1) {
> > > +} else if (osName.contains("hp-ux") ||
> > > +osName.contains("aix")) {
> > >  os = POSIX_UNIX;
> > >  } else {
> > >  os = OTHER;
> > >
> > >
> > >
> > How about finally updating [io] to Java 7 and using a switch?
> >
> > Gary
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > 
> > JUnit in Action, Second Edition 
> > Spring Batch in Action 
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>



-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Kristian Rosenvold
I can do the release, but I'm not entirely sure I'd have the necessary
priveiliges (since I'm not even a committer in commons). Then again I might
have them since I'm a member, I'm a bit unsure :) I suspect nexus wont let
me deploy...

Kristian


2015-06-18 18:50 GMT+02:00 Gary Gregory :

> [io] needs a release bad, it's been way to long. I can live with 1.6 for a
> release if is soon. Then switch to Java 7.
>
> Are you willing to RM?
>
> Gary
>
> On Thu, Jun 18, 2015 at 9:28 AM, Kristian Rosenvold  >
> wrote:
>
> > We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for making
> > at least one more release with 1.6 ;)
> >
> > Kristian
> >
> >
> > 2015-06-18 18:16 GMT+02:00 Gary Gregory :
> >
> > > On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
> > >
> > > > Author: krosenvold
> > > > Date: Thu Jun 18 15:57:56 2015
> > > > New Revision: 1686260
> > > >
> > > > URL: http://svn.apache.org/r1686260
> > > > Log:
> > > > Language level code changes
> > > >
> > > >
> > > > ...
> > >
> > >
> > > >
> > > > Modified:
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > URL:
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> > > >
> > > >
> > >
> >
> ==
> > > > ---
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > (original)
> > > > +++
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > Thu Jun 18 15:57:56 2015
> > > > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> > > >  }
> > > >  osName = osName.toLowerCase(Locale.ENGLISH);
> > > >  // match
> > > > -if (osName.indexOf("windows") != -1) {
> > > > +if (osName.contains("windows")) {
> > > >  os = WINDOWS;
> > > > -} else if (osName.indexOf("linux") != -1 ||
> > > > -osName.indexOf("mpe/ix") != -1 ||
> > > > -osName.indexOf("freebsd") != -1 ||
> > > > -osName.indexOf("irix") != -1 ||
> > > > -osName.indexOf("digital unix") != -1 ||
> > > > -osName.indexOf("unix") != -1 ||
> > > > -osName.indexOf("mac os x") != -1) {
> > > > +} else if (osName.contains("linux") ||
> > > > +osName.contains("mpe/ix") ||
> > > > +osName.contains("freebsd") ||
> > > > +osName.contains("irix") ||
> > > > +osName.contains("digital unix") ||
> > > > +osName.contains("unix") ||
> > > > +osName.contains("mac os x")) {
> > > >  os = UNIX;
> > > > -} else if (osName.indexOf("sun os") != -1 ||
> > > > -osName.indexOf("sunos") != -1 ||
> > > > -osName.indexOf("solaris") != -1) {
> > > > +} else if (osName.contains("sun os") ||
> > > > +osName.contains("sunos") ||
> > > > +osName.contains("solaris")) {
> > > >  os = POSIX_UNIX;
> > > >  dfPath = "/usr/xpg4/bin/df";
> > > > -} else if (osName.indexOf("hp-ux") != -1 ||
> > > > -osName.indexOf("aix") != -1) {
> > > > +} else if (osName.contains("hp-ux") ||
> > > > +osName.contains("aix")) {
> > > >  os = POSIX_UNIX;
> > > >  } else {
> > > >  os = OTHER;
> > > >
> > > >
> > > >
> > > How about finally updating [io] to Java 7 and using a switch?
> > >
> > > Gary
> > >
> > >
> > > --
> > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > 
> > > JUnit in Action, Second Edition 
> > > Spring Batch in Action 
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>


Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Gary Gregory
We implemented a new policy a couple of months ago: All Apache Committer
can commit to Apache Commons! Pretty cool eh?

But a PMC member might need to do some tasks, I'm not sure about that one.

Gary

On Thu, Jun 18, 2015 at 10:04 AM, Kristian Rosenvold 
wrote:

> I can do the release, but I'm not entirely sure I'd have the necessary
> priveiliges (since I'm not even a committer in commons). Then again I might
> have them since I'm a member, I'm a bit unsure :) I suspect nexus wont let
> me deploy...
>
> Kristian
>
>
> 2015-06-18 18:50 GMT+02:00 Gary Gregory :
>
> > [io] needs a release bad, it's been way to long. I can live with 1.6 for
> a
> > release if is soon. Then switch to Java 7.
> >
> > Are you willing to RM?
> >
> > Gary
> >
> > On Thu, Jun 18, 2015 at 9:28 AM, Kristian Rosenvold <
> krosenv...@apache.org
> > >
> > wrote:
> >
> > > We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for
> making
> > > at least one more release with 1.6 ;)
> > >
> > > Kristian
> > >
> > >
> > > 2015-06-18 18:16 GMT+02:00 Gary Gregory :
> > >
> > > > On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
> > > >
> > > > > Author: krosenvold
> > > > > Date: Thu Jun 18 15:57:56 2015
> > > > > New Revision: 1686260
> > > > >
> > > > > URL: http://svn.apache.org/r1686260
> > > > > Log:
> > > > > Language level code changes
> > > > >
> > > > >
> > > > > ...
> > > >
> > > >
> > > > >
> > > > > Modified:
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > URL:
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> > > > >
> > > > >
> > > >
> > >
> >
> ==
> > > > > ---
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > (original)
> > > > > +++
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > Thu Jun 18 15:57:56 2015
> > > > > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> > > > >  }
> > > > >  osName = osName.toLowerCase(Locale.ENGLISH);
> > > > >  // match
> > > > > -if (osName.indexOf("windows") != -1) {
> > > > > +if (osName.contains("windows")) {
> > > > >  os = WINDOWS;
> > > > > -} else if (osName.indexOf("linux") != -1 ||
> > > > > -osName.indexOf("mpe/ix") != -1 ||
> > > > > -osName.indexOf("freebsd") != -1 ||
> > > > > -osName.indexOf("irix") != -1 ||
> > > > > -osName.indexOf("digital unix") != -1 ||
> > > > > -osName.indexOf("unix") != -1 ||
> > > > > -osName.indexOf("mac os x") != -1) {
> > > > > +} else if (osName.contains("linux") ||
> > > > > +osName.contains("mpe/ix") ||
> > > > > +osName.contains("freebsd") ||
> > > > > +osName.contains("irix") ||
> > > > > +osName.contains("digital unix") ||
> > > > > +osName.contains("unix") ||
> > > > > +osName.contains("mac os x")) {
> > > > >  os = UNIX;
> > > > > -} else if (osName.indexOf("sun os") != -1 ||
> > > > > -osName.indexOf("sunos") != -1 ||
> > > > > -osName.indexOf("solaris") != -1) {
> > > > > +} else if (osName.contains("sun os") ||
> > > > > +osName.contains("sunos") ||
> > > > > +osName.contains("solaris")) {
> > > > >  os = POSIX_UNIX;
> > > > >  dfPath = "/usr/xpg4/bin/df";
> > > > > -} else if (osName.indexOf("hp-ux") != -1 ||
> > > > > -osName.indexOf("aix") != -1) {
> > > > > +} else if (osName.contains("hp-ux") ||
> > > > > +osName.contains("aix")) {
> > > > >  os = POSIX_UNIX;
> > > > >  } else {
> > > > >  os = OTHER;
> > > > >
> > > > >
> > > > >
> > > > How about finally updating [io] to Java 7 and using a switch?
> > > >
> > > > Gary
> > > >
> > > >
> > > > --
> > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > Java Persistence with Hibernate, Second Edition
> > > > 
> > > > JUnit in Action, Second Edition 
> > > > Spring Batch in Action 
> > > > Blog: http://garygregory.wordpress.com
> > > > Home: http://garygregory.com/
> > > > Tweet! http://twitter.com/GaryGregory
> > > >
> > >
> >
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > 
> > JUnit in Act

Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Kristian Rosenvold
I know about the new policy, I've been using it in compress :)

 I'm still not entirely sure I'd be able to stage a release in nexus :)

But time will tell; I have 30 some issues on my "triage" list right now. I
was planning to start that a few weeks ago but I had so many other yaks to
shave.

Kristian


2015-06-18 19:17 GMT+02:00 Gary Gregory :

> We implemented a new policy a couple of months ago: All Apache Committer
> can commit to Apache Commons! Pretty cool eh?
>
> But a PMC member might need to do some tasks, I'm not sure about that one.
>
> Gary
>
> On Thu, Jun 18, 2015 at 10:04 AM, Kristian Rosenvold <
> krosenv...@apache.org>
> wrote:
>
> > I can do the release, but I'm not entirely sure I'd have the necessary
> > priveiliges (since I'm not even a committer in commons). Then again I
> might
> > have them since I'm a member, I'm a bit unsure :) I suspect nexus wont
> let
> > me deploy...
> >
> > Kristian
> >
> >
> > 2015-06-18 18:50 GMT+02:00 Gary Gregory :
> >
> > > [io] needs a release bad, it's been way to long. I can live with 1.6
> for
> > a
> > > release if is soon. Then switch to Java 7.
> > >
> > > Are you willing to RM?
> > >
> > > Gary
> > >
> > > On Thu, Jun 18, 2015 at 9:28 AM, Kristian Rosenvold <
> > krosenv...@apache.org
> > > >
> > > wrote:
> > >
> > > > We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for
> > making
> > > > at least one more release with 1.6 ;)
> > > >
> > > > Kristian
> > > >
> > > >
> > > > 2015-06-18 18:16 GMT+02:00 Gary Gregory :
> > > >
> > > > > On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
> > > > >
> > > > > > Author: krosenvold
> > > > > > Date: Thu Jun 18 15:57:56 2015
> > > > > > New Revision: 1686260
> > > > > >
> > > > > > URL: http://svn.apache.org/r1686260
> > > > > > Log:
> > > > > > Language level code changes
> > > > > >
> > > > > >
> > > > > > ...
> > > > >
> > > > >
> > > > > >
> > > > > > Modified:
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > URL:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ==
> > > > > > ---
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > (original)
> > > > > > +++
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > Thu Jun 18 15:57:56 2015
> > > > > > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> > > > > >  }
> > > > > >  osName = osName.toLowerCase(Locale.ENGLISH);
> > > > > >  // match
> > > > > > -if (osName.indexOf("windows") != -1) {
> > > > > > +if (osName.contains("windows")) {
> > > > > >  os = WINDOWS;
> > > > > > -} else if (osName.indexOf("linux") != -1 ||
> > > > > > -osName.indexOf("mpe/ix") != -1 ||
> > > > > > -osName.indexOf("freebsd") != -1 ||
> > > > > > -osName.indexOf("irix") != -1 ||
> > > > > > -osName.indexOf("digital unix") != -1 ||
> > > > > > -osName.indexOf("unix") != -1 ||
> > > > > > -osName.indexOf("mac os x") != -1) {
> > > > > > +} else if (osName.contains("linux") ||
> > > > > > +osName.contains("mpe/ix") ||
> > > > > > +osName.contains("freebsd") ||
> > > > > > +osName.contains("irix") ||
> > > > > > +osName.contains("digital unix") ||
> > > > > > +osName.contains("unix") ||
> > > > > > +osName.contains("mac os x")) {
> > > > > >  os = UNIX;
> > > > > > -} else if (osName.indexOf("sun os") != -1 ||
> > > > > > -osName.indexOf("sunos") != -1 ||
> > > > > > -osName.indexOf("solaris") != -1) {
> > > > > > +} else if (osName.contains("sun os") ||
> > > > > > +osName.contains("sunos") ||
> > > > > > +osName.contains("solaris")) {
> > > > > >  os = POSIX_UNIX;
> > > > > >  dfPath = "/usr/xpg4/bin/df";
> > > > > > -} else if (osName.indexOf("hp-ux") != -1 ||
> > > > > > -osName.indexOf("aix") != -1) {
> > > > > > +} else if (osName.contains("hp-ux") ||
> > > > > > +osName.contains("aix")) {
> > > > > >  os = POSIX_UNIX;
> > > > > >  } else {
> > > > > >  os = OTHER;
> > > > > >
> > > > > >
> > > > > >
> > > > > How about finally updating [io] to Java 7 and using a switch?
> > > > >
> > > > > Gary
>

Re: svn commit: r1686260 [1/5] - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/ main/java/org/apache/commons/io/input/ main/java/org/apache/commons/io/monitor/ test/java/org/apache/

2015-06-18 Thread Gary Gregory
I'm a RERO fan. Why not cut a release ASAP and iron out the process? Then
you can come back and work on your 30 issues. That's a lot of issues! ;-)

Gary

On Thu, Jun 18, 2015 at 10:21 AM, Kristian Rosenvold <
kristian.rosenv...@gmail.com> wrote:

> I know about the new policy, I've been using it in compress :)
>
>  I'm still not entirely sure I'd be able to stage a release in nexus :)
>
> But time will tell; I have 30 some issues on my "triage" list right now. I
> was planning to start that a few weeks ago but I had so many other yaks to
> shave.
>
> Kristian
>
>
> 2015-06-18 19:17 GMT+02:00 Gary Gregory :
>
> > We implemented a new policy a couple of months ago: All Apache Committer
> > can commit to Apache Commons! Pretty cool eh?
> >
> > But a PMC member might need to do some tasks, I'm not sure about that
> one.
> >
> > Gary
> >
> > On Thu, Jun 18, 2015 at 10:04 AM, Kristian Rosenvold <
> > krosenv...@apache.org>
> > wrote:
> >
> > > I can do the release, but I'm not entirely sure I'd have the necessary
> > > priveiliges (since I'm not even a committer in commons). Then again I
> > might
> > > have them since I'm a member, I'm a bit unsure :) I suspect nexus wont
> > let
> > > me deploy...
> > >
> > > Kristian
> > >
> > >
> > > 2015-06-18 18:50 GMT+02:00 Gary Gregory :
> > >
> > > > [io] needs a release bad, it's been way to long. I can live with 1.6
> > for
> > > a
> > > > release if is soon. Then switch to Java 7.
> > > >
> > > > Are you willing to RM?
> > > >
> > > > Gary
> > > >
> > > > On Thu, Jun 18, 2015 at 9:28 AM, Kristian Rosenvold <
> > > krosenv...@apache.org
> > > > >
> > > > wrote:
> > > >
> > > > > We (maven) /just/ managed to switch to 1.6 baseline. So I'm +1 for
> > > making
> > > > > at least one more release with 1.6 ;)
> > > > >
> > > > > Kristian
> > > > >
> > > > >
> > > > > 2015-06-18 18:16 GMT+02:00 Gary Gregory :
> > > > >
> > > > > > On Thu, Jun 18, 2015 at 8:57 AM,  wrote:
> > > > > >
> > > > > > > Author: krosenvold
> > > > > > > Date: Thu Jun 18 15:57:56 2015
> > > > > > > New Revision: 1686260
> > > > > > >
> > > > > > > URL: http://svn.apache.org/r1686260
> > > > > > > Log:
> > > > > > > Language level code changes
> > > > > > >
> > > > > > >
> > > > > > > ...
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > Modified:
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > > URL:
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1686260&r1=1686259&r2=1686260&view=diff
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ==
> > > > > > > ---
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > > (original)
> > > > > > > +++
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
> > > > > > > Thu Jun 18 15:57:56 2015
> > > > > > > @@ -75,23 +75,23 @@ public class FileSystemUtils {
> > > > > > >  }
> > > > > > >  osName = osName.toLowerCase(Locale.ENGLISH);
> > > > > > >  // match
> > > > > > > -if (osName.indexOf("windows") != -1) {
> > > > > > > +if (osName.contains("windows")) {
> > > > > > >  os = WINDOWS;
> > > > > > > -} else if (osName.indexOf("linux") != -1 ||
> > > > > > > -osName.indexOf("mpe/ix") != -1 ||
> > > > > > > -osName.indexOf("freebsd") != -1 ||
> > > > > > > -osName.indexOf("irix") != -1 ||
> > > > > > > -osName.indexOf("digital unix") != -1 ||
> > > > > > > -osName.indexOf("unix") != -1 ||
> > > > > > > -osName.indexOf("mac os x") != -1) {
> > > > > > > +} else if (osName.contains("linux") ||
> > > > > > > +osName.contains("mpe/ix") ||
> > > > > > > +osName.contains("freebsd") ||
> > > > > > > +osName.contains("irix") ||
> > > > > > > +osName.contains("digital unix") ||
> > > > > > > +osName.contains("unix") ||
> > > > > > > +osName.contains("mac os x")) {
> > > > > > >  os = UNIX;
> > > > > > > -} else if (osName.indexOf("sun os") != -1 ||
> > > > > > > -osName.indexOf("sunos") != -1 ||
> > > > > > > -osName.indexOf("solaris") != -1) {
> > > > > > > +} else if (osName.contains("sun os") ||
> > > > > > > +osName.contains("sunos") ||
> > > > > > > +osName.contains("solaris")) {
> > > > > > >  os = POSIX_UNIX;
> > > > > > >  

Re: [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-18 Thread Oliver Heger
Making my vote explicit:

+1

Oliver

Am 14.06.2015 um 22:10 schrieb Oliver Heger:
> Hi all,
> 
> this is a vote for the first beta version of [configuration] 2.0 based
> on the first release candidate. After two alpha versions, it is now time
> to move to a beta version. Since the last alpha version, there has only
> be a small change: an obsolete interface has been removed. Details are
> available in the release notes.
> 
> Switching to beta indicates that we expect the interfaces to become more
> stable. However, there is still not yet a guarantee that there will be
> no more changes on the API.
> 
> Because this is a beta and not yet an official release I did not deploy
> the artifacts to Nexus; only the distributions were created.
> 
> Configuration 2.0-beta1 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/configuration
> (revision 9374)
> 
> Details of changes since 1.10 and the alpha versions are in the
> release notes:
> 
> https://dist.apache.org/repos/dist/dev/commons/configuration/RELEASE-NOTES.txt
> 
> http://people.apache.org/~oheger/configuration-2.0-beta1-rc1/changes-report.html
> 
> Here is the tag:
> 
> http://svn.apache.org/repos/asf/commons/proper/configuration/tags/CONFIGURATION_2_0_beta1_RC1
> (revision 1685450)
> 
> Site:
>http://people.apache.org/~oheger/configuration-2.0-beta1-rc1/
> (note some links in the menu for version 1.10 are not yet working)
> 
> KEYS:
>   http://www.apache.org/dist/commons/KEYS
> 
> Please review the release candidate and vote.
> This vote will close no sooner than 72 hours from now, i.e. after 2000
> GMT 17-June 2015
> 
>   [ ] +1 Release these artifacts
>   [ ] +0 OK, but...
>   [ ] -0 OK, but really should fix...
>   [ ] -1 I oppose this release because...
> 
> Thanks!
> Oliver
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[RESULT] [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-18 Thread Oliver Heger
The vote to release [configuration] 2.0-beta1 has passed with the
following votes (* = binding):

Gary Gregory:   +1 (*)
Bruno P. Kinoshita  -1
Thomas Neidhart +1 (*)
Phil Steitz +1 (*)
Oliver Heger+1 (*)

Many thanks for all reviews and comments. I will start the release
procedure probably at the weekend.

Oliver

Am 14.06.2015 um 22:10 schrieb Oliver Heger:
> Hi all,
> 
> this is a vote for the first beta version of [configuration] 2.0 based
> on the first release candidate. After two alpha versions, it is now time
> to move to a beta version. Since the last alpha version, there has only
> be a small change: an obsolete interface has been removed. Details are
> available in the release notes.
> 
> Switching to beta indicates that we expect the interfaces to become more
> stable. However, there is still not yet a guarantee that there will be
> no more changes on the API.
> 
> Because this is a beta and not yet an official release I did not deploy
> the artifacts to Nexus; only the distributions were created.
> 
> Configuration 2.0-beta1 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/configuration
> (revision 9374)
> 
> Details of changes since 1.10 and the alpha versions are in the
> release notes:
> 
> https://dist.apache.org/repos/dist/dev/commons/configuration/RELEASE-NOTES.txt
> 
> http://people.apache.org/~oheger/configuration-2.0-beta1-rc1/changes-report.html
> 
> Here is the tag:
> 
> http://svn.apache.org/repos/asf/commons/proper/configuration/tags/CONFIGURATION_2_0_beta1_RC1
> (revision 1685450)
> 
> Site:
>http://people.apache.org/~oheger/configuration-2.0-beta1-rc1/
> (note some links in the menu for version 1.10 are not yet working)
> 
> KEYS:
>   http://www.apache.org/dist/commons/KEYS
> 
> Please review the release candidate and vote.
> This vote will close no sooner than 72 hours from now, i.e. after 2000
> GMT 17-June 2015
> 
>   [ ] +1 Release these artifacts
>   [ ] +0 OK, but...
>   [ ] -0 OK, but really should fix...
>   [ ] -1 I oppose this release because...
> 
> Thanks!
> Oliver
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: plot distribution

2015-06-18 Thread narjes saraie
Hi Ole,
thanks.I do it and use your help again.
best regards


On Thu, Jun 18, 2015 at 8:29 AM, Ole Ersoy  wrote:

> Narjes,
>
> Looking at this a little closer:
> http://racingtadpole.com/blog/curve-fitting-cdf-js-d3/
>
> They may have solved it for you :).
>
> Cheers,
> - Ole
>
>
> On 06/18/2015 06:47 AM, narjes saraie wrote:
>
>> Hi All.
>> I am beginner in java and have some data.I want to guess a distribution
>> for
>> my data then calculate goodness of fit (gof).
>> I find distribution commons math and use it ,if i want plot my
>> distribution
>> or CDF or probability (X>x), how do it?
>> is it any example for distribution and plotting it.
>> thanks.
>>
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>