You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by kr...@apache.org on 2015/06/18 17:57:57 UTC

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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

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/FileCleaningTracker.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DemuxTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileCleaningTrackerTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileDeleteStrategyTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsListFilesTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsWriteTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/AndFileFilterTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/OrFileFilterTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamBlockSize.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/XmlStreamReaderTest.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/output/ProxyWriterTest.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/output/StringBuilderWriterTest.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java?rev=1686260&r1=1686259&r2=1686260&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java Thu Jun 18 15:57:56 2015
@@ -74,7 +74,7 @@ public class FileCleaningTracker {
      * @throws NullPointerException if the file is null
      */
     public void track(final File file, final Object marker) {
-        track(file, marker, (FileDeleteStrategy) null);
+        track(file, marker, null);
     }
 
     /**
@@ -104,7 +104,7 @@ public class FileCleaningTracker {
      * @throws NullPointerException if the path is null
      */
     public void track(final String path, final Object marker) {
-        track(path, marker, (FileDeleteStrategy) null);
+        track(path, marker, null);
     }
 
     /**

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;



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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by sebb <se...@gmail.com>.
On 22 June 2015 at 18:52, Benedikt Ritter <br...@apache.org> wrote:
> Does one really have to be part of the PMC group to be able to deploy to
> nexus? Can't we change the privileges in a way that we can grant deploy
> privileges to anybody who is up for RMing?

I think that is a Nexus config item; it would need an Infra JIRA.

See my other thread about karma for RM role

There's no harm in allowing anyone to stage an RC.
However, I suspect the same karma allows the staged RC to be
published; this is a change that cannot easily be reversed.
So we need to agree who has karma to do that.

> Benedikt
>
> 2015-06-18 19:23 GMT+02:00 Gary Gregory <ga...@gmail.com>:
>
>> 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.rosenvold@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 <ga...@gmail.com>:
>> >
>> > > 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 <
>> > > krosenvold@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 <ga...@gmail.com>:
>> > > >
>> > > > > [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 <
>> > > > krosenvold@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 <garydgregory@gmail.com
>> >:
>> > > > > >
>> > > > > > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org>
>> 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: garydgregory@gmail.com | ggregory@apache.org
>> > > > > > > Java Persistence with Hibernate, Second Edition
>> > > > > > > <http://www.manning.com/bauer3/>
>> > > > > > > JUnit in Action, Second Edition <
>> > http://www.manning.com/tahchiev/>
>> > > > > > > Spring Batch in Action <http://www.manning.com/templier/>
>> > > > > > > Blog: http://garygregory.wordpress.com
>> > > > > > > Home: http://garygregory.com/
>> > > > > > > Tweet! http://twitter.com/GaryGregory
>> > > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> > > > > Java Persistence with Hibernate, Second Edition
>> > > > > <http://www.manning.com/bauer3/>
>> > > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> > > > > Spring Batch in Action <http://www.manning.com/templier/>
>> > > > > Blog: http://garygregory.wordpress.com
>> > > > > Home: http://garygregory.com/
>> > > > > Tweet! http://twitter.com/GaryGregory
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> > > Java Persistence with Hibernate, Second Edition
>> > > <http://www.manning.com/bauer3/>
>> > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> > > Spring Batch in Action <http://www.manning.com/templier/>
>> > > Blog: http://garygregory.wordpress.com
>> > > Home: http://garygregory.com/
>> > > Tweet! http://twitter.com/GaryGregory
>> > >
>> >
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

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


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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Benedikt Ritter <br...@apache.org>.
Does one really have to be part of the PMC group to be able to deploy to
nexus? Can't we change the privileges in a way that we can grant deploy
privileges to anybody who is up for RMing?

Benedikt

2015-06-18 19:23 GMT+02:00 Gary Gregory <ga...@gmail.com>:

> 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.rosenvold@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 <ga...@gmail.com>:
> >
> > > 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 <
> > > krosenvold@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 <ga...@gmail.com>:
> > > >
> > > > > [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 <
> > > > krosenvold@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 <garydgregory@gmail.com
> >:
> > > > > >
> > > > > > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org>
> 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: garydgregory@gmail.com | ggregory@apache.org
> > > > > > > Java Persistence with Hibernate, Second Edition
> > > > > > > <http://www.manning.com/bauer3/>
> > > > > > > JUnit in Action, Second Edition <
> > http://www.manning.com/tahchiev/>
> > > > > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > > > > Blog: http://garygregory.wordpress.com
> > > > > > > Home: http://garygregory.com/
> > > > > > > Tweet! http://twitter.com/GaryGregory
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > > > > Java Persistence with Hibernate, Second Edition
> > > > > <http://www.manning.com/bauer3/>
> > > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > > Blog: http://garygregory.wordpress.com
> > > > > Home: http://garygregory.com/
> > > > > Tweet! http://twitter.com/GaryGregory
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > <http://www.manning.com/bauer3/>
> > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > Spring Batch in Action <http://www.manning.com/templier/>
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Gary Gregory <ga...@gmail.com>.
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.rosenvold@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 <ga...@gmail.com>:
>
> > 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 <
> > krosenvold@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 <ga...@gmail.com>:
> > >
> > > > [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 <
> > > krosenvold@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 <ga...@gmail.com>:
> > > > >
> > > > > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> > > > > > Java Persistence with Hibernate, Second Edition
> > > > > > <http://www.manning.com/bauer3/>
> > > > > > JUnit in Action, Second Edition <
> http://www.manning.com/tahchiev/>
> > > > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > > > Blog: http://garygregory.wordpress.com
> > > > > > Home: http://garygregory.com/
> > > > > > Tweet! http://twitter.com/GaryGregory
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > > > Java Persistence with Hibernate, Second Edition
> > > > <http://www.manning.com/bauer3/>
> > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > Blog: http://garygregory.wordpress.com
> > > > Home: http://garygregory.com/
> > > > Tweet! http://twitter.com/GaryGregory
> > > >
> > >
> >
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition
> > <http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Kristian Rosenvold <kr...@gmail.com>.
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 <ga...@gmail.com>:

> 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 <
> krosenvold@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 <ga...@gmail.com>:
> >
> > > [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 <
> > krosenvold@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 <ga...@gmail.com>:
> > > >
> > > > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> > > > > Java Persistence with Hibernate, Second Edition
> > > > > <http://www.manning.com/bauer3/>
> > > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > > Blog: http://garygregory.wordpress.com
> > > > > Home: http://garygregory.com/
> > > > > Tweet! http://twitter.com/GaryGregory
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > <http://www.manning.com/bauer3/>
> > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > Spring Batch in Action <http://www.manning.com/templier/>
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> 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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Gary Gregory <ga...@gmail.com>.
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 <kr...@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 <ga...@gmail.com>:
>
> > [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 <
> krosenvold@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 <ga...@gmail.com>:
> > >
> > > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> > > > Java Persistence with Hibernate, Second Edition
> > > > <http://www.manning.com/bauer3/>
> > > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > > Spring Batch in Action <http://www.manning.com/templier/>
> > > > Blog: http://garygregory.wordpress.com
> > > > Home: http://garygregory.com/
> > > > Tweet! http://twitter.com/GaryGregory
> > > >
> > >
> >
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition
> > <http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Kristian Rosenvold <kr...@apache.org>.
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 <ga...@gmail.com>:

> [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 <krosenvold@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 <ga...@gmail.com>:
> >
> > > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > <http://www.manning.com/bauer3/>
> > > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > > Spring Batch in Action <http://www.manning.com/templier/>
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> 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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Gary Gregory <ga...@gmail.com>.
[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 <kr...@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 <ga...@gmail.com>:
>
> > On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition
> > <http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Kristian Rosenvold <kr...@apache.org>.
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 <ga...@gmail.com>:

> On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> 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/commons/io/ test/java/org/apache/commons/io/filefilter/ ...

Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Jun 18, 2015 at 8:57 AM, <kr...@apache.org> 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: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory