svn commit: r1790598 - /commons/proper/logging/trunk/.travis.yml

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:52:13 2017
New Revision: 1790598

URL: http://svn.apache.org/viewvc?rev=1790598&view=rev
Log:
Add oraclejdk7 to Travis CI.

Modified:
commons/proper/logging/trunk/.travis.yml

Modified: commons/proper/logging/trunk/.travis.yml
URL: 
http://svn.apache.org/viewvc/commons/proper/logging/trunk/.travis.yml?rev=1790598&r1=1790597&r2=1790598&view=diff
==
--- commons/proper/logging/trunk/.travis.yml (original)
+++ commons/proper/logging/trunk/.travis.yml Fri Apr  7 17:52:13 2017
@@ -18,6 +18,7 @@ sudo: false
 
 jdk:
   - openjdk7
+  - oraclejdk7
   - oraclejdk8
 
 after_success:




svn commit: r1790600 - /commons/proper/ognl/trunk/.travis.yml

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:52:34 2017
New Revision: 1790600

URL: http://svn.apache.org/viewvc?rev=1790600&view=rev
Log:
Add oraclejdk7 to Travis CI.

Modified:
commons/proper/ognl/trunk/.travis.yml

Modified: commons/proper/ognl/trunk/.travis.yml
URL: 
http://svn.apache.org/viewvc/commons/proper/ognl/trunk/.travis.yml?rev=1790600&r1=1790599&r2=1790600&view=diff
==
--- commons/proper/ognl/trunk/.travis.yml (original)
+++ commons/proper/ognl/trunk/.travis.yml Fri Apr  7 17:52:34 2017
@@ -18,6 +18,7 @@ sudo: false
 
 jdk:
   - openjdk7
+  - oraclejdk7
   - oraclejdk8
 
 after_success:




svn commit: r1790601 - /commons/proper/validator/trunk/.travis.yml

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:53:00 2017
New Revision: 1790601

URL: http://svn.apache.org/viewvc?rev=1790601&view=rev
Log:
Add oraclejdk7 to Travis CI.

Modified:
commons/proper/validator/trunk/.travis.yml

Modified: commons/proper/validator/trunk/.travis.yml
URL: 
http://svn.apache.org/viewvc/commons/proper/validator/trunk/.travis.yml?rev=1790601&r1=1790600&r2=1790601&view=diff
==
--- commons/proper/validator/trunk/.travis.yml (original)
+++ commons/proper/validator/trunk/.travis.yml Fri Apr  7 17:53:00 2017
@@ -18,6 +18,7 @@ sudo: false
 
 jdk:
   - openjdk7
+  - oraclejdk7
   - oraclejdk8
 
 after_success:




svn commit: r1790602 - /commons/proper/weaver/trunk/.travis.yml

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:53:15 2017
New Revision: 1790602

URL: http://svn.apache.org/viewvc?rev=1790602&view=rev
Log:
Add oraclejdk7 to Travis CI.

Modified:
commons/proper/weaver/trunk/.travis.yml

Modified: commons/proper/weaver/trunk/.travis.yml
URL: 
http://svn.apache.org/viewvc/commons/proper/weaver/trunk/.travis.yml?rev=1790602&r1=1790601&r2=1790602&view=diff
==
--- commons/proper/weaver/trunk/.travis.yml (original)
+++ commons/proper/weaver/trunk/.travis.yml Fri Apr  7 17:53:15 2017
@@ -18,6 +18,7 @@ sudo: false
 
 jdk:
   - openjdk7
+  - oraclejdk7
   - oraclejdk8
 
 after_success:




svn commit: r1790603 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:55:14 2017
New Revision: 1790603

URL: http://svn.apache.org/viewvc?rev=1790603&view=rev
Log:
Simplify if-else.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java?rev=1790603&r1=1790602&r2=1790603&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 Fri Apr  7 17:55:14 2017
@@ -550,17 +550,11 @@ public final class ImmutableNode
 {
 return directChildren;
 }
-else
+if (children != null)
 {
-if (children != null)
-{
-return Collections.unmodifiableList(children);
-}
-else
-{
-return Collections.emptyList();
-}
+return Collections.unmodifiableList(children);
 }
+return Collections.emptyList();
 }
 
 /**
@@ -577,17 +571,11 @@ public final class ImmutableNode
 {
 return directAttributes;
 }
-else
+if (attributes != null)
 {
-if (attributes != null)
-{
-return Collections.unmodifiableMap(attributes);
-}
-else
-{
-return Collections.emptyMap();
-}
+return Collections.unmodifiableMap(attributes);
 }
+return Collections.emptyMap();
 }
 
 /**




svn commit: r1790604 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:57:48 2017
New Revision: 1790604

URL: http://svn.apache.org/viewvc?rev=1790604&view=rev
Log:
Let these private ivars be final.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java?rev=1790604&r1=1790603&r2=1790604&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorAttribute.java
 Fri Apr  7 17:57:48 2017
@@ -38,10 +38,10 @@ class ConfigurationNodeIteratorAttribute
 private static final String WILDCARD = "*";
 
 /** Stores the parent node pointer. */
-private ConfigurationNodePointer parentPointer;
+private final ConfigurationNodePointer parentPointer;
 
 /** A list with the names of the managed attributes. */
-private List attributeNames;
+private final List attributeNames;
 
 /**
  * Creates a new instance of {@code ConfigurationNodeIteratorAttribute}.




svn commit: r1790605 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:58:35 2017
New Revision: 1790605

URL: http://svn.apache.org/viewvc?rev=1790605&view=rev
Log:
Add missing '@Override' annotations.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java?rev=1790605&r1=1790604&r2=1790605&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 Fri Apr  7 17:58:35 2017
@@ -798,6 +798,7 @@ public class DataConfiguration extends A
  * @throws ConversionException is thrown if the key maps to an
  * object that is not an URL.
  */
+@Override
 public URL getURL(String key)
 {
 return get(URL.class, key);
@@ -815,6 +816,7 @@ public class DataConfiguration extends A
  * @throws ConversionException is thrown if the key maps to an
  * object that is not an URL.
  */
+@Override
 public URL getURL(String key, URL defaultValue)
 {
 return get(URL.class, key, defaultValue);




svn commit: r1790606 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java

2017-04-07 Thread ggregory
Author: ggregory
Date: Fri Apr  7 17:59:15 2017
New Revision: 1790606

URL: http://svn.apache.org/viewvc?rev=1790606&view=rev
Log:
Remove unused imports.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java?rev=1790606&r1=1790605&r2=1790606&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
 Fri Apr  7 17:59:15 2017
@@ -42,7 +42,6 @@ import java.util.TimeZone;
 
 import org.apache.commons.codec.binary.Base64;
 import org.apache.commons.configuration2.BaseHierarchicalConfiguration;
-import org.apache.commons.configuration2.Configuration;
 import org.apache.commons.configuration2.FileBasedConfiguration;
 import org.apache.commons.configuration2.HierarchicalConfiguration;
 import org.apache.commons.configuration2.ImmutableConfiguration;




svn commit: r1790771 - in /commons/proper/configuration/trunk/src: changes/ main/java/org/apache/commons/configuration2/ test/java/org/apache/commons/configuration2/

2017-04-09 Thread ggregory
Author: ggregory
Date: Mon Apr 10 03:39:17 2017
New Revision: 1790771

URL: http://svn.apache.org/viewvc?rev=1790771&view=rev
Log:
Revert:
- [CONFIGURATION-659] Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURL(String).
- [CONFIGURATION-658] Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURI(String).

Modified:
commons/proper/configuration/trunk/src/changes/changes.xml

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java

commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestBaseConfiguration.java

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1790771&r1=1790770&r2=1790771&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Mon Apr 10 
03:39:17 2017
@@ -35,12 +35,6 @@
 INIConfiguration can now be configured to use a custom separator
 between properties and values when writing an ini file.
   
-  
-Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURI(String).
-  
-  
-Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURL(String).
-  
   
 Add toString() methods here and there to help debugging.
   

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java?rev=1790771&r1=1790770&r2=1790771&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java
 Mon Apr 10 03:39:17 2017
@@ -19,8 +19,6 @@ package org.apache.commons.configuration
 
 import java.math.BigDecimal;
 import java.math.BigInteger;
-import java.net.URI;
-import java.net.URL;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
@@ -1357,30 +1355,6 @@ public abstract class AbstractConfigurat
 }
 
 @Override
-public URI getURI(String key)
-{
-return convert(URI.class, key, null, true);
-}
-
-@Override
-public URI getURI(String key, URI defaultValue)
-{
-return convert(URI.class, key, defaultValue, false);
-}
-
-@Override
-public URL getURL(String key)
-{
-return convert(URL.class, key, null, true);
-}
-
-@Override
-public URL getURL(String key, URL defaultValue)
-{
-return convert(URL.class, key, defaultValue, false);
-}
-
-@Override
 public String getString(String key, String defaultValue)
 {
 String result = convert(String.class, key, null, false);

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java?rev=1790771&r1=1790770&r2=1790771&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 Mon Apr 10 03:39:17 2017
@@ -798,7 +798,6 @@ public class DataConfiguration extends A
  * @throws ConversionException is thrown if the key maps to an
  * object that is not an URL.
  */
-@Override
 public URL getURL(String key)
 {
 return get(URL.class, key);
@@ -816,7 +815,6 @@ public class DataConfiguration extends A
  * @throws ConversionException is thrown if the key maps to an
  * object that is not an URL.
  */
-@Override
 public URL getURL(String key, URL defaultValue)
 {
 return get(URL.class, key, defaultValue);

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java?rev

svn commit: r1790776 - /commons/proper/configuration/trunk/src/changes/changes.xml

2017-04-09 Thread ggregory
Author: ggregory
Date: Mon Apr 10 05:41:45 2017
New Revision: 1790776

URL: http://svn.apache.org/viewvc?rev=1790776&view=rev
Log:
[CONFIGURATION-658] Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods.

Modified:
commons/proper/configuration/trunk/src/changes/changes.xml

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1790776&r1=1790775&r2=1790776&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Mon Apr 10 
05:41:45 2017
@@ -38,6 +38,9 @@
   
 Add toString() methods here and there to help debugging.
   
+  
+Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods.
+  
 
 
 

svn commit: r1790777 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/convert/ test/java/org/apache/commons/config

2017-04-09 Thread ggregory
Author: ggregory
Date: Mon Apr 10 05:47:15 2017
New Revision: 1790777

URL: http://svn.apache.org/viewvc?rev=1790777&view=rev
Log:
[CONFIGURATION-658] Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/PropertyConverter.java

commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestDataConfiguration.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java?rev=1790777&r1=1790776&r2=1790777&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java
 Mon Apr 10 05:47:15 2017
@@ -20,6 +20,7 @@ package org.apache.commons.configuration
 import java.awt.Color;
 import java.math.BigDecimal;
 import java.math.BigInteger;
+import java.net.URI;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Calendar;
@@ -790,6 +791,100 @@ public class DataConfiguration extends A
 }
 
 /**
+ * Get an URI associated with the given configuration key.
+ *
+ * @param key The configuration key.
+ * @return The associated URI.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not an URI.
+ */
+public URI getURI(String key)
+{
+return get(URI.class, key);
+}
+
+/**
+ * Get an URI associated with the given configuration key.
+ * If the key doesn't map to an existing object, the default value
+ * is returned.
+ *
+ * @param key  The configuration key.
+ * @param defaultValue The default value.
+ * @return The associated URI.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not an URI.
+ */
+public URI getURI(String key, URI defaultValue)
+{
+return get(URI.class, key, defaultValue);
+}
+
+/**
+ * Get an array of URIs associated with the given configuration key.
+ * If the key doesn't map to an existing object an empty array is returned.
+ *
+ * @param key The configuration key.
+ * @return The associated URI array if the key is found.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not a list of URIs.
+ */
+public URI[] getURIArray(String key)
+{
+return getURIArray(key, new URI[0]);
+}
+
+/**
+ * Get an array of URIs associated with the given configuration key.
+ * If the key doesn't map to an existing object an empty array is returned.
+ *
+ * @param key The configuration key.
+ * @param defaultValue the default value, which will be returned if the 
property is not found
+ * @return The associated URI array if the key is found.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not a list of URIs.
+ */
+public URI[] getURIArray(String key, URI[] defaultValue)
+{
+return get(URI[].class, key, defaultValue);
+}
+
+/**
+ * Get a list of URIs associated with the given configuration key.
+ * If the key doesn't map to an existing object an empty list is returned.
+ *
+ * @param key The configuration key.
+ * @return The associated URI list if the key is found.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not a list of URIs.
+ */
+public List getURIList(String key)
+{
+return getURIList(key, new ArrayList());
+}
+
+/**
+ * Get a list of URIs associated with the given configuration key.
+ * If the key doesn't map to an existing object, the default value is
+ * returned.
+ *
+ * @param key The configuration key.
+ * @param defaultValue The default value.
+ * @return The associated List of URIs.
+ *
+ * @throws ConversionException is thrown if the key maps to an
+ * object that is not a list of URIs.
+ */
+public List getURIList(String key, List defaultValue)
+{
+return getList(URI.class, key, defaultValue);
+}
+
+/**
  * Get an URL associated with the given configuration key.
  *
  * @param key The configuration key.

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/

svn commit: r1790778 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

2017-04-09 Thread ggregory
Author: ggregory
Date: Mon Apr 10 05:48:43 2017
New Revision: 1790778

URL: http://svn.apache.org/viewvc?rev=1790778&view=rev
Log:
[CONFIGURATION-660] Add toString() methods here and there to help debugging. 
Conform to wacky Checkstyle for {}'s.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java?rev=1790778&r1=1790777&r2=1790778&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 Mon Apr 10 05:48:43 2017
@@ -640,7 +640,8 @@ public final class ImmutableNode
 }
 
 @Override
-public String toString() {
+public String toString() 
+{
 return super.toString() + "(" + nodeName + ")";
 }
 }




svn commit: r1790779 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java

2017-04-09 Thread ggregory
Author: ggregory
Date: Mon Apr 10 05:49:53 2017
New Revision: 1790779

URL: http://svn.apache.org/viewvc?rev=1790779&view=rev
Log:
Unnecessary semicolon.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java?rev=1790779&r1=1790778&r2=1790779&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
 Mon Apr 10 05:49:53 2017
@@ -77,7 +77,7 @@ public class DefaultConversionHandler im
 public Object interpolate(Object value)
 {
 return value;
-};
+}
 };
 
 /** The current date format. */




svn commit: r1790898 - in /commons/proper/configuration/trunk: pom.xml src/changes/changes.xml

2017-04-10 Thread ggregory
Author: ggregory
Date: Mon Apr 10 21:49:43 2017
New Revision: 1790898

URL: http://svn.apache.org/viewvc?rev=1790898&view=rev
Log:
[CONFIGURATION-661] Update platform requirement from Java 6 to 7.

Modified:
commons/proper/configuration/trunk/pom.xml
commons/proper/configuration/trunk/src/changes/changes.xml

Modified: commons/proper/configuration/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/pom.xml?rev=1790898&r1=1790897&r2=1790898&view=diff
==
--- commons/proper/configuration/trunk/pom.xml (original)
+++ commons/proper/configuration/trunk/pom.xml Mon Apr 10 21:49:43 2017
@@ -481,8 +481,8 @@
 RC1
 CONFIGURATION
 12310467
-1.6
-1.6
+1.7
+1.7
 
 
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-configuration
 

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1790898&r1=1790897&r2=1790898&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Mon Apr 10 
21:49:43 2017
@@ -41,6 +41,9 @@
   
 Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods.
   
+  
+Update platform requirement from Java 6 to 7.
+  
 
 
 

svn commit: r1790899 [5/5] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/beanutils/ main/java/org/apache/common

2017-04-10 Thread ggregory
Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationAttributePointer.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationAttributePointer.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationAttributePointer.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationAttributePointer.java
 Mon Apr 10 21:56:46 2017
@@ -60,10 +60,10 @@ public class TestConfigurationAttributeP
 ndBuilder.name("parent").addAttribute(ATTR_NAME, ATTR_VALUE);
 ImmutableNode nd = ndBuilder.create();
 parent =
-new ConfigurationNodePointer(nd, Locale.ENGLISH,
+new ConfigurationNodePointer<>(nd, Locale.ENGLISH,
 new InMemoryNodeModel(nd).getNodeHandler());
 pointer =
-new ConfigurationAttributePointer(parent,
+new ConfigurationAttributePointer<>(parent,
 ATTR_NAME);
 }
 

Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationIteratorAttributes.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationIteratorAttributes.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationIteratorAttributes.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/xpath/TestConfigurationIteratorAttributes.java
 Mon Apr 10 21:56:46 2017
@@ -61,7 +61,7 @@ public class TestConfigurationIteratorAt
 orgNode.setAttribute(TEST_ATTR, "yes").setAttribute(NS_ATTR,
 "configuration");
 pointer =
-new ConfigurationNodePointer(testNode,
+new ConfigurationNodePointer<>(testNode,
 Locale.getDefault(), handler);
 }
 
@@ -72,11 +72,11 @@ public class TestConfigurationIteratorAt
 public void testIterateAllAttributes()
 {
 ConfigurationNodeIteratorAttribute it =
-new ConfigurationNodeIteratorAttribute(pointer,
+new ConfigurationNodeIteratorAttribute<>(pointer,
 new QName(null, "*"));
 assertEquals("Wrong number of attributes", 3, iteratorSize(it));
 List attrs = iterationElements(it);
-Set attrNames = new HashSet();
+Set attrNames = new HashSet<>();
 for (NodePointer np : attrs)
 {
 attrNames.add(np.getName().getName());
@@ -93,7 +93,7 @@ public class TestConfigurationIteratorAt
 public void testIterateSpecificAttribute()
 {
 ConfigurationNodeIteratorAttribute it =
-new ConfigurationNodeIteratorAttribute(pointer,
+new ConfigurationNodeIteratorAttribute<>(pointer,
 new QName(null, TEST_ATTR));
 assertEquals("Wrong number of attributes", 1, iteratorSize(it));
 assertEquals("Wrong attribute", TEST_ATTR, iterationElements(it).get(0)
@@ -107,7 +107,7 @@ public class TestConfigurationIteratorAt
 public void testIterateUnknownAttribute()
 {
 ConfigurationNodeIteratorAttribute it =
-new ConfigurationNodeIteratorAttribute(pointer,
+new ConfigurationNodeIteratorAttribute<>(pointer,
 new QName(null, "unknown"));
 assertEquals("Found attributes", 0, iteratorSize(it));
 }
@@ -119,7 +119,7 @@ public class TestConfigurationIteratorAt
 public void testIterateNamespaceUnknown()
 {
 ConfigurationNodeIteratorAttribute it =
-new ConfigurationNodeIteratorAttribute(pointer,
+new ConfigurationNodeIteratorAttribute<>(pointer,
 new QName("test", "*"));
 assertEquals("Found attributes", 0, iteratorSize(it));
 }
@@ -131,7 +131,7 @@ public class TestConfigurationIteratorAt
 public void testIterateNamespaceAttribute()
 {
 ConfigurationNodeIteratorAttribute it =
-new ConfigurationNodeIteratorAttribute(pointer,
+new ConfigurationNodeIteratorAttribute<>(pointer,
 new QName(NAMESPACE, "attr"));
 assertEquals("Wrong number of attributes", 1, iteratorSize(it));
 assertEquals("Wrong attribute", NS_ATTR, iterationElements(it).get(0)
@@ -145,7 +145,7 @@ public class Te

svn commit: r1790899 [4/5] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/beanutils/ main/java/org/apache/common

2017-04-10 Thread ggregory
Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestFileBasedConfigurationBuilder.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestFileBasedConfigurationBuilder.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestFileBasedConfigurationBuilder.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/builder/TestFileBasedConfigurationBuilder.java
 Mon Apr 10 21:56:46 2017
@@ -107,10 +107,10 @@ public class TestFileBasedConfigurationB
 @Test
 public void testGetConfigurationNoLocation() throws ConfigurationException
 {
-Map params = new HashMap();
+Map params = new HashMap<>();
 params.put("throwExceptionOnMissing", Boolean.TRUE);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class, params);
 PropertiesConfiguration conf = builder.getConfiguration();
 assertTrue("Property not set", conf.isThrowExceptionOnMissing());
@@ -127,7 +127,7 @@ public class TestFileBasedConfigurationB
 {
 File file = createTestFile(1);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file));
@@ -146,7 +146,7 @@ public class TestFileBasedConfigurationB
 {
 File file = createTestFile(1);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file));
@@ -166,7 +166,7 @@ public class TestFileBasedConfigurationB
 {
 File file = createTestFile(1);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file));
@@ -186,7 +186,7 @@ public class TestFileBasedConfigurationB
 File file1 = createTestFile(1);
 File file2 = createTestFile(2);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file1));
@@ -206,7 +206,7 @@ public class TestFileBasedConfigurationB
 {
 File file = createTestFile(1);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file));
@@ -228,7 +228,7 @@ public class TestFileBasedConfigurationB
 File file1 = createTestFile(1);
 File file2 = createTestFile(2);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class)
 .configure(new FileBasedBuilderParametersImpl()
 .setFile(file1));
@@ -251,7 +251,7 @@ public class TestFileBasedConfigurationB
 public void testInitAllowFailOnInitFlag()
 {
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class, null, true);
 assertTrue("Flag not set", builder.isAllowFailOnInit());
 }
@@ -265,7 +265,7 @@ public class TestFileBasedConfigurationB
 {
 File file = createTestFile(1);
 FileBasedConfigurationBuilder builder =
-new FileBasedConfigurationBuilder(
+new FileBasedConfigurationBuilder<>(
 PropertiesConfiguration.class);
 builder.getFileHandler().setFile(file);
 PropertiesConfiguration config = builder.getConfiguration();
@@ -297,7 +297,7 @@ publi

svn commit: r1790899 [3/5] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/beanutils/ main/java/org/apache/common

2017-04-10 Thread ggregory
Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestCompositeConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestCompositeConfiguration.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestCompositeConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestCompositeConfiguration.java
 Mon Apr 10 21:56:46 2017
@@ -306,7 +306,7 @@ public class TestCompositeConfiguration
 // we should get 3 packages here
 assertEquals(3, packages.size());
 
-List defaultList = new ArrayList();
+List defaultList = new ArrayList<>();
 defaultList.add("1");
 defaultList.add("2");
 
@@ -374,12 +374,12 @@ public class TestCompositeConfiguration
 public void testGetKeysPreservesOrder() throws Exception
 {
 cc.addConfiguration(conf1);
-List orderedList = new ArrayList();
+List orderedList = new ArrayList<>();
 for (Iterator keys = conf1.getKeys(); keys.hasNext();)
 {
 orderedList.add(keys.next());
 }
-List iteratedList = new ArrayList();
+List iteratedList = new ArrayList<>();
 for (Iterator keys = cc.getKeys(); keys.hasNext();)
 {
 iteratedList.add(keys.next());
@@ -398,12 +398,12 @@ public class TestCompositeConfiguration
 public void testGetKeys2PreservesOrder() throws Exception
 {
 cc.addConfiguration(conf1);
-List orderedList = new ArrayList();
+List orderedList = new ArrayList<>();
 for (Iterator keys = conf1.getKeys("test"); keys.hasNext();)
 {
 orderedList.add(keys.next());
 }
-List iteratedList = new ArrayList();
+List iteratedList = new ArrayList<>();
 for (Iterator keys = cc.getKeys("test"); keys.hasNext();)
 {
 iteratedList.add(keys.next());
@@ -512,7 +512,7 @@ public class TestCompositeConfiguration
 @Test
 public void testInstanciateWithCollection()
 {
-Collection configs = new ArrayList();
+Collection configs = new ArrayList<>();
 configs.add(xmlConf);
 configs.add(conf1);
 configs.add(conf2);

Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestConfigurationUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestConfigurationUtils.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestConfigurationUtils.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestConfigurationUtils.java
 Mon Apr 10 21:56:46 2017
@@ -132,12 +132,12 @@ public class TestConfigurationUtils
 // append the source configuration to the target configuration
 ConfigurationUtils.append(conf1, conf2);
 
-List expected = new ArrayList();
+List expected = new ArrayList<>();
 expected.add("value3");
 expected.add("value1");
 ListAssert.assertEquals("'key1' property", expected, 
conf2.getList("key1"));
 
-expected = new ArrayList();
+expected = new ArrayList<>();
 expected.add("value4");
 expected.add("value2");
 ListAssert.assertEquals("'key2' property", expected, 
conf2.getList("key2"));

Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestDataConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestDataConfiguration.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestDataConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestDataConfiguration.java
 Mon Apr 10 21:56:46 2017
@@ -81,7 +81,7 @@ public class TestDataConfiguration
 conf.addProperty("boolean.list3", Boolean.FALSE);
 conf.addPropertyDirect("boolean.list4", new Boolean[] { Boolean.TRUE, 
Boolean.FALSE });
 conf.addPropertyDirect("boolean.list5", new boolean[] { true, false });
-List booleans = new ArrayList();
+List booleans = new ArrayList<>();
 booleans.add(Boolean.TRUE);
 booleans.add(Boolean.FALSE);
 conf.addProperty("boolean.list6", booleans);
@@ -97,7 +97,7 @@ 

svn commit: r1790899 [2/5] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/beanutils/ main/java/org/apache/common

2017-04-10 Thread ggregory
Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/AbstractListDelimiterHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/AbstractListDelimiterHandler.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/AbstractListDelimiterHandler.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/AbstractListDelimiterHandler.java
 Mon Apr 10 21:56:46 2017
@@ -74,7 +74,7 @@ public abstract class AbstractListDelimi
 {
 if (s == null)
 {
-return new ArrayList(0);
+return new ArrayList<>(0);
 }
 return splitString(s, trim);
 }
@@ -140,7 +140,7 @@ public abstract class AbstractListDelimi
 return split((String) value, true);
 }
 
-Collection result = new LinkedList();
+Collection result = new LinkedList<>();
 if (value instanceof Iterable)
 {
 flattenIterator(result, ((Iterable) value).iterator(), limit);

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultConversionHandler.java
 Mon Apr 10 21:56:46 2017
@@ -325,7 +325,7 @@ public class DefaultConversionHandler im
 private  T[] toObjectArray(Object src, Class elemClass,
 ConfigurationInterpolator ci)
 {
-Collection convertedCol = new LinkedList();
+Collection convertedCol = new LinkedList<>();
 convertToCollection(src, elemClass, ci, convertedCol);
 // Safe to cast because the element class is specified
 @SuppressWarnings("unchecked")

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultListDelimiterHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultListDelimiterHandler.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultListDelimiterHandler.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DefaultListDelimiterHandler.java
 Mon Apr 10 21:56:46 2017
@@ -139,7 +139,7 @@ public class DefaultListDelimiterHandler
 @Override
 protected Collection splitString(String s, boolean trim)
 {
-List list = new LinkedList();
+List list = new LinkedList<>();
 StringBuilder token = new StringBuilder();
 boolean inEscape = false;
 

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DisabledListDelimiterHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DisabledListDelimiterHandler.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DisabledListDelimiterHandler.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/DisabledListDelimiterHandler.java
 Mon Apr 10 21:56:46 2017
@@ -72,7 +72,7 @@ public class DisabledListDelimiterHandle
 @Override
 protected Collection splitString(String s, boolean trim)
 {
-Collection result = new ArrayList(1);
+Collection result = new ArrayList<>(1);
 result.add(s);
 return result;
 }

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/LegacyListDelimiterHandler.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert/LegacyListDelimiterHandler.java?rev=1790899&r1=1790898&r2=1790899&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/convert

svn commit: r1790899 [1/5] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration2/ main/java/org/apache/commons/configuration2/beanutils/ main/java/org/apache/common

2017-04-10 Thread ggregory
Author: ggregory
Date: Mon Apr 10 21:56:46 2017
New Revision: 1790899

URL: http://svn.apache.org/viewvc?rev=1790899&view=rev
Log:
Remove redundant type arguments.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/CombinedConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/CompositeConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DataConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DynamicCombinedConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/HierarchicalConfigurationConverter.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/INIConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/JNDIConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/MapConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/PropertiesConfigurationLayout.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLDocumentHelper.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLListReference.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/BeanHelper.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/CombinedBeanDeclaration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/ConfigurationDynaClass.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/XMLBeanDeclaration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/BasicBuilderParameters.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/BasicConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ConfigurationBuilderEvent.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ConfigurationBuilderResultCreatedEvent.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/DefaultParametersManager.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/FileBasedConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/BaseConfigurationBuilderProvider.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderParametersImpl.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/MultiFileConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/MultiWrapDynaBean.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/MultiWrapDynaClass.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/ReloadingCombinedConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/combined/ReloadingMultiFileConfigurationBuilder.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/fluent/Configurations.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/con

[lang] [LANG-1291] Provide annotations to document thread safety.

2017-04-17 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master 5242157df -> a5e76ebc4


[LANG-1291] Provide annotations to document thread safety.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/a5e76ebc
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/a5e76ebc
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/a5e76ebc

Branch: refs/heads/master
Commit: a5e76ebc404d419651c2a25b1a62199de64cccf5
Parents: 5242157
Author: Gary Gregory 
Authored: Mon Apr 17 11:54:04 2017 -0700
Committer: Gary Gregory 
Committed: Mon Apr 17 11:54:04 2017 -0700

--
 .../lang3/concurrent/annotation/Contract.java   | 50 +++
 .../annotation/ThreadingBehavior.java   | 66 
 2 files changed, 116 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a5e76ebc/src/main/java/org/apache/commons/lang3/concurrent/annotation/Contract.java
--
diff --git 
a/src/main/java/org/apache/commons/lang3/concurrent/annotation/Contract.java 
b/src/main/java/org/apache/commons/lang3/concurrent/annotation/Contract.java
new file mode 100644
index 000..e34bb95
--- /dev/null
+++ b/src/main/java/org/apache/commons/lang3/concurrent/annotation/Contract.java
@@ -0,0 +1,50 @@
+/*
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * .
+ *
+ */
+package org.apache.commons.lang3.concurrent.annotation;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * This annotation defines behavioral contract enforced at runtime by 
instances of annotated classes.
+ */
+@Documented
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.CLASS)
+public @interface Contract {
+
+/**
+ * Defines behavioral contract enforced at runtime by instances of 
annotated classes.
+ * 
+ * @return The behavioral contract enforced at runtime by instances of 
annotated classes.
+ */
+ThreadingBehavior threading() default ThreadingBehavior.UNSAFE;
+
+}

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a5e76ebc/src/main/java/org/apache/commons/lang3/concurrent/annotation/ThreadingBehavior.java
--
diff --git 
a/src/main/java/org/apache/commons/lang3/concurrent/annotation/ThreadingBehavior.java
 
b/src/main/java/org/apache/commons/lang3/concurrent/annotation/ThreadingBehavior.java
new file mode 100644
index 000..e03b164
--- /dev/null
+++ 
b/src/main/java/org/apache/commons/lang3/concurrent/annotation/ThreadingBehavior.java
@@ -0,0 +1,66 @@
+/*
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * ==

[lang] [LANG-1291] Provide annotations to document thread safety.

2017-04-17 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master a5e76ebc4 -> a91f76da2


[LANG-1291] Provide annotations to document thread safety.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/a91f76da
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/a91f76da
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/a91f76da

Branch: refs/heads/master
Commit: a91f76da21faf4e8b70f0f69c6db2521409e7d29
Parents: a5e76eb
Author: Gary Gregory 
Authored: Mon Apr 17 12:00:09 2017 -0700
Committer: Gary Gregory 
Committed: Mon Apr 17 12:00:09 2017 -0700

--
 .../concurrent/annotation/ContractTest.java | 38 
 .../annotation/ContractTestFixture.java | 25 +
 2 files changed, 63 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a91f76da/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTest.java
--
diff --git 
a/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTest.java
 
b/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTest.java
new file mode 100644
index 000..affa786
--- /dev/null
+++ 
b/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTest.java
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.lang3.concurrent.annotation;
+
+import org.junit.Test;
+
+/**
+ * Tests {@link Contract}.
+ */
+public class ContractTest {
+
+@Test
+public void testClassAnnotationInClassFile() throws Exception {
+AnnotationTestUtils.testClassAnnotationInClassFile(
+
"org.apache.commons.lang3.concurrent.annotation.ContractTestFixture",
+"Lorg/apache/commons/lang3/concurrent/annotation/Contract;");
+}
+
+@Test
+public void testMethodAnnotationNotRetainedAtRuntime() {
+
AnnotationTestUtils.testMethodAnnotationNotRetainedAtRuntime(ContractTestFixture.class,
 Contract.class);
+}
+
+}

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a91f76da/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTestFixture.java
--
diff --git 
a/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTestFixture.java
 
b/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTestFixture.java
new file mode 100644
index 000..6d254b1
--- /dev/null
+++ 
b/src/test/java/org/apache/commons/lang3/concurrent/annotation/ContractTestFixture.java
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.lang3.concurrent.annotation;
+
+/**
+ * Tests {@link Immutable}.
+ */
+@Contract()
+public class ContractTestFixture {
+// empty
+}



svn commit: r1792011 - in /commons/proper/configuration/trunk/src: changes/changes.xml main/java/org/apache/commons/configuration2/tree/ImmutableNode.java test/java/org/apache/commons/configuration2/t

2017-04-19 Thread ggregory
Author: ggregory
Date: Thu Apr 20 03:17:59 2017
New Revision: 1792011

URL: http://svn.apache.org/viewvc?rev=1792011&view=rev
Log:
[CONFIGURATION-664] Add API 
org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String).

Modified:
commons/proper/configuration/trunk/src/changes/changes.xml

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/TestImmutableNode.java

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1792011&r1=1792010&r2=1792011&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Thu Apr 20 
03:17:59 2017
@@ -41,6 +41,9 @@
   
 Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods.
   
+  
+Add API 
org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String).
+  
   
 Update platform requirement from Java 6 to 7.
   

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java?rev=1792011&r1=1792010&r2=1792011&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 Thu Apr 20 03:17:59 2017
@@ -102,6 +102,29 @@ public final class ImmutableNode
 }
 
 /**
+ * Returns a list with the children of this node. This list cannot be
+ * modified.
+ * @param name the node name to find
+ *
+ * @return a list with the child nodes
+ */
+public List getChildren(final String name)
+{
+final List list = new ArrayList<>();
+if (name == null) {
+return list;
+}
+for (final ImmutableNode node : children) 
+{
+if (name.equals(node.getNodeName()))
+{
+list.add(node);
+}
+}
+return list;
+}
+
+/**
  * Returns a map with the attributes of this node. This map cannot be
  * modified.
  *

Modified: 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/TestImmutableNode.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/TestImmutableNode.java?rev=1792011&r1=1792010&r2=1792011&view=diff
==
--- 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/TestImmutableNode.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/tree/TestImmutableNode.java
 Thu Apr 20 03:17:59 2017
@@ -30,6 +30,7 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 
+import org.junit.Assert;
 import org.junit.Test;
 
 /**
@@ -404,6 +405,49 @@ public class TestImmutableNode
 }
 
 /**
+ * Tests getting named children.
+ */
+@Test
+public void testGetChildrenByName()
+{
+ImmutableNode node = createDefaultNode(VALUE);
+ImmutableNode child2 =
+new ImmutableNode.Builder().name("child2").create();
+ImmutableNode node2 = node.addChild(child2);
+checkUpdatedNode(node, node2);
+assertEquals("child2", 
node2.getChildren("child2").get(0).getNodeName());
+assertEquals(child2, node2.getChildren("child2").get(0));
+}
+
+/**
+ * Tests getting named children.
+ */
+@Test
+public void testGetChildrenByNullName()
+{
+ImmutableNode node = createDefaultNode(VALUE);
+ImmutableNode child2 =
+new ImmutableNode.Builder().name("child2").create();
+ImmutableNode node2 = node.addChild(child2);
+checkUpdatedNode(node, node2);
+assertTrue(node2.getChildren(null).isEmpty());
+}
+
+/**
+ * Tests getting named children.
+ */
+@Test
+public void testGetChildrenByMissingName()
+{
+ImmutableNode node = createDefaultNode(VALUE);
+ImmutableNode child2 =
+new ImmutableNode.Builder().name("child2").create();
+ImmutableNode node2 = node.addChild(

svn commit: r1792554 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

2017-04-24 Thread ggregory
Author: ggregory
Date: Mon Apr 24 22:12:25 2017
New Revision: 1792554

URL: http://svn.apache.org/viewvc?rev=1792554&view=rev
Log:
[CONFIGURATION-664] Add API 
org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String). Fix 
Javadoc.

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java?rev=1792554&r1=1792553&r2=1792554&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/ImmutableNode.java
 Mon Apr 24 22:12:25 2017
@@ -102,8 +102,8 @@ public final class ImmutableNode
 }
 
 /**
- * Returns a list with the children of this node. This list cannot be
- * modified.
+ * Returns a list with the children of this node.
+ * 
  * @param name the node name to find
  *
  * @return a list with the child nodes




svn commit: r1792686 - in /commons/proper/configuration/trunk/src: changes/changes.xml main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

2017-04-25 Thread ggregory
Author: ggregory
Date: Wed Apr 26 00:14:34 2017
New Revision: 1792686

URL: http://svn.apache.org/viewvc?rev=1792686&view=rev
Log:
[CONFIGURATION-665] Add 
org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().

Modified:
commons/proper/configuration/trunk/src/changes/changes.xml

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1792686&r1=1792685&r2=1792686&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Wed Apr 26 
00:14:34 2017
@@ -47,6 +47,9 @@
   
 Add API 
org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String).
   
+  
+Add 
org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().
+  
   
 Update platform requirement from Java 6 to 7.
   

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java?rev=1792686&r1=1792685&r2=1792686&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
 Wed Apr 26 00:14:34 2017
@@ -973,4 +973,9 @@ public abstract class AbstractHierarchic
 }
 }
 }
+
+@Override
+public String toString() {
+return super.toString() + "(" + getRootElementName() + ")";
+}
 }




svn commit: r1792841 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

2017-04-26 Thread ggregory
Author: ggregory
Date: Thu Apr 27 06:23:04 2017
New Revision: 1792841

URL: http://svn.apache.org/viewvc?rev=1792841&view=rev
Log:
[CONFIGURATION-665] Add 
org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java?rev=1792841&r1=1792840&r2=1792841&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
 Thu Apr 27 06:23:04 2017
@@ -976,6 +976,6 @@ public abstract class AbstractHierarchic
 
 @Override
 public String toString() {
-return super.toString() + "(" + getRootElementName() + ")";
+return super.toString() + "(" + getRootElementNameInternal() + ")";
 }
 }




svn commit: r1792842 - in /commons/proper/configuration/trunk/src: changes/changes.xml main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java main/java/org/apache/commons/confi

2017-04-26 Thread ggregory
Author: ggregory
Date: Thu Apr 27 06:30:24 2017
New Revision: 1792842

URL: http://svn.apache.org/viewvc?rev=1792842&view=rev
Log:
[CONFIGURATION-666"] Add convenience ctor ConfigurationRuntimeException(String, 
Object...).

Modified:
commons/proper/configuration/trunk/src/changes/changes.xml

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1792842&r1=1792841&r2=1792842&view=diff
==
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Thu Apr 27 
06:30:24 2017
@@ -50,6 +50,9 @@
   
 Add 
org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().
   
+  
+Add convenience ctor ConfigurationRuntimeException(String, Object...).
+  
   
 Update platform requirement from Java 6 to 7.
   

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java?rev=1792842&r1=1792841&r2=1792842&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java
 Thu Apr 27 06:30:24 2017
@@ -360,10 +360,11 @@ public class BaseHierarchicalConfigurati
 String key)
 {
 List targetNodes = fetchFilteredNodeResults(key);
-if (targetNodes.size() != 1)
+int size = targetNodes.size();
+if (size != 1)
 {
 throw new ConfigurationRuntimeException(
-"Passed in key must select exactly one node: " + key);
+"Passed in key must select exactly one node (found %,d): 
%s", size, key);
 }
 BaseHierarchicalConfiguration sub =
 new BaseHierarchicalConfiguration(new InMemoryNodeModel(

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java?rev=1792842&r1=1792841&r2=1792842&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java
 Thu Apr 27 06:30:24 2017
@@ -55,6 +55,19 @@ public class ConfigurationRuntimeExcepti
 
 /**
  * Constructs a new {@code ConfigurationRuntimeException} with
+ * specified detail message using {@link String#format(String,Object...)}.
+ *
+ * @param message  the error message
+ * @param args arguments to the error message
+ * @see String#format(String,Object...)
+ */
+public ConfigurationRuntimeException(String message, Object... args)
+{
+super(String.format(message, args));
+}
+
+/**
+ * Constructs a new {@code ConfigurationRuntimeException} with
  * specified nested {@code Throwable}.
  *
  * @param cause  the exception or error that caused this exception to be 
thrown




svn commit: r1792843 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java

2017-04-26 Thread ggregory
Author: ggregory
Date: Thu Apr 27 06:33:08 2017
New Revision: 1792843

URL: http://svn.apache.org/viewvc?rev=1792843&view=rev
Log:
[CONFIGURATION-666"] Add convenience ctor ConfigurationRuntimeException(String, 
Object...).

Modified:

commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java

Modified: 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java?rev=1792843&r1=1792842&r2=1792843&view=diff
==
--- 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
 (original)
+++ 
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/beanutils/DefaultBeanFactory.java
 Thu Apr 27 06:33:08 2017
@@ -346,7 +346,7 @@ public class DefaultBeanFactory implemen
 private static ConfigurationRuntimeException constructorMatchingException(
 Class beanClass, BeanDeclaration data, String msg)
 {
-return new ConfigurationRuntimeException(String.format(FMT_CTOR_ERROR,
-msg, beanClass.getName(), 
getConstructorArgs(data).toString()));
+return new ConfigurationRuntimeException(FMT_CTOR_ERROR,
+msg, beanClass.getName(), getConstructorArgs(data).toString());
 }
 }




svn commit: r1793387 - /commons/proper/codec/trunk/pom.xml

2017-05-01 Thread ggregory
Author: ggregory
Date: Mon May  1 18:00:25 2017
New Revision: 1793387

URL: http://svn.apache.org/viewvc?rev=1793387&view=rev
Log:
Update commons-parent from 41 to 42.

Modified:
commons/proper/codec/trunk/pom.xml

Modified: commons/proper/codec/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/codec/trunk/pom.xml?rev=1793387&r1=1793386&r2=1793387&view=diff
==
--- commons/proper/codec/trunk/pom.xml (original)
+++ commons/proper/codec/trunk/pom.xml Mon May  1 18:00:25 2017
@@ -25,7 +25,7 @@ limitations under the License.
   
 org.apache.commons
 commons-parent
-41
+42
   
   commons-codec
   commons-codec




commons-compress git commit: Update Powermock tests from 1.6.4 to 1.6.6.

2017-05-01 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 6dc03d613 -> 65184bc08


Update Powermock tests from 1.6.4 to 1.6.6.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/65184bc0
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/65184bc0
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/65184bc0

Branch: refs/heads/master
Commit: 65184bc08140c7695ed6b39aa0e77b0dba61be92
Parents: 6dc03d6
Author: Gary Gregory 
Authored: Mon May 1 13:26:23 2017 -0700
Committer: Gary Gregory 
Committed: Mon May 1 13:26:23 2017 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/65184bc0/pom.xml
--
diff --git a/pom.xml b/pom.xml
index bb77018..9745d1b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@ jar, tar, zip, dump, 7z, arj.
 
 ${project.version}
 RC1
-1.6.4
+1.6.6
 3.7
 
 



commons-compress git commit: Fix Javadoc bugs.

2017-05-01 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 65184bc08 -> 1014dffca


Fix Javadoc bugs.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/1014dffc
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/1014dffc
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/1014dffc

Branch: refs/heads/master
Commit: 1014dffca96bf61b69f4446c3ab2d22786b49924
Parents: 65184bc
Author: Gary Gregory 
Authored: Mon May 1 23:58:16 2017 -0700
Committer: Gary Gregory 
Committed: Mon May 1 23:58:16 2017 -0700

--
 .../commons/compress/compressors/CompressorStreamFactory.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/1014dffc/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index f3433d9..b12fc1a 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -584,8 +584,8 @@ public class CompressorStreamFactory implements 
CompressorStreamProvider {
  * 
  * @param name
  *the compressor name, i.e. {@value #GZIP}, {@value #BZIP2},
- *{@value #XZ}, {@value #PACK200}, {@value SNAPPY_FRAMED},
- *{@value LZ4_BLOCK}, {@value LZ4_FRAMED}
+ *{@value #XZ}, {@value #PACK200}, {@value #SNAPPY_FRAMED},
+ *{@value #LZ4_BLOCK}, {@value #LZ4_FRAMED}
  *or {@value #DEFLATE}
  * @param out
  *the output stream



commons-compress git commit: Add missing default serialVersionUID.

2017-05-01 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 1014dffca -> 76390c0b5


Add missing default serialVersionUID.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/76390c0b
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/76390c0b
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/76390c0b

Branch: refs/heads/master
Commit: 76390c0b54bf145f65532ffe1e7b24639f108247
Parents: 1014dff
Author: Gary Gregory 
Authored: Mon May 1 23:59:13 2017 -0700
Committer: Gary Gregory 
Committed: Mon May 1 23:59:13 2017 -0700

--
 .../java/org/apache/commons/compress/MemoryLimitException.java | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/76390c0b/src/main/java/org/apache/commons/compress/MemoryLimitException.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/MemoryLimitException.java 
b/src/main/java/org/apache/commons/compress/MemoryLimitException.java
index 122edb1..1c5ec07 100644
--- a/src/main/java/org/apache/commons/compress/MemoryLimitException.java
+++ b/src/main/java/org/apache/commons/compress/MemoryLimitException.java
@@ -30,6 +30,8 @@ import java.io.IOException;
  */
 public class MemoryLimitException extends IOException {
 
+private static final long serialVersionUID = 1L;
+
 //long instead of int to account for overflow for corrupt files
 private final long memoryNeededInKb;
 private final int memoryLimitInKb;



commons-compress git commit: Remove unused import.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 76390c0b5 -> badc9868c


Remove unused import.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/badc9868
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/badc9868
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/badc9868

Branch: refs/heads/master
Commit: badc9868ce38096c757f385891b8638324adaf63
Parents: 76390c0
Author: Gary Gregory 
Authored: Mon May 1 23:59:50 2017 -0700
Committer: Gary Gregory 
Committed: Mon May 1 23:59:50 2017 -0700

--
 .../compress/compressors/pack200/Pack200CompressorOutputStream.java | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/badc9868/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
index 9da3d24..70be0ee 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
@@ -26,7 +26,6 @@ import java.util.jar.JarInputStream;
 import java.util.jar.Pack200;
 
 import org.apache.commons.compress.compressors.CompressorOutputStream;
-import org.apache.commons.compress.utils.IOUtils;
 
 /**
  * An output stream that compresses using the Pack200 format.



commons-compress git commit: No need to nest in an else block.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master badc9868c -> 9a92b8526


No need to nest in an else block.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/9a92b852
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/9a92b852
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/9a92b852

Branch: refs/heads/master
Commit: 9a92b8526cd13e092b5185a59c7ff0f68a1ad56e
Parents: badc986
Author: Gary Gregory 
Authored: Tue May 2 00:01:22 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 00:01:22 2017 -0700

--
 .../commons/compress/utils/BitInputStream.java | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/9a92b852/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/utils/BitInputStream.java 
b/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
index e53a381..d0e10ba 100644
--- a/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
@@ -88,17 +88,16 @@ public class BitInputStream implements Closeable {
 
 if (bitsCachedSize < count) {
 return processBitsGreater57(count);
+}
+final long bitsOut;
+if (byteOrder == ByteOrder.LITTLE_ENDIAN) {
+bitsOut = (bitsCached & MASKS[count]);
+bitsCached >>>= count;
 } else {
-final long bitsOut;
-if (byteOrder == ByteOrder.LITTLE_ENDIAN) {
-bitsOut = (bitsCached & MASKS[count]);
-bitsCached >>>= count;
-} else {
-bitsOut = (bitsCached >> (bitsCachedSize - count)) & 
MASKS[count];
-}
-bitsCachedSize -= count;
-return bitsOut;
+bitsOut = (bitsCached >> (bitsCachedSize - count)) & MASKS[count];
 }
+bitsCachedSize -= count;
+return bitsOut;
 }
 
 private long processBitsGreater57(final int count) throws IOException {



commons-compress git commit: No need to nest in an else block.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 9a92b8526 -> 6ae55beb2


No need to nest in an else block.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/6ae55beb
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/6ae55beb
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/6ae55beb

Branch: refs/heads/master
Commit: 6ae55beb2d28bd6cf36780b4c58da41854dc8248
Parents: 9a92b85
Author: Gary Gregory 
Authored: Tue May 2 00:01:47 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 00:01:47 2017 -0700

--
 .../compressors/lz4/FramedLZ4CompressorInputStream.java  | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6ae55beb/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
index 2f1eabb..f0bb329 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
@@ -308,13 +308,12 @@ public class FramedLZ4CompressorInputStream extends 
CompressorInputStream {
 int cnt = currentBlock.read(b, off, len);
 count(cnt);
 return cnt;
-} else {
-BlockLZ4CompressorInputStream l = (BlockLZ4CompressorInputStream) 
currentBlock;
-long before = l.getBytesRead();
-int cnt = currentBlock.read(b, off, len);
-count(l.getBytesRead() - before);
-return cnt;
 }
+BlockLZ4CompressorInputStream l = (BlockLZ4CompressorInputStream) 
currentBlock;
+long before = l.getBytesRead();
+int cnt = currentBlock.read(b, off, len);
+count(l.getBytesRead() - before);
+return cnt;
 }
 
 private static boolean isSkippableFrameSignature(byte[] b) {



commons-compress git commit: Add missing '@Override' annotations.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 6ae55beb2 -> d681042e6


Add missing '@Override' annotations.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/d681042e
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/d681042e
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/d681042e

Branch: refs/heads/master
Commit: d681042e60a3a1e92f4c891ce9dcffd672868e7f
Parents: 6ae55be
Author: Gary Gregory 
Authored: Tue May 2 00:03:29 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 00:03:29 2017 -0700

--
 .../compressors/lz4/BlockLZ4CompressorOutputStream.java| 1 +
 .../compressors/snappy/SnappyCompressorOutputStream.java   | 1 +
 .../compressors/lz4/FramedLZ4CompressorInputStreamTest.java| 6 ++
 3 files changed, 8 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d681042e/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java
index 71ca713..96f7a92 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java
@@ -115,6 +115,7 @@ public class BlockLZ4CompressorOutputStream extends 
CompressorOutputStream {
 this.os = os;
 compressor = new LZ77Compressor(params,
 new LZ77Compressor.Callback() {
+@Override
 public void accept(LZ77Compressor.Block block) throws 
IOException {
 //System.err.println(block);
 if (block instanceof LZ77Compressor.LiteralBlock) {

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d681042e/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorOutputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorOutputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorOutputStream.java
index 3643794..5d24d37 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorOutputStream.java
@@ -100,6 +100,7 @@ public class SnappyCompressorOutputStream extends 
CompressorOutputStream {
 this.os = os;
 consumer = new ByteUtils.OutputStreamByteConsumer(os);
 compressor = new LZ77Compressor(params, new LZ77Compressor.Callback() {
+@Override
 public void accept(LZ77Compressor.Block block) throws 
IOException {
 //System.err.println(block);
 if (block instanceof LZ77Compressor.LiteralBlock) {

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d681042e/src/test/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStreamTest.java
--
diff --git 
a/src/test/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStreamTest.java
 
b/src/test/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStreamTest.java
index a1e28b5..e3211fa 100644
--- 
a/src/test/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStreamTest.java
@@ -96,6 +96,7 @@ public final class FramedLZ4CompressorInputStreamTest
 @Test
 public void readDoubledBlaLz4WithDecompressConcatenatedTrue() throws 
Exception {
 readDoubledBlaLz4(new StreamWrapper() {
+@Override
 public InputStream wrap(InputStream in) throws Exception {
 return new FramedLZ4CompressorInputStream(in, true);
 }
@@ -105,6 +106,7 @@ public final class FramedLZ4CompressorInputStreamTest
 @Test
 public void readDoubledBlaLz4WithDecompressConcatenatedFalse() throws 
Exception {
 readDoubledBlaLz4(new StreamWrapper() {
+@Override
 public InputStream wrap(InputStream in) throws Exception {
 return new FramedLZ4CompressorInputStream(in, false);
 }
@@ -114,6 +116,7 @@ public final class FramedLZ4CompressorInputStreamTest
 @Test
 public void readDoubledBlaLz4Wi

commons-compress git commit: Unnecessary casts.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master d681042e6 -> 932d4f899


Unnecessary casts.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/932d4f89
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/932d4f89
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/932d4f89

Branch: refs/heads/master
Commit: 932d4f89922e96fb1b89ba220d124db187ab7741
Parents: d681042
Author: Gary Gregory 
Authored: Tue May 2 00:06:59 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 00:06:59 2017 -0700

--
 .../commons/compress/archivers/dump/TapeInputStream.java  |  2 +-
 .../compressors/bzip2/BZip2CompressorInputStream.java | 10 +-
 .../compressors/lz4/FramedLZ4CompressorInputStream.java   |  2 +-
 .../commons/compress/compressors/lzw/LZWInputStream.java  |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/932d4f89/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java 
b/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
index b6f9f12..dcc3826 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
@@ -182,7 +182,7 @@ class TapeInputStream extends FilterInputStream {
 
 if ((readOffset + (len - bytes)) <= blockSize) {
 // we can read entirely from the buffer.
-n = (long) len - bytes;
+n = len - bytes;
 } else {
 // copy what we can from the buffer.
 n = (long) blockSize - readOffset;

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/932d4f89/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
index bce1d3d..45bd063 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
@@ -396,7 +396,7 @@ public class BZip2CompressorInputStream extends 
CompressorInputStream implements
 }
 
 private static int bsGetInt(BitInputStream bin) throws IOException {
-return (int) bsR(bin, 32);
+return bsR(bin, 32);
 }
 
 /**
@@ -612,7 +612,7 @@ public class BZip2CompressorInputStream extends 
CompressorInputStream implements
 }
 
 int zn = minLens_zt;
-int zvec = (int) bsR(bin, zn);
+int zvec = bsR(bin, zn);
 while(zvec > limit_zt[zn]) {
 zn++;
 zvec = (zvec << 1) | bsR(bin, 1);
@@ -666,10 +666,10 @@ public class BZip2CompressorInputStream extends 
CompressorInputStream implements
 }
 
 int zn = minLens_zt;
-int zvec = (int) bsR(bin, zn);
+int zvec = bsR(bin, zn);
 while(zvec > limit_zt[zn]) {
 zn++;
-zvec = (zvec << 1) | (int) bsR(bin, 1);
+zvec = (zvec << 1) | bsR(bin, 1);
 }
 nextSym = perm_zt[zvec - base_zt[zn]];
 }
@@ -686,7 +686,7 @@ public class BZip2CompressorInputStream extends 
CompressorInputStream implements
 int zvec = bsR(bin, zn);
 while (zvec > limit_zt[zn]) {
 zn++;
-zvec = (zvec << 1) | (int) bsR(bin, 1);
+zvec = (zvec << 1) | bsR(bin, 1);
 }
 
 return dataShadow.perm[zt][zvec - dataShadow.base[zt][zn]];

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/932d4f89/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
index f0bb329..050deeb 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/lz4/FramedLZ4CompressorI

commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 932d4f899 -> a793612b9


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/a793612b
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/a793612b
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/a793612b

Branch: refs/heads/master
Commit: a793612b9e09795feb253aab9a738bd1f7280700
Parents: 932d4f8
Author: Philippe Mouawad 
Authored: Tue May 2 12:22:04 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 12:22:04 2017 -0700

--
 pom.xml |  7 ++
 src/changes/changes.xml |  3 +++
 .../compressors/CompressorStreamFactory.java| 25 +++-
 3 files changed, 34 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a793612b/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 9745d1b..4cc629a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,12 @@ jar, tar, zip, dump, 7z, arj.
   test
 
 
+  org.brotli
+  dec
+  0.1.1
+  true
+
+
   org.tukaani
   xz
   1.6
@@ -245,6 +251,7 @@ jar, tar, zip, dump, 7z, arj.
 
   
 
org.tukaani.xz;resolution:=optional
+
org.brotli.dec;resolution:=optional
   
 
   

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a793612b/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d40a1a8..acd06f0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -103,6 +103,9 @@ The  type attribute can be add,update,fix,remove.
 Internal location pointer in ZipFile could get incremented
 even if nothing had been read.
   
+  
+Add Brotli decoder based on the Google Brotli library.
+  
 
 

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a793612b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index b12fc1a..29cf0cf 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -31,6 +31,8 @@ import java.util.Set;
 import java.util.SortedMap;
 import java.util.TreeMap;
 
+import 
org.apache.commons.compress.compressors.brotli.BrotliCompressorInputStream;
+import org.apache.commons.compress.compressors.brotli.BrotliUtils;
 import 
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
 import 
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream;
 import 
org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream;
@@ -93,6 +95,16 @@ public class CompressorStreamFactory implements 
CompressorStreamProvider {
 
 private static final CompressorStreamFactory SINGLETON = new 
CompressorStreamFactory();
 
+
+
+/**
+ * Constant (value {@value}) used to identify the BROTLI compression
+ * algorithm.
+ * 
+ * @since 1.1
+ */
+public static final String BROTLI = "br";
+
 /**
  * Constant (value {@value}) used to identify the BZIP2 compression
  * algorithm.
@@ -263,6 +275,10 @@ public class CompressorStreamFactory implements 
CompressorStreamProvider {
 private static ArrayList 
findCompressorStreamProviders() {
 return Lists.newArrayList(serviceLoaderIterator());
 }
+
+public static String getBrotli() {
+return BROTLI;
+}
 
 public static String getBzip2() {
 return BZIP2;
@@ -524,6 +540,13 @@ public class CompressorStreamFactory implements 
CompressorStreamProvider {
 if (BZIP2.equalsIgnoreCase(name)) {
 return new BZip2CompressorInputStream(in, 
actualDecompressConcatenated);
 }
+
+if (BROTLI.equalsIgnoreCase(name)) {
+if (!BrotliUtils.isBrotliCompressionAvailable()) {
+throw new CompressorException("Brotli compression is not 
available.");
+}
+return new BrotliCompressorInputStream(in);
+}
 
 if (XZ.equalsIgnoreCase(name)) {
 if (!XZUtils.isXZCompressionAvailable()) {
@@ -677,7 +700,7 @@ public class Compre

commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master a793612b9 -> 22fe7f3c8


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/22fe7f3c
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/22fe7f3c
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/22fe7f3c

Branch: refs/heads/master
Commit: 22fe7f3c8b3fa204c2406c3d15811b2581e1b7b5
Parents: a793612
Author: Philippe Mouawad 
Authored: Tue May 2 12:23:55 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 12:23:55 2017 -0700

--
 .../brotli/BrotliCompressorInputStream.java | 151 +++
 .../compressors/brotli/BrotliUtils.java |  88 +++
 .../brotli/BrotliCompressorInputStreamTest.java | 133 
 src/test/resources/brotli.testdata.compressed   | Bin 0 -> 12 bytes
 src/test/resources/brotli.testdata.uncompressed |   1 +
 5 files changed, 373 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/22fe7f3c/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
new file mode 100644
index 000..26b56d9
--- /dev/null
+++ 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
@@ -0,0 +1,151 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.compress.compressors.brotli;
+
+import java.io.FilterInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import org.apache.commons.compress.compressors.CompressorInputStream;
+
+/**
+ * {@link FilterInputStream} implementation to decode Brotli encoded stream.
+ * Library relies on https://github.com/google/brotli";>Google 
brotli
+ * 
+ * @since 1.14
+ */
+public class BrotliCompressorInputStream extends CompressorInputStream {
+
+private org.brotli.dec.BrotliInputStream decIS;
+
+public BrotliCompressorInputStream(InputStream in) throws IOException {
+this.decIS = new org.brotli.dec.BrotliInputStream(in);
+}
+
+/**
+ * @return
+ * @throws IOException
+ * @see java.io.InputStream#available()
+ */
+public int available() throws IOException {
+return decIS.available();
+}
+
+/**
+ * @throws IOException
+ * @see org.brotli.dec.BrotliInputStream#close()
+ */
+public void close() throws IOException {
+decIS.close();
+}
+
+/**
+ * @return
+ * @see java.lang.Object#hashCode()
+ */
+public int hashCode() {
+return decIS.hashCode();
+}
+
+/** {@inheritDoc} */
+@Override
+public int read(byte[] b) throws IOException {
+return decIS.read(b);
+}
+
+/**
+ * @param obj
+ * @return
+ * @see java.lang.Object#equals(java.lang.Object)
+ */
+public boolean equals(Object obj) {
+return decIS.equals(obj);
+}
+
+/**
+ * @param n
+ * @return
+ * @throws IOException
+ * @see java.io.InputStream#skip(long)
+ */
+public long skip(long n) throws IOException {
+return decIS.skip(n);
+}
+
+/**
+ * @param readlimit
+ * @see java.io.InputStream#mark(int)
+ */
+public void mark(int readlimit) {
+decIS.mark(readlimit);
+}
+
+/**
+ * @return
+ * @see java.io.InputStream#markSupported()
+ */
+public boolean markSupported() {
+return decIS.markSupported();
+}
+
+/** {@inheritDoc} */
+@Override
+public int read() throws IOException {
+final int ret = decIS.read();
+count(ret == -1 ? 0 : 1);
+return ret;
+}
+
+/** {@inheritDoc} */
+@Override
+public int read(byte

commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library. Add missing '@Override' annotations

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 22fe7f3c8 -> 3856d3f0a


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.
Add missing '@Override' annotations

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/3856d3f0
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/3856d3f0
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/3856d3f0

Branch: refs/heads/master
Commit: 3856d3f0a0826be3ccc6b160e740d5c7176df743
Parents: 22fe7f3
Author: Gary Gregory 
Authored: Tue May 2 12:24:29 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 12:24:29 2017 -0700

--
 .../compressors/brotli/BrotliCompressorInputStream.java | 9 +
 1 file changed, 9 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/3856d3f0/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
index 26b56d9..e7fa0f3 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
@@ -42,6 +42,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @throws IOException
  * @see java.io.InputStream#available()
  */
+@Override
 public int available() throws IOException {
 return decIS.available();
 }
@@ -50,6 +51,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @throws IOException
  * @see org.brotli.dec.BrotliInputStream#close()
  */
+@Override
 public void close() throws IOException {
 decIS.close();
 }
@@ -58,6 +60,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @return
  * @see java.lang.Object#hashCode()
  */
+@Override
 public int hashCode() {
 return decIS.hashCode();
 }
@@ -73,6 +76,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @return
  * @see java.lang.Object#equals(java.lang.Object)
  */
+@Override
 public boolean equals(Object obj) {
 return decIS.equals(obj);
 }
@@ -83,6 +87,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @throws IOException
  * @see java.io.InputStream#skip(long)
  */
+@Override
 public long skip(long n) throws IOException {
 return decIS.skip(n);
 }
@@ -91,6 +96,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @param readlimit
  * @see java.io.InputStream#mark(int)
  */
+@Override
 public void mark(int readlimit) {
 decIS.mark(readlimit);
 }
@@ -99,6 +105,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @return
  * @see java.io.InputStream#markSupported()
  */
+@Override
 public boolean markSupported() {
 return decIS.markSupported();
 }
@@ -123,6 +130,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @return
  * @see java.lang.Object#toString()
  */
+@Override
 public String toString() {
 return decIS.toString();
 }
@@ -131,6 +139,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @throws IOException
  * @see java.io.InputStream#reset()
  */
+@Override
 public void reset() throws IOException {
 decIS.reset();
 }



commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library. Use final.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 3856d3f0a -> 4cc3f6e7d


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.
Use final.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/4cc3f6e7
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/4cc3f6e7
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/4cc3f6e7

Branch: refs/heads/master
Commit: 4cc3f6e7dbee9e3684884780af82822485c4c7c2
Parents: 3856d3f
Author: Gary Gregory 
Authored: Tue May 2 12:25:19 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 12:25:19 2017 -0700

--
 .../brotli/BrotliCompressorInputStream.java   | 14 +++---
 .../brotli/BrotliCompressorInputStreamTest.java   |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/4cc3f6e7/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
index e7fa0f3..1654b86 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
@@ -31,9 +31,9 @@ import 
org.apache.commons.compress.compressors.CompressorInputStream;
  */
 public class BrotliCompressorInputStream extends CompressorInputStream {
 
-private org.brotli.dec.BrotliInputStream decIS;
+private final org.brotli.dec.BrotliInputStream decIS;
 
-public BrotliCompressorInputStream(InputStream in) throws IOException {
+public BrotliCompressorInputStream(final InputStream in) throws 
IOException {
 this.decIS = new org.brotli.dec.BrotliInputStream(in);
 }
 
@@ -67,7 +67,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
 
 /** {@inheritDoc} */
 @Override
-public int read(byte[] b) throws IOException {
+public int read(final byte[] b) throws IOException {
 return decIS.read(b);
 }
 
@@ -77,7 +77,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @see java.lang.Object#equals(java.lang.Object)
  */
 @Override
-public boolean equals(Object obj) {
+public boolean equals(final Object obj) {
 return decIS.equals(obj);
 }
 
@@ -88,7 +88,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @see java.io.InputStream#skip(long)
  */
 @Override
-public long skip(long n) throws IOException {
+public long skip(final long n) throws IOException {
 return decIS.skip(n);
 }
 
@@ -97,7 +97,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
  * @see java.io.InputStream#mark(int)
  */
 @Override
-public void mark(int readlimit) {
+public void mark(final int readlimit) {
 decIS.mark(readlimit);
 }
 
@@ -120,7 +120,7 @@ public class BrotliCompressorInputStream extends 
CompressorInputStream {
 
 /** {@inheritDoc} */
 @Override
-public int read(byte[] buf, int off, int len) throws IOException {
+public int read(final byte[] buf, final int off, final int len) throws 
IOException {
 final int ret = decIS.read(buf, off, len);
 count(ret);
 return ret;

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/4cc3f6e7/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
--
diff --git 
a/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
 
b/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
index 3aca075..ef4294b 100644
--- 
a/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
@@ -46,7 +46,7 @@ public class BrotliCompressorInputStreamTest {
 BrotliCompressorInputStream brotliInputStream = new 
BrotliCompressorInputStream(inputStream)) {
 final byte[] b = new byte[20];
 IOUtils.readFully(expectedStream, b);
-ByteArrayOutputStream bos = new ByteArrayOutputStream();
+final ByteArrayOutputStream bos = new ByteArrayOutputStream();
 int readByte = -1;
 while((readByte = brotliInputStream.read(

commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library. Site docs.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 4cc3f6e7d -> 69e53a402


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.
Site docs.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/69e53a40
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/69e53a40
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/69e53a40

Branch: refs/heads/master
Commit: 69e53a402cdca4de155f087cf7f02d461db3de36
Parents: 4cc3f6e
Author: Gary Gregory 
Authored: Tue May 2 12:28:03 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 12:28:03 2017 -0700

--
 src/site/xdoc/index.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/69e53a40/src/site/xdoc/index.xml
--
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index df42b69..f4f77f1 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -61,6 +61,7 @@
 
   Added support for writing the Snappy format
   Added support for the LZ4 compression format
+  Added support for Brotli decompression
 
   
   



commons-compress git commit: [COMPRESS-392] Add Brotli decoder based on the Google Brotli library. Fix @since tag.

2017-05-02 Thread ggregory
Repository: commons-compress
Updated Branches:
  refs/heads/master 69e53a402 -> d40b05aee


[COMPRESS-392] Add Brotli decoder based on the Google Brotli library.
Fix @since tag.

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/d40b05ae
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/d40b05ae
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/d40b05ae

Branch: refs/heads/master
Commit: d40b05aee433424281114f921ad501940d2890db
Parents: 69e53a4
Author: Gary Gregory 
Authored: Tue May 2 16:25:02 2017 -0700
Committer: Gary Gregory 
Committed: Tue May 2 16:25:02 2017 -0700

--
 .../commons/compress/compressors/CompressorStreamFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d40b05ae/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
--
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index 29cf0cf..4bd22aa 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -101,7 +101,7 @@ public class CompressorStreamFactory implements 
CompressorStreamProvider {
  * Constant (value {@value}) used to identify the BROTLI compression
  * algorithm.
  * 
- * @since 1.1
+ * @since 1.14
  */
 public static final String BROTLI = "br";
 



[lang] [LANG-1331] ImmutablePair.nullPair()

2017-05-14 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master 340f5f70e -> 776b86e99


[LANG-1331] ImmutablePair.nullPair()

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/776b86e9
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/776b86e9
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/776b86e9

Branch: refs/heads/master
Commit: 776b86e99a1ce18a5093db457109807b766d49c1
Parents: 340f5f7
Author: Gary Gregory 
Authored: Sun May 14 20:33:59 2017 -0700
Committer: Gary Gregory 
Committed: Sun May 14 20:33:59 2017 -0700

--
 src/changes/changes.xml |  1 +
 .../commons/lang3/tuple/ImmutablePair.java  | 18 +
 .../commons/lang3/tuple/ImmutablePairTest.java  | 42 +++-
 3 files changed, 60 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/776b86e9/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index dc6b795..768644c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -90,6 +90,7 @@ The  type attribute can be add,update,fix,remove.
 Add ArchUtils - An utility class for the "os.arch" system 
property
 Add shuffle methods to 
ArrayUtils
 Add MethodUtils#findAnnotation and extend 
MethodUtils#getMethodsWithAnnotation for non-public, super-class and interface 
methods
+Add 
ImmutablePair.nullPair()
   
 
   

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/776b86e9/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
--
diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java 
b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
index c2b92be..689ad24 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
@@ -33,9 +33,27 @@ package org.apache.commons.lang3.tuple;
  */
 public final class ImmutablePair extends Pair {
 
+/**
+ * An immutable pair of nulls.
+ */
+// This is not defined with generics to avoid warnings in call sites.
+@SuppressWarnings("rawtypes")
+private static final ImmutablePair NULL = ImmutablePair.of(null, null);
+
 /** Serialization version */
 private static final long serialVersionUID = 4954918890077093841L;
 
+/** 
+ * Returns an immutable pair of nulls.
+ * 
+ * @return an immutable pair of nulls. 
+ * @since 3.6
+ */
+@SuppressWarnings("rawtypes")
+public static  ImmutablePair nullPair() {
+return NULL;
+}
+
 /** Left object */
 public final L left;
 /** Right object */

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/776b86e9/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java
--
diff --git 
a/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java 
b/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java
index f73d7b5..eaedef3 100644
--- a/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java
+++ b/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java
@@ -18,7 +18,9 @@ package org.apache.commons.lang3.tuple;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
 
 import java.io.ByteArrayInputStream;
@@ -76,7 +78,45 @@ public class ImmutablePairTest {
 public void testHashCode() throws Exception {
 assertEquals(ImmutablePair.of(null, "foo").hashCode(), 
ImmutablePair.of(null, "foo").hashCode());
 }
-
+
+@Test
+public void testNullPairEquals() {
+assertEquals(ImmutablePair.nullPair(), ImmutablePair.nullPair());
+}
+
+@Test
+public void testNullPairSame() {
+assertSame(ImmutablePair.nullPair(), ImmutablePair.nullPair());
+}
+
+@Test
+public void testNullPairLeft() {
+assertNull(ImmutablePair.nullPair().getLeft());
+}
+
+@Test
+public void testNullPairKey() {
+assertNull(ImmutablePair.nullPair().getKey());
+}
+
+@Test
+public void testNullPairRight() {
+assertNull(ImmutablePair.nullPair().getRight());
+}
+
+@Test
+public void testNullPairValue() {
+assertNull(ImmutablePair.nullPair().getValue());
+}
+
+@Test
+public void testNullPairTyped() {
+// No compiler w

[lang] [LANG-1331] ImmutablePair.nullPair() Update @SuppressWarnings.

2017-05-14 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master 776b86e99 -> e1bc28624


[LANG-1331] ImmutablePair.nullPair() Update @SuppressWarnings.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/e1bc2862
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/e1bc2862
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/e1bc2862

Branch: refs/heads/master
Commit: e1bc286245ce5f798b5312d65bba64c71921a3f4
Parents: 776b86e
Author: Gary Gregory 
Authored: Sun May 14 20:36:31 2017 -0700
Committer: Gary Gregory 
Committed: Sun May 14 20:36:31 2017 -0700

--
 src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/e1bc2862/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
--
diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java 
b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
index 689ad24..85409fe 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
@@ -49,7 +49,7 @@ public final class ImmutablePair extends Pair {
  * @return an immutable pair of nulls. 
  * @since 3.6
  */
-@SuppressWarnings("rawtypes")
+@SuppressWarnings("unchecked")
 public static  ImmutablePair nullPair() {
 return NULL;
 }



[lang] [LANG-1332] ImmutableTriple.nullTriple()

2017-05-14 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master e1bc28624 -> 585b1cb97


[LANG-1332] ImmutableTriple.nullTriple()

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/585b1cb9
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/585b1cb9
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/585b1cb9

Branch: refs/heads/master
Commit: 585b1cb97b4b9e81b55d68e04b6c1e1195058a8f
Parents: e1bc286
Author: Gary Gregory 
Authored: Sun May 14 20:41:59 2017 -0700
Committer: Gary Gregory 
Committed: Sun May 14 20:41:59 2017 -0700

--
 src/changes/changes.xml |  1 +
 .../commons/lang3/tuple/ImmutableTriple.java| 18 ++
 .../lang3/tuple/ImmutableTripleTest.java| 35 
 3 files changed, 54 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/585b1cb9/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 768644c..c106896 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -91,6 +91,7 @@ The  type attribute can be add,update,fix,remove.
 Add shuffle methods to 
ArrayUtils
 Add MethodUtils#findAnnotation and extend 
MethodUtils#getMethodsWithAnnotation for non-public, super-class and interface 
methods
 Add 
ImmutablePair.nullPair()
+Add 
ImmutableTriple.nullTriple()
   
 
   

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/585b1cb9/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
--
diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java 
b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
index 68ef742..49f5746 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
@@ -34,9 +34,27 @@ package org.apache.commons.lang3.tuple;
  */
 public final class ImmutableTriple extends Triple {
 
+/**
+ * An immutable triple of nulls.
+ */
+// This is not defined with generics to avoid warnings in call sites.
+@SuppressWarnings("rawtypes")
+private static final ImmutableTriple NULL = ImmutableTriple.of(null, null, 
null);
+
 /** Serialization version */
 private static final long serialVersionUID = 1L;
 
+/** 
+ * Returns an immutable triple of nulls.
+ * 
+ * @return an immutable triple of nulls. 
+ * @since 3.6
+ */
+@SuppressWarnings("unchecked")
+public static  ImmutableTriple nullTriple() {
+return NULL;
+}
+
 /** Left object */
 public final L left;
 /** Middle object */

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/585b1cb9/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java
--
diff --git 
a/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java 
b/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java
index 3e36932..3be6660 100644
--- a/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java
+++ b/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java
@@ -18,7 +18,9 @@ package org.apache.commons.lang3.tuple;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
 
 import java.io.ByteArrayInputStream;
@@ -86,6 +88,39 @@ public class ImmutableTripleTest {
 }
 
 @Test
+public void testNullTripleEquals() {
+assertEquals(ImmutableTriple.nullTriple(), 
ImmutableTriple.nullTriple());
+}
+
+@Test
+public void testNullTripleSame() {
+assertSame(ImmutableTriple.nullTriple(), ImmutableTriple.nullTriple());
+}
+
+@Test
+public void testNullTripleLeft() {
+assertNull(ImmutableTriple.nullTriple().getLeft());
+}
+
+@Test
+public void testNullTripleMiddle() {
+assertNull(ImmutableTriple.nullTriple().getMiddle());
+}
+
+@Test
+public void testNullTripleRight() {
+assertNull(ImmutableTriple.nullTriple().getRight());
+}
+
+@Test
+public void testNullTripleTyped() {
+// No compiler warnings
+// How do we assert that?
+ImmutableTriple triple = 
ImmutableTriple.nullTriple();
+assertNotNull(triple);
+}
+
+@Test
 public void testToString() throws Exception {
 assertEquals("(null,null

[lang] Make code more readable with less nesting (move block out of else clause).

2017-05-25 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master ef3015cc9 -> 6a688cf36


Make code more readable with less nesting (move block out of else
clause).

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6a688cf3
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6a688cf3
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6a688cf3

Branch: refs/heads/master
Commit: 6a688cf36e23aded8c9796b786e92144cb4a5830
Parents: ef3015c
Author: Gary Gregory 
Authored: Thu May 25 09:25:56 2017 -0700
Committer: Gary Gregory 
Committed: Thu May 25 09:25:56 2017 -0700

--
 .../java/org/apache/commons/lang3/CharSetUtils.java   | 14 ++
 .../org/apache/commons/lang3/math/NumberUtils.java|  3 +--
 .../java/org/apache/commons/lang3/text/WordUtils.java |  3 +--
 3 files changed, 8 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6a688cf3/src/main/java/org/apache/commons/lang3/CharSetUtils.java
--
diff --git a/src/main/java/org/apache/commons/lang3/CharSetUtils.java 
b/src/main/java/org/apache/commons/lang3/CharSetUtils.java
index 84c1d09..015eeb8 100644
--- a/src/main/java/org/apache/commons/lang3/CharSetUtils.java
+++ b/src/main/java/org/apache/commons/lang3/CharSetUtils.java
@@ -78,15 +78,13 @@ public class CharSetUtils {
 if (ch == lastChar) {
 if (inChars != null && ch == inChars) {
 continue;
-} else {
-if (notInChars == null || ch != notInChars) {
-if (chars.contains(ch)) {
-inChars = ch;
-continue;
-} else {
-notInChars = ch;
-}
+}
+if (notInChars == null || ch != notInChars) {
+if (chars.contains(ch)) {
+inChars = ch;
+continue;
 }
+notInChars = ch;
 }
 }
 buffer.append(ch);

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6a688cf3/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
--
diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java 
b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
index f77bf10..0d512fe 100644
--- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
+++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
@@ -1542,9 +1542,8 @@ public class NumberUtils {
 return false;
 }
 return withDecimalsParsing(str, 1);
-} else {
-return withDecimalsParsing(str, 0);
 }
+return withDecimalsParsing(str, 0);
 }
 
 private static boolean withDecimalsParsing(final String str, final int 
beginIdx) {

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6a688cf3/src/main/java/org/apache/commons/lang3/text/WordUtils.java
--
diff --git a/src/main/java/org/apache/commons/lang3/text/WordUtils.java 
b/src/main/java/org/apache/commons/lang3/text/WordUtils.java
index 16ae683..66ce445 100644
--- a/src/main/java/org/apache/commons/lang3/text/WordUtils.java
+++ b/src/main/java/org/apache/commons/lang3/text/WordUtils.java
@@ -293,9 +293,8 @@ public class WordUtils {
 if (matcher.start() == 0) {
 offset += matcher.end();
 continue;
-}else {
-spaceToWrapAt = matcher.start() + offset;
 }
+spaceToWrapAt = matcher.start() + offset;
 }
 
 // only last line without leading spaces is left



[lang] Add missing '@Deprecated' annotations.

2017-05-25 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master 6a688cf36 -> 8cfc1b120


Add missing '@Deprecated' annotations.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8cfc1b12
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8cfc1b12
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8cfc1b12

Branch: refs/heads/master
Commit: 8cfc1b1207577943d412789765a3a2085f1b3036
Parents: 6a688cf
Author: Gary Gregory 
Authored: Thu May 25 09:28:33 2017 -0700
Committer: Gary Gregory 
Committed: Thu May 25 09:28:33 2017 -0700

--
 src/main/java/org/apache/commons/lang3/CharEncoding.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8cfc1b12/src/main/java/org/apache/commons/lang3/CharEncoding.java
--
diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java 
b/src/main/java/org/apache/commons/lang3/CharEncoding.java
index 65dca33..634b3af 100644
--- a/src/main/java/org/apache/commons/lang3/CharEncoding.java
+++ b/src/main/java/org/apache/commons/lang3/CharEncoding.java
@@ -96,6 +96,7 @@ public class CharEncoding {
  * @deprecated Please use {@link Charset#isSupported(String)} instead, 
although be aware that {@code null}
  * values are not accepted by that method and an {@link 
IllegalCharsetNameException} may be thrown.
  */
+@Deprecated
 public static boolean isSupported(final String name) {
 if (name == null) {
 return false;



[lang] Add missing Javadoc.

2017-05-25 Thread ggregory
Repository: commons-lang
Updated Branches:
  refs/heads/master 8cfc1b120 -> 577f7b3b5


Add missing Javadoc.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/577f7b3b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/577f7b3b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/577f7b3b

Branch: refs/heads/master
Commit: 577f7b3b5462fdf84c0956a3bec5296bf7821677
Parents: 8cfc1b1
Author: ggregory 
Authored: Thu May 25 10:38:30 2017 -0700
Committer: ggregory 
Committed: Thu May 25 10:38:30 2017 -0700

--
 .../apache/commons/lang3/arch/Processor.java| 39 ++--
 1 file changed, 36 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/577f7b3b/src/main/java/org/apache/commons/lang3/arch/Processor.java
--
diff --git a/src/main/java/org/apache/commons/lang3/arch/Processor.java 
b/src/main/java/org/apache/commons/lang3/arch/Processor.java
index 1d03a83..9f6b3db 100644
--- a/src/main/java/org/apache/commons/lang3/arch/Processor.java
+++ b/src/main/java/org/apache/commons/lang3/arch/Processor.java
@@ -35,7 +35,21 @@ public class Processor {
  * 
  */
 public enum Arch {
-BIT_32, BIT_64, UNKNOWN
+
+/**
+ * A 32-bit processor architecture.
+ */
+BIT_32, 
+
+/**
+ * A 64-bit processor architecture.
+ */
+BIT_64, 
+
+/**
+ * An unknown-bit processor architecture.
+ */
+UNKNOWN
 }
 
 /**
@@ -49,14 +63,33 @@ public class Processor {
  * 
  */
 public enum Type {
-X86, IA_64, PPC, UNKNOWN
+
+/**
+ * Intel x86 series of instruction set architectures.
+ */
+X86, 
+
+/**
+ * Intel Itanium  64-bit architecture.
+ */
+IA_64, 
+
+/**
+ * Apple–IBM–Motorola PowerPC architecture.
+ */
+PPC, 
+
+/**
+ * Unknown architecture.
+ */
+UNKNOWN
 }
 
 private final Arch arch;
 private final Type type;
 
 /**
- * Constructs a {@link Processor}object with the given
+ * Constructs a {@link Processor} object with the given
  * parameters.
  *
  * @param arch The processor architecture.



svn commit: r1796363 - in /commons/proper/cli/trunk/src: changes/changes.xml main/java/org/apache/commons/cli/DefaultParser.java

2017-05-26 Thread ggregory
Author: ggregory
Date: Sat May 27 01:54:41 2017
New Revision: 1796363

URL: http://svn.apache.org/viewvc?rev=1796363&view=rev
Log:
[CLI-276] Adjust access-modifier of checkRequiredOptions() to protected.

Modified:
commons/proper/cli/trunk/src/changes/changes.xml

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java

Modified: commons/proper/cli/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/changes/changes.xml?rev=1796363&r1=1796362&r2=1796363&view=diff
==
--- commons/proper/cli/trunk/src/changes/changes.xml (original)
+++ commons/proper/cli/trunk/src/changes/changes.xml Sat May 27 01:54:41 2017
@@ -26,6 +26,9 @@
   
 CommandLine.getXXX and CommandLine.hasXXX should accept an Option as a 
parameter
   
+  
+Adjust access-modifier of checkRequiredOptions() to protected.
+  
 
 
 

Modified: 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java?rev=1796363&r1=1796362&r2=1796363&view=diff
==
--- 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
 (original)
+++ 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
 Sat May 27 01:54:41 2017
@@ -191,7 +191,7 @@ public class DefaultParser implements Co
  * @throws MissingOptionException if any of the required Options
  * are not present.
  */
-private void checkRequiredOptions() throws MissingOptionException
+protected void checkRequiredOptions() throws MissingOptionException
 {
 // if there are required options that have not been processed
 if (!expectedOpts.isEmpty())




svn commit: r1796924 - in /commons: _moved_to_git/imaging/ proper/imaging/

2017-05-30 Thread ggregory
Author: ggregory
Date: Tue May 30 20:02:16 2017
New Revision: 1796924

URL: http://svn.apache.org/viewvc?rev=1796924&view=rev
Log:
Move Apache Commons Imaging from Subversion to Git

Added:
commons/_moved_to_git/imaging/
  - copied from r1796923, commons/proper/imaging/
Removed:
commons/proper/imaging/



svn commit: r1796928 - in /commons/trunks-proper/imaging: ./ ImagingNowUsesGit.txt

2017-05-30 Thread ggregory
Author: ggregory
Date: Tue May 30 20:11:06 2017
New Revision: 1796928

URL: http://svn.apache.org/viewvc?rev=1796928&view=rev
Log:
Commons Imaging has moved to Git.

Added:
commons/trunks-proper/imaging/
commons/trunks-proper/imaging/ImagingNowUsesGit.txt

Added: commons/trunks-proper/imaging/ImagingNowUsesGit.txt
URL: 
http://svn.apache.org/viewvc/commons/trunks-proper/imaging/ImagingNowUsesGit.txt?rev=1796928&view=auto
==
--- commons/trunks-proper/imaging/ImagingNowUsesGit.txt (added)
+++ commons/trunks-proper/imaging/ImagingNowUsesGit.txt Tue May 30 20:11:06 2017
@@ -0,0 +1,7 @@
+The Commons Imaging project now uses Git for its source code respository.
+
+
+
+Please see 
https://commons.apache.org/proper/commons-imaging/source-repository.html
+The SVN tree has been moved to:
+https://svn.apache.org/repos/asf/commons/_moved_to_git/imaging




svn commit: r1796931 - in /commons: proper/imaging/ trunks-proper/imaging/

2017-05-30 Thread ggregory
Author: ggregory
Date: Tue May 30 20:15:19 2017
New Revision: 1796931

URL: http://svn.apache.org/viewvc?rev=1796931&view=rev
Log:
Move Apache Commons Imaging from Subversion to Git

Added:
commons/proper/imaging/
  - copied from r1796930, commons/trunks-proper/imaging/
Removed:
commons/trunks-proper/imaging/



commons-io git commit: [IO-537] BOMInputStream shouldn't sort array of BOMs in-place.

2017-06-03 Thread ggregory
Repository: commons-io
Updated Branches:
  refs/heads/master f7a11c993 -> d4f28d7ff


[IO-537] BOMInputStream shouldn't sort array of BOMs in-place.

Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/d4f28d7f
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/d4f28d7f
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/d4f28d7f

Branch: refs/heads/master
Commit: d4f28d7ff397386b208823c577180938e15769d3
Parents: f7a11c9
Author: Gary Gregory 
Authored: Sat Jun 3 10:29:41 2017 -0700
Committer: Gary Gregory 
Committed: Sat Jun 3 10:29:41 2017 -0700

--
 src/changes/changes.xml   | 3 +++
 src/main/java/org/apache/commons/io/input/BOMInputStream.java | 6 --
 2 files changed, 7 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-io/blob/d4f28d7f/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a395005..dd97dc6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -83,6 +83,9 @@ The  type attribute can be add,update,fix,remove.
   
 Update platform requirement to Java 7.
   
+  
+BOMInputStream shouldn't sort array of BOMs in-place.
+  
   
 Deprecate methods FileSystemUtils.freeSpaceKb().
   

http://git-wip-us.apache.org/repos/asf/commons-io/blob/d4f28d7f/src/main/java/org/apache/commons/io/input/BOMInputStream.java
--
diff --git a/src/main/java/org/apache/commons/io/input/BOMInputStream.java 
b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
index f53e061..02b4f2f 100644
--- a/src/main/java/org/apache/commons/io/input/BOMInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
@@ -21,6 +21,7 @@ import static org.apache.commons.io.IOUtils.EOF;
 import java.io.IOException;
 import java.io.InputStream;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.Comparator;
 import java.util.List;
 
@@ -168,9 +169,10 @@ public class BOMInputStream extends ProxyInputStream {
 throw new IllegalArgumentException("No BOMs specified");
 }
 this.include = include;
+List list = Arrays.asList(boms);
 // Sort the BOMs to match the longest BOM first because some BOMs have 
the same starting two bytes.
-Arrays.sort(boms, ByteOrderMarkLengthComparator);
-this.boms = Arrays.asList(boms);
+Collections.sort(list, ByteOrderMarkLengthComparator);
+this.boms = list;
 
 }
 



svn commit: r1797673 [3/3] - in /commons/proper/cli/trunk/src: main/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/bug/

2017-06-05 Thread ggregory
Modified: 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java?rev=1797673&r1=1797672&r2=1797673&view=diff
==
--- 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java
 (original)
+++ 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java
 Mon Jun  5 16:37:32 2017
@@ -46,20 +46,20 @@ public class BugCLI148Test
 @Test
 public void testWorkaround1() throws Exception
 {
-CommandLineParser parser = new PosixParser();
-String[] args = new String[]{ "-t-something" };
+final CommandLineParser parser = new PosixParser();
+final String[] args = new String[]{ "-t-something" };
 
-CommandLine commandLine = parser.parse(options, args);
+final CommandLine commandLine = parser.parse(options, args);
 assertEquals("-something", commandLine.getOptionValue('t'));
 }
 
 @Test
 public void testWorkaround2() throws Exception
 {
-CommandLineParser parser = new PosixParser();
-String[] args = new String[]{ "-t", "\"-something\"" };
+final CommandLineParser parser = new PosixParser();
+final String[] args = new String[]{ "-t", "\"-something\"" };
 
-CommandLine commandLine = parser.parse(options, args);
+final CommandLine commandLine = parser.parse(options, args);
 assertEquals("-something", commandLine.getOptionValue('t'));
 }
 }

Modified: 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java?rev=1797673&r1=1797672&r2=1797673&view=diff
==
--- 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java
 (original)
+++ 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java
 Mon Jun  5 16:37:32 2017
@@ -48,12 +48,12 @@ public class BugCLI162Test
 
 @Test
 public void testInfiniteLoop() {
-Options options = new Options();
+final Options options = new Options();
 options.addOption("h", "help", false, "This is a long 
description");
 // used to hang & crash
 formatter.printHelp(new PrintWriter(sw), 20, "app", null, options, 
HelpFormatter.DEFAULT_LEFT_PAD, HelpFormatter.DEFAULT_DESC_PAD, null);
 
-String expected = "usage: app" + CR +
+final String expected = "usage: app" + CR +
 " -h,--help   This is" + CR +
 " a" + CR +
 " lon" + CR +
@@ -181,8 +181,8 @@ public class BugCLI162Test
 + " \"pname1 pname2\"");
 commandLineOptions.addOption(option);
 //
-OptionGroup pOutTypesOptionGroup = new OptionGroup();
-String pOutTypesOptionGroupDoc = OPT + OPT_PARAM_TYPES_INT + " and " + 
OPT + OPT_PARAM_TYPES_NAME + " are mutually exclusive.";
+final OptionGroup pOutTypesOptionGroup = new OptionGroup();
+final String pOutTypesOptionGroupDoc = OPT + OPT_PARAM_TYPES_INT + " 
and " + OPT + OPT_PARAM_TYPES_NAME + " are mutually exclusive.";
 final String typesClassName = Types.class.getName();
 option = new Option(OPT_PARAM_TYPES_INT, "paramTypes", true, 
"Parameter types from "
 + typesClassName
@@ -204,8 +204,8 @@ public class BugCLI162Test
 commandLineOptions.addOption(option);
 commandLineOptions.addOptionGroup(pOutTypesOptionGroup);
 //
-OptionGroup modesOptionGroup = new OptionGroup();
-String modesOptionGroupDoc = OPT + OPT_PARAM_MODES_INT + " and " + OPT 
+ OPT_PARAM_MODES_NAME + " are mutually exclusive.";
+final OptionGroup modesOptionGroup = new OptionGroup();
+final String modesOptionGroupDoc = OPT + OPT_PARAM_MODES_INT + " and " 
+ OPT + OPT_PARAM_MODES_NAME + " are mutually exclusive.";
 option = new Option(OPT_PARAM_MODES_INT, "paramModes", true, 
"Parameters modes ("
 + ParameterMetaData.parameterModeIn
 + "=IN, "
@@ -250,7 +250,7 @@ public class BugCLI162Test
 commandLineOptions.addOption(option);
 
 formatter.printHelp(new PrintWriter(sw), HelpFormatter.DEFAULT_WIDTH, 
this.getClass().getName(), null, commandLineOptions, 
HelpFormatter.DEFAULT_LEFT_PAD, HelpFormatter.DEFAULT_DESC_PAD, null);
-String expected = "usage: org.apache.commons.cli.bug.BugCLI162Test" + 
CR +
+final String expected = "usage: 
org.apache.commons.cli.bug.BugCLI162Test" + CR +
 " -2,--jdbc2sfmd Converts the JDBC file in the 
first argument" + CR +
 "   

svn commit: r1797673 [1/3] - in /commons/proper/cli/trunk/src: main/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/bug/

2017-06-05 Thread ggregory
Author: ggregory
Date: Mon Jun  5 16:37:32 2017
New Revision: 1797673

URL: http://svn.apache.org/viewvc?rev=1797673&view=rev
Log:
Add final modifier to local variables.

Modified:

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionGroup.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionValidator.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PosixParser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/TypeHandler.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Util.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/HelpFormatterTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionBuilderTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI18Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI265Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugsTest.java

Modified: 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java?rev=1797673&r1=1797672&r2=1797673&view=diff
==
--- 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
 (original)
+++ 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
 Mon Jun  5 16:37:32 2017
@@ -66,11 +66,11 @@ public class AmbiguousOptionException ex
  */
 private static String createMessage(String option, Collection 
matchingOptions)
 {
-StringBuilder buf = new StringBuilder("Ambiguous option: '");
+final StringBuilder buf = new StringBuilder("Ambiguous option: '");
 buf.append(option);
 buf.append("'  (could be: ");
 
-Iterator it = matchingOptions.iterator();
+final Iterator it = matchingOptions.iterator();
 while (it.hasNext())
 {
 buf.append("'");

Modified: 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java?rev=1797673&r1=1797672&r2=1797673&view=diff
==
--- 
commons/proper/cli/trunk/src/mai

svn commit: r1797673 [2/3] - in /commons/proper/cli/trunk/src: main/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/bug/

2017-06-05 Thread ggregory
Modified: 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionBuilderTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionBuilderTest.java?rev=1797673&r1=1797672&r2=1797673&view=diff
==
--- 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionBuilderTest.java
 (original)
+++ 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionBuilderTest.java
 Mon Jun  5 16:37:32 2017
@@ -29,7 +29,7 @@ public class OptionBuilderTest
 {
 @Test
 public void testCompleteOption( ) {
-Option simple = OptionBuilder.withLongOpt( "simple option")
+final Option simple = OptionBuilder.withLongOpt( "simple option")
  .hasArg( )
  .isRequired( )
  .hasArgs( )
@@ -80,7 +80,7 @@ public class OptionBuilderTest
 
 @Test
 public void testBaseOptionCharOpt() {
-Option base = OptionBuilder.withDescription( "option description")
+final Option base = OptionBuilder.withDescription( "option 
description")
.create( 'o' );
 
 assertEquals( "o", base.getOpt() );
@@ -90,7 +90,7 @@ public class OptionBuilderTest
 
 @Test
 public void testBaseOptionStringOpt() {
-Option base = OptionBuilder.withDescription( "option description")
+final Option base = OptionBuilder.withDescription( "option 
description")
.create( "o" );
 
 assertEquals( "o", base.getOpt() );
@@ -102,18 +102,18 @@ public class OptionBuilderTest
 public void testSpecialOptChars() throws Exception
 {
 // '?'
-Option opt1 = OptionBuilder.withDescription("help 
options").create('?');
+final Option opt1 = OptionBuilder.withDescription("help 
options").create('?');
 assertEquals("?", opt1.getOpt());
 
 // '@'
-Option opt2 = OptionBuilder.withDescription("read from 
stdin").create('@');
+final Option opt2 = OptionBuilder.withDescription("read from 
stdin").create('@');
 assertEquals("@", opt2.getOpt());
 
 // ' '
 try {
 OptionBuilder.create(' ');
 fail( "IllegalArgumentException not caught" );
-} catch (IllegalArgumentException e) {
+} catch (final IllegalArgumentException e) {
 // success
 }
 }
@@ -121,7 +121,7 @@ public class OptionBuilderTest
 @Test
 public void testOptionArgNumbers()
 {
-Option opt = OptionBuilder.withDescription( "option description" )
+final Option opt = OptionBuilder.withDescription( "option description" 
)
   .hasArgs( 2 )
   .create( 'o' );
 assertEquals( 2, opt.getArgs() );
@@ -134,7 +134,7 @@ public class OptionBuilderTest
 OptionBuilder.withDescription( "option description" ).create( '"' 
);
 fail( "IllegalArgumentException not caught" );
 }
-catch( IllegalArgumentException exp ) {
+catch( final IllegalArgumentException exp ) {
 // success
 }
 
@@ -143,7 +143,7 @@ public class OptionBuilderTest
 OptionBuilder.create( "opt`" );
 fail( "IllegalArgumentException not caught" );
 }
-catch( IllegalArgumentException exp ) {
+catch( final IllegalArgumentException exp ) {
 // success
 }
 
@@ -152,7 +152,7 @@ public class OptionBuilderTest
 OptionBuilder.create( "opt" );
 // success
 }
-catch( IllegalArgumentException exp ) {
+catch( final IllegalArgumentException exp ) {
 fail( "IllegalArgumentException caught" );
 }
 }
@@ -164,7 +164,7 @@ public class OptionBuilderTest
 OptionBuilder.hasArg().create();
 fail("Incomplete option should be rejected");
 }
-catch (IllegalArgumentException e)
+catch (final IllegalArgumentException e)
 {
 // expected
 
@@ -180,7 +180,7 @@ public class OptionBuilderTest
 OptionBuilder.withDescription("JUnit").create('"');
 fail("IllegalArgumentException expected");
 }
-catch (IllegalArgumentException e)
+catch (final IllegalArgumentException e)
 {
 // expected
 }
@@ -191,7 +191,7 @@ public class OptionBuilderTest
 OptionBuilder.withDescription("JUnit").create();
 fail("IllegalArgumentException expected");
 }
-catch (IllegalArgumentException e)
+catch (final IllegalArgumentException e)
 {
 // expected
 }

Modified: 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java
URL: 
http://svn.ap

svn commit: r1797674 - in /commons/proper/cli/trunk/src: main/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/ test/java/org/apache/commons/cli/bug/

2017-06-05 Thread ggregory
Author: ggregory
Date: Mon Jun  5 16:38:04 2017
New Revision: 1797674

URL: http://svn.apache.org/viewvc?rev=1797674&view=rev
Log:
Add final modifier to method parameters.

Modified:

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AlreadySelectedException.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/BasicParser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/GnuParser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/HelpFormatter.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingArgumentException.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionGroup.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionValidator.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Options.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/ParseException.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Parser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/PosixParser.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/TypeHandler.java

commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/UnrecognizedOptionException.java
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Util.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/HelpFormatterTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java

Modified: 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AlreadySelectedException.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AlreadySelectedException.java?rev=1797674&r1=1797673&r2=1797674&view=diff
==
--- 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AlreadySelectedException.java
 (original)
+++ 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AlreadySelectedException.java
 Mon Jun  5 16:38:04 2017
@@ -42,7 +42,7 @@ public class AlreadySelectedException ex
  *
  * @param message the detail message
  */
-public AlreadySelectedException(String message)
+public AlreadySelectedException(final String message)
 {
 super(message);
 }
@@ -55,7 +55,7 @@ public class AlreadySelectedException ex
  * @param option the option that triggered the exception
  * @since 1.2
  */
-public AlreadySelectedException(OptionGroup group, Option option)
+public AlreadySelectedException(final OptionGroup group, final Option 
option)
 {
 this("The option '" + option.getKey() + "' was specified but an option 
from this group "
 + "has already been selected: '" + group.getSelected() + "'");

Modified: 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java?rev=1797674&r1=1797673&r2=1797674&view=diff
==
--- 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
 (original)
+++ 
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/AmbiguousOptionException.java
 Mon Jun  5 16:38:04 2017
@@ -42,7 +42,7 @@ public class AmbiguousOptionException ex
  * @param option  the partial option name
  * @param matchingOptions the options matching the name
  */
-public AmbiguousOptionException(String option, Collection 
matchingOptions)
+public AmbiguousOptionException(final String option, final 
Collection matchingOptions)
 {
 super(createMessage(option, matchingOptions), option);
 this.matchingOptions = matchingOptions;
@@ -64,7 +64,7 @@ public class AmbiguousOptionException ex
  * @param matchingOptions
  * @return
  */
-private static Str

svn commit: r1797675 - /commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java

2017-06-05 Thread ggregory
Author: ggregory
Date: Mon Jun  5 16:38:41 2017
New Revision: 1797675

URL: http://svn.apache.org/viewvc?rev=1797675&view=rev
Log:
Add final modifier to private fields.

Modified:

commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java

Modified: 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java
URL: 
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java?rev=1797675&r1=1797674&r2=1797675&view=diff
==
--- 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java
 (original)
+++ 
commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java
 Mon Jun  5 16:38:41 2017
@@ -33,8 +33,8 @@ import java.util.List;
 
 public class BugCLI266Test {
 
-private List insertedOrder  =   Arrays.asList("h", "d", "f", "x", 
"s", "p", "t", "w", "o");
-private List sortOrder  =   Arrays.asList("d", "f", "h", "o", 
"p", "s", "t", "w", "x");
+private final List insertedOrder  =   Arrays.asList("h", "d", "f", 
"x", "s", "p", "t", "w", "o");
+private final List sortOrder  =   Arrays.asList("d", "f", "h", 
"o", "p", "s", "t", "w", "x");
 
 @Test
 public void testOptionComparatorDefaultOrder() throws ParseException {




commons-dbcp git commit: [DBCP-483] Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.

2018-01-21 Thread ggregory
Repository: commons-dbcp
Updated Branches:
  refs/heads/master d8e760bd1 -> fa2fafcf1


[DBCP-483] Make constant public:
org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/fa2fafcf
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/fa2fafcf
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/fa2fafcf

Branch: refs/heads/master
Commit: fa2fafcf1e1eae47296fc8ed1d609225ea381971
Parents: d8e760b
Author: Gary Gregory 
Authored: Sun Jan 21 13:53:22 2018 -0700
Committer: Gary Gregory 
Committed: Sun Jan 21 13:53:22 2018 -0700

--
 src/changes/changes.xml   | 3 +++
 src/main/java/org/apache/commons/dbcp2/PoolingDriver.java | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/fa2fafcf/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 15234ac..60aaa3f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -64,6 +64,9 @@ The  type attribute can be add,update,fix,remove.
   
 Avoid javax.management.InstanceNotFoundException on shutdown when a 
bean is not registered.
   
+  
+Make constant public: 
org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.
+  
 
 
   

http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/fa2fafcf/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
--
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java 
b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
index 4ec6faa..c1f92d2 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
@@ -194,7 +194,7 @@ public class PoolingDriver implements Driver {
 }
 
 /** My URL prefix */
-protected static final String URL_PREFIX = "jdbc:apache:commons:dbcp:";
+public static final String URL_PREFIX = "jdbc:apache:commons:dbcp:";
 protected static final int URL_PREFIX_LEN = URL_PREFIX.length();
 
 // version numbers



commons-statistics git commit: Update commons-parent from 41 to 43.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 8e509223e -> 3259694b7


Update commons-parent from 41 to 43.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/3259694b
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/3259694b
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/3259694b

Branch: refs/heads/master
Commit: 3259694b7fbc88504c93577b64387c4cf64d03fb
Parents: 8e50922
Author: Gary Gregory 
Authored: Mon Jan 22 10:21:16 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 10:21:16 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/3259694b/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 39cae27..be72523 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   
 org.apache.commons
 commons-parent
-41
+43
   
 
   4.0.0



commons-statistics git commit: GroupId is duplicate of parent groupId.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 3259694b7 -> 75f1502cd


GroupId is duplicate of parent groupId.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/75f1502c
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/75f1502c
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/75f1502c

Branch: refs/heads/master
Commit: 75f1502cdbb80efa99b74149ff49c569eba9e753
Parents: 3259694
Author: Gary Gregory 
Authored: Mon Jan 22 10:21:48 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 10:21:48 2018 -0700

--
 pom.xml | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/75f1502c/pom.xml
--
diff --git a/pom.xml b/pom.xml
index be72523..60625de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,6 @@
   
 
   4.0.0
-  org.apache.commons
   commons-statistics-parent
   pom
   0.1-SNAPSHOT



commons-statistics git commit: Pick up maven-compiler-plugin version from commons-parent.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 75f1502cd -> 173b25b29


Pick up maven-compiler-plugin version from commons-parent.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/173b25b2
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/173b25b2
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/173b25b2

Branch: refs/heads/master
Commit: 173b25b29332e2f538b911f02e249eb86b8ac7c2
Parents: 75f1502
Author: Gary Gregory 
Authored: Mon Jan 22 10:24:18 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 10:24:18 2018 -0700

--
 pom.xml | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/173b25b2/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 60625de..f31bcd5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -177,7 +177,6 @@
   
 org.apache.maven.plugins
 maven-compiler-plugin
-3.5.1
 
   
 



commons-statistics git commit: Pick up apache-rat-plugin version from commons-parent.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 173b25b29 -> 95c759de6


Pick up apache-rat-plugin version from commons-parent.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/95c759de
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/95c759de
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/95c759de

Branch: refs/heads/master
Commit: 95c759de63a14d1321db93347d652f0d9d9ac393
Parents: 173b25b
Author: Gary Gregory 
Authored: Mon Jan 22 10:24:43 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 10:24:43 2018 -0700

--
 pom.xml | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/95c759de/pom.xml
--
diff --git a/pom.xml b/pom.xml
index f31bcd5..a5b8162 100644
--- a/pom.xml
+++ b/pom.xml
@@ -239,7 +239,6 @@
   
 org.apache.rat
 apache-rat-plugin
-${commons.rat.version}
 
 

commons-statistics git commit: maven-antrun-plugin 1.7 -> 1.8.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 95c759de6 -> d8f0c0690


maven-antrun-plugin 1.7 -> 1.8.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/d8f0c069
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/d8f0c069
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/d8f0c069

Branch: refs/heads/master
Commit: d8f0c069037e0d024de76cec23e42e9f7c5e88e2
Parents: 95c759d
Author: Gary Gregory 
Authored: Mon Jan 22 10:40:11 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 10:40:11 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/d8f0c069/pom.xml
--
diff --git a/pom.xml b/pom.xml
index a5b8162..a0c5c2c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -430,7 +430,7 @@
   
 org.apache.maven.plugins
 maven-antrun-plugin
-1.7
+1.8
 
   
 prepare-checkout



commons-statistics git commit: maven-pmd-plugin 3.5 -> 3.8.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master d8f0c0690 -> 8ccb2dacc


maven-pmd-plugin 3.5 -> 3.8.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/8ccb2dac
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/8ccb2dac
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/8ccb2dac

Branch: refs/heads/master
Commit: 8ccb2dacc7c98e3f33a38534049496d6e440cdd4
Parents: d8f0c06
Author: Gary Gregory 
Authored: Mon Jan 22 11:02:14 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 11:02:14 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/8ccb2dac/pom.xml
--
diff --git a/pom.xml b/pom.xml
index a0c5c2c..c69a8c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,7 +83,7 @@
 UTF-8
 1.8
 1.8
-3.5
+3.8
 3.0.2
 2.17
 2.7



commons-statistics git commit: clirr-maven-plugin 2.7. -> 2.8.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 8ccb2dacc -> 035089c8a


clirr-maven-plugin 2.7. -> 2.8.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/035089c8
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/035089c8
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/035089c8

Branch: refs/heads/master
Commit: 035089c8a6f06a4d54099ea77aa43cdbc803c65c
Parents: 8ccb2da
Author: Gary Gregory 
Authored: Mon Jan 22 11:04:40 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 11:04:40 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/035089c8/pom.xml
--
diff --git a/pom.xml b/pom.xml
index c69a8c1..bbf67b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
 3.8
 3.0.2
 2.17
-2.7
+2.8
 
 ${basedir}
 



commons-statistics git commit: jacoco-maven-plugin 0.7.5.201505241946 -> 0.8.0.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 035089c8a -> fed3e7503


jacoco-maven-plugin 0.7.5.201505241946 -> 0.8.0.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/fed3e750
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/fed3e750
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/fed3e750

Branch: refs/heads/master
Commit: fed3e7503595baada0fb2ae1168bb1d7ef725e3b
Parents: 035089c
Author: Gary Gregory 
Authored: Mon Jan 22 12:51:42 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 12:51:42 2018 -0700

--
 pom.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/fed3e750/pom.xml
--
diff --git a/pom.xml b/pom.xml
index bbf67b1..2f6e245 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,8 +90,7 @@
 
 ${basedir}
 
-
-0.7.5.201505241946
+0.8.0
 0.96
 0.8
 0.8



commons-statistics git commit: findbugs-maven-plugin 3.0.2 -> 3.0.5.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master fed3e7503 -> 954076b06


findbugs-maven-plugin 3.0.2 -> 3.0.5.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/954076b0
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/954076b0
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/954076b0

Branch: refs/heads/master
Commit: 954076b0646d7e50764841615d832b65a4da4ebd
Parents: fed3e75
Author: Gary Gregory 
Authored: Mon Jan 22 12:52:19 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 12:52:19 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/954076b0/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 2f6e245..6e9aab4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,7 +84,7 @@
 1.8
 1.8
 3.8
-3.0.2
+3.0.5
 2.17
 2.8
 



commons-statistics git commit: Document as requires Java 8.

2018-01-22 Thread ggregory
Repository: commons-statistics
Updated Branches:
  refs/heads/master 954076b06 -> 9eb7fe81a


Document as requires Java 8.

Project: http://git-wip-us.apache.org/repos/asf/commons-statistics/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-statistics/commit/9eb7fe81
Tree: http://git-wip-us.apache.org/repos/asf/commons-statistics/tree/9eb7fe81
Diff: http://git-wip-us.apache.org/repos/asf/commons-statistics/diff/9eb7fe81

Branch: refs/heads/master
Commit: 9eb7fe81a938fd7f2e3e9140f6e0d42796a6697c
Parents: 954076b
Author: Gary Gregory 
Authored: Mon Jan 22 13:21:28 2018 -0700
Committer: Gary Gregory 
Committed: Mon Jan 22 13:21:28 2018 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-statistics/blob/9eb7fe81/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 6e9aab4..ae58552 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,7 +74,7 @@
 org.apache.commons.statistics
 
 1.0
-(requires Java 6+)
+(requires Java 8)
 
 -bin
 



svn commit: r1821951 - /commons/proper/commons-parent/trunk/pom.xml

2018-01-22 Thread ggregory
Author: ggregory
Date: Tue Jan 23 00:24:34 2018
New Revision: 1821951

URL: http://svn.apache.org/viewvc?rev=1821951&view=rev
Log:
Indentation.

Modified:
commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1821951&r1=1821950&r2=1821951&view=diff
==
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Tue Jan 23 00:24:34 2018
@@ -17,7 +17,8 @@
limitations under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   4.0.0
   
 org.apache
@@ -32,109 +33,109 @@
   http://commons.apache.org/commons-parent-pom.html
   The Apache Commons Parent POM provides common settings for all 
Apache Commons components.
   
-  jira
-  http://issues.apache.org/jira/browse/COMMONSSITE
+jira
+http://issues.apache.org/jira/browse/COMMONSSITE
   
 
-
+  -->
 
-
-
+  
-
+  
+  -->
 
   
   
@@ -154,11 +155,11 @@ Version 39:
 Starting with version 22, the RAT plugin has changed Maven group and id, 
so any existing configuration
 needs to be updated.
 To fix component POMs, please change any occurrences of:
-org.codehaus.mojo
-rat-maven-plugin
+org.codehaus.mojo
+rat-maven-plugin
 to the new values:
-org.apache.rat
-apache-rat-plugin
+org.apache.rat
+apache-rat-plugin
 
 Site deployment
 ===
@@ -167,11 +168,11 @@ Version 39:
 The following should be added to the component POM:
 
 
-  
-commons.site
-Apache Commons Site SVN
-scm:svn:${commons.scmPubUrl}
-  
+
+commons.site
+Apache Commons Site SVN
+scm:svn:${commons.scmPubUrl}
+
 
 
 Alternatively you can map the component's existing site id to the
@@ -208,10 +209,10 @@ Version 39:
   
 
 
+  Components should normally override the default mailing list report by 
using the comnand
+  mvn commons:mail-page
+  This generates the file src/site/xdoc/mail-lists.xml which when 
processed will replace the PIR version.
+-->
 
 
   Commons User List
@@ -275,7 +276,7 @@ Version 39:
   
   
 
 
   
@@ -320,9 +321,9 @@ Version 39:
 ${maven.compiler.target}
 ${commons.encoding}
 
 ${commons.compiler.fork}
 
@@ -360,10 +361,10 @@ Version 39:
   maven-remote-resources-plugin
   
 
+  Apache parent POM automatically adds "LICENSE" and "NOTICE" files
+  to jars - duplicating the "LICENSE.txt" and "NOTICE.txt"
+  files that components already have.
+-->
 true
   
 
@@ -378,7 +379,7 @@ Version 39:
   
   
 
-
+  
   org.apache.maven.wagon
   wagon-ssh
   ${commons.wagon-ssh.version}
@@ -427,7 +428,7 @@ Version 39:
   
${commons.japicmp.breakBuildOnBinaryIncompatibleModifications}
   
   
-  true
+  true
 
   
 
@@ -479,11 +480,11 @@ Version 39:
   jacoco-maven-plugin
   ${commons.jacoco.version}
   
+it changes the surefire arguments line. If a component also
+needs to change the argument line of maven-surefire-plugin,
+then it must add ${argLine} property (which is set by JaCoCo)
+in the argLine configuration element of maven-surefire-plugin
+to preserve JaCoCo settings. -->
   
 
   prepare-agent
@@ -553,7 +554,7 @@ Version 39:
 
   
   
-  
+
 maven-assembly-plugin
 
   
@@ -566,7 +567,7 @@ Version 39:
 
+-->
 org.apache.maven.plugins
 maven-antrun-plugin
 
@@ -594,8 +595,8 @@ Version 39:
 maven-compiler-plugin
   
   
   
 true
@@ -726,10 +727,10 @@ Version 39:
 
 
   
+If you wish to override this list in the component (child) pom, 
ensure you use
+
+so that the child pom entries replace the parent entries
+  -->
   
 site-content/**
 .checkstyle
@@ -771,7

[commons-csv] Git Push Summary

2018-01-29 Thread ggregory
Repository: commons-csv
Updated Tags:  refs/tags/csv-1.5 [created] 0f6cb259d


commons-collections git commit: [COLLECTIONS-599] HashEntry array object naming data initialized with double the size during deserialization.

2018-02-01 Thread ggregory
Repository: commons-collections
Updated Branches:
  refs/heads/master 1e6435ec1 -> 4a9bcd0f5


[COLLECTIONS-599] HashEntry array object naming data initialized with
double the size during deserialization.

Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-collections/commit/4a9bcd0f
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/4a9bcd0f
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/4a9bcd0f

Branch: refs/heads/master
Commit: 4a9bcd0f5211c91c4c2f47313c8f8013d0dfe03e
Parents: 1e6435e
Author: Gary Gregory 
Authored: Thu Feb 1 11:50:15 2018 -0700
Committer: Gary Gregory 
Committed: Thu Feb 1 11:50:15 2018 -0700

--
 src/changes/changes.xml |  5 +++-
 .../collections4/map/AbstractReferenceMap.java  | 10 ++-
 .../collections4/map/ReferenceMapTest.java  | 31 
 3 files changed, 44 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/4a9bcd0f/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d2ae55e..85f0f96 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -20,7 +20,10 @@
 Commons Collections Changes
   
   
-  
+  
+
+  HashEntry array object naming data initialized with double the size 
during deserialization.
+
 
   Unit tests MapUtilsTest and ListIteratorWrapperTest no longer fail on 
Java 9.
 

http://git-wip-us.apache.org/repos/asf/commons-collections/blob/4a9bcd0f/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
--
diff --git 
a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java 
b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
index f114083..e0fa7e2 100644
--- 
a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
+++ 
b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
@@ -1045,6 +1045,15 @@ public abstract class AbstractReferenceMap extends 
AbstractHashedMap
 final int capacity = in.readInt();
 init();
 data = new HashEntry[capacity];
+
+// COLLECTIONS-599: Calculate threshold before populating, otherwise 
it will be 0 
+// when it hits AbstractHashedMap.checkCapacity() and so will 
unnecessarily 
+// double up the size of the "data" array during population.
+//
+// NB: AbstractHashedMap.doReadObject() DOES calculate the threshold 
before populating.
+//
+threshold = calculateThreshold(data.length, loadFactor);
+
 while (true) {
 final K key = (K) in.readObject();
 if (key == null) {
@@ -1053,7 +1062,6 @@ public abstract class AbstractReferenceMap extends 
AbstractHashedMap
 final V value = (V) in.readObject();
 put(key, value);
 }
-threshold = calculateThreshold(data.length, loadFactor);
 // do not call super.doReadObject() as code there doesn't work for 
reference map
 }
 

http://git-wip-us.apache.org/repos/asf/commons-collections/blob/4a9bcd0f/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java
--
diff --git 
a/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java 
b/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java
index 4ce341f..3ea05e0 100644
--- a/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java
@@ -16,6 +16,12 @@
  */
 package org.apache.commons.collections4.map;
 
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+
 import java.lang.ref.WeakReference;
 import java.util.Map;
 
@@ -249,6 +255,31 @@ public class ReferenceMapTest extends 
AbstractIterableMapTest {
 }
 }
 
+/**
+ * Test whether after serialization the "data" HashEntry array is the same 
size as the original.
+ * 
+ * See https://issues.apache.org/jira/browse/COLLECTIONS-599";>COLLECTIONS-599: 
HashEntry array object naming data initialized with double the size during 
deserialization
+ */
+public void testDataSizeAfterSerialization() throws IOException, 
ClassNotFoundException {
+
+ReferenceMap serialiseMap = new 
ReferenceMap<>(ReferenceStrength.WEAK, ReferenceStrength.WEAK, true);
+serialiseMap.put("KEY", "VALUE");
+
+ByteArrayOu

commons-collections git commit: Update Maven PMD plugin from 3.8 to 3.9.0. Update Maven Checkstyle plugin from 2.17 to 3.0.0.

2018-02-01 Thread ggregory
Repository: commons-collections
Updated Branches:
  refs/heads/master 4a9bcd0f5 -> dee97c3ff


Update Maven PMD plugin from 3.8 to 3.9.0.
Update Maven Checkstyle plugin from 2.17 to 3.0.0.


Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-collections/commit/dee97c3f
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/dee97c3f
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/dee97c3f

Branch: refs/heads/master
Commit: dee97c3ff1c9746282fae7ed39e16993cbe9d3de
Parents: 4a9bcd0
Author: Gary Gregory 
Authored: Thu Feb 1 12:04:38 2018 -0700
Committer: Gary Gregory 
Committed: Thu Feb 1 12:04:38 2018 -0700

--
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/dee97c3f/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 0c896e8..8cf5194 100644
--- a/pom.xml
+++ b/pom.xml
@@ -507,7 +507,7 @@
 12310465
 
 RC1
-2.17
+3.0.0
 
 collections
 
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-collections
@@ -665,7 +665,7 @@
   
   
 maven-pmd-plugin
-3.8
+3.9.0
 
   ${maven.compiler.target}
 



[10/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/apidocs/META-INF/LICENSE.txt
--
diff --git a/target/apidocs/META-INF/LICENSE.txt 
b/target/apidocs/META-INF/LICENSE.txt
index d645695..75b5248 100644
--- a/target/apidocs/META-INF/LICENSE.txt
+++ b/target/apidocs/META-INF/LICENSE.txt
@@ -1,202 +1,202 @@
-
- Apache License
-   Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-  "License" shall mean the terms and conditions for use, reproduction,
-  and distribution as defined by Sections 1 through 9 of this document.
-
-  "Licensor" shall mean the copyright owner or entity authorized by
-  the copyright owner that is granting the License.
-
-  "Legal Entity" shall mean the union of the acting entity and all
-  other entities that control, are controlled by, or are under common
-  control with that entity. For the purposes of this definition,
-  "control" means (i) the power, direct or indirect, to cause the
-  direction or management of such entity, whether by contract or
-  otherwise, or (ii) ownership of fifty percent (50%) or more of the
-  outstanding shares, or (iii) beneficial ownership of such entity.
-
-  "You" (or "Your") shall mean an individual or Legal Entity
-  exercising permissions granted by this License.
-
-  "Source" form shall mean the preferred form for making modifications,
-  including but not limited to software source code, documentation
-  source, and configuration files.
-
-  "Object" form shall mean any form resulting from mechanical
-  transformation or translation of a Source form, including but
-  not limited to compiled object code, generated documentation,
-  and conversions to other media types.
-
-  "Work" shall mean the work of authorship, whether in Source or
-  Object form, made available under the License, as indicated by a
-  copyright notice that is included in or attached to the work
-  (an example is provided in the Appendix below).
-
-  "Derivative Works" shall mean any work, whether in Source or Object
-  form, that is based on (or derived from) the Work and for which the
-  editorial revisions, annotations, elaborations, or other modifications
-  represent, as a whole, an original work of authorship. For the purposes
-  of this License, Derivative Works shall not include works that remain
-  separable from, or merely link (or bind by name) to the interfaces of,
-  the Work and Derivative Works thereof.
-
-  "Contribution" shall mean any work of authorship, including
-  the original version of the Work and any modifications or additions
-  to that Work or Derivative Works thereof, that is intentionally
-  submitted to Licensor for inclusion in the Work by the copyright owner
-  or by an individual or Legal Entity authorized to submit on behalf of
-  the copyright owner. For the purposes of this definition, "submitted"
-  means any form of electronic, verbal, or written communication sent
-  to the Licensor or its representatives, including but not limited to
-  communication on electronic mailing lists, source code control systems,
-  and issue tracking systems that are managed by, or on behalf of, the
-  Licensor for the purpose of discussing and improving the Work, but
-  excluding communication that is conspicuously marked or otherwise
-  designated in writing by the copyright owner as "Not a Contribution."
-
-  "Contributor" shall mean Licensor and any individual or Legal Entity
-  on behalf of whom a Contribution has been received by Licensor and
-  subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-  this License, each Contributor hereby grants to You a perpetual,
-  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-  copyright license to reproduce, prepare Derivative Works of,
-  publicly display, publicly perform, sublicense, and distribute the
-  Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-  this License, each Contributor hereby grants to You a perpetual,
-  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-  (except as stated in this section) patent license to make, have made,
-  use, offer to sell, sell, import, and otherwise transfer the Work,
-  where such license applies only to those patent claims licensable
-  by such Contributor that are necessarily infringed by their
-  Contribution(s) alone or by combination of their Contribution(s)
-  with the Work to which su

[08/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/css/bootstrap.min.css
--
diff --git a/target/site/css/bootstrap.min.css 
b/target/site/css/bootstrap.min.css
new file mode 100644
index 000..43e16d7
--- /dev/null
+++ b/target/site/css/bootstrap.min.css
@@ -0,0 +1,9 @@
+/*!
+ * Bootstrap v2.2.1
+ *
+ * Copyright 2012 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
+ 
*/article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin
 dotted #333;outline:5px auto 
-webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas
 img,.google-maps 
img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html
 
input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-siz
 
ing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0
 
a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica
 
Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px
 solid #ccc;border:1px solid r
 gba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 
1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px 
rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top
 .container,.navbar-fixed-top .container,.navbar-fixed-bottom 
.container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{
 
margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid
 
[class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid
 [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row 
[class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid 
.span12{width:100%;*width:99.94680851063829%}.row-fluid 
.span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid 
.span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid 
.span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid 
.span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid 
.span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid 
.span6{width:48.9
 3617021276595%;*width:48.88297872340425%}.row-fluid 
.span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid 
.span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid 
.span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid 
.span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid 
.span1{width:6.3829787234

[01/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
Building Components
+  
+ 
+  
+Commons Parent Pom
+  
+ 
+  
+Commons Build Plugin
+  
+ 
+  
+Releasing Components
+  
+ 
+  http://wiki.apache.org/commons/FrontPage"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+  ASF
+
+  http://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How the ASF works">
+How the ASF works
+  
+ 
+  http://www.apache.org/foundation/getinvolved.html"; 
class="externalLink" title="Get Involved">
+Get Involved
+  
+ 
+  http://www.apache.org/dev/"; class="externalLink" 
title="Developer Resources">
+Developer Resources
+  
+ 
+  http://www.apache.org/foundation/policies/conduct.html"; 
class="externalLink" title="Code of Conduct">
+Code of Conduct
+  
+ 
+  http://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsorship">
+Sponsorship
+  
+ 
+  http://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks">
+Thanks
+  
+ 
+  
+
+   
 http://www.apache.org/events/current-event.html"; title="ApacheCon" 
class="builtBy">
+http://www.apache.org/events/current-event-125x125.png";/>
+  
+   
 http://maven.apache.org/"; title="Maven" 
class="builtBy">
+http://maven.apache.org/images/logos/maven-feather.png";/>
+  
+  
+  
+  
+
+Project Team
+A successful project requires many people to play many roles. Some members 
write code or documentation, while others are valuable as testers, submitting 
patches and suggestions.
+The project team is comprised of Members and Contributors. Members have 
direct access to the source of a project and actively evolve the code-base. 
Contributors improve the project through submission of patches and suggestions 
to the Members. The number of Contributors to the project is unbounded. Get 
involved today. All contributions to the project are greatly appreciated.
+
+Members
+The following is a list of developers with commit privileges that have 
directly contributed to the project in one way or another.
+
+
+Image
+Id
+Name
+Email
+Roles
+Time Zone
+
+http://www.gravatar.com/avatar/ebb1af3a9dd9a3dd5f169d9c698f9f21?d=mm&s=60";
 alt="" />
+ggregory
+Gary Gregory
+mailto:ggreg...@apache.org";>ggreg...@apache.org
+Java Developer
+-5
+
+Contributors
+There are no contributors listed for this project. Please check back again 
later.
+  
+
+  
+
+
+
+  Copyright ©2017-2018
+https://www.apache.org/";>The Apache Software 
Foundation.
+All Rights Reserved.
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/xref/allclasses-frame.html
--
diff --git a/target/site/xref/allclasses-frame.html 
b/target/site/xref/allclasses-frame.html
new file mode 100644
index 000..56f4811
--- /dev/null
+++ b/target/site/xref/allclasses-frame.html
@@ -0,0 +1,26 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+   
+   
+   All Classes
+   
+
+
+
+   All Classes
+
+   
+   
+   AbstractAvailableLocalesTest
+   
+   
+   ObjectToStringComparator
+   
+   
+   SetDefaultLocaleTestRule
+   
+ 
+
+
+  

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/xref/index.html
--

[05/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/issue-tracking.html
--
diff --git a/target/site/issue-tracking.html b/target/site/issue-tracking.html
new file mode 100644
index 000..50abea0
--- /dev/null
+++ b/target/site/issue-tracking.html
@@ -0,0 +1,374 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+
+Lang – Commons Lang Issue tracking
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
+
+
+Last Published: 04 February 2018
+  | Version: 
1.0.0-SNAPSHOT
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Testing
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+Javadoc (1.0.0)
+  
+ 
+  
+Javadoc (Latest)
+  
+ 
+  
+Development
+
+  
+Building
+  
+ 
+  
+Mailing Lists
+  
+   
+  
+Issue Tracking
+  
+ 
+  
+Developer Guide
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc (GIT latest)
+  
+ 
+  
+  Components
+
+  
+Parent
+  
+ 
+  
+Generic
+  
+ 
+  
+JUnit 4
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Project Modules
+  
+ 
+  
+Team
+  
+ 
+  
+Source Code Management
+  
+   
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+ 
+  
+Dependency Management
+  
+ 
+  
+Dependency Convergence
+  
+ 
+  
+CI Management
+  
+ 
+  
+Distribution Management
+  
+ 
+  
+   

  
+  
+Project Reports
+
+ 
+  
+  Commons
+
+  
+Home
+  
+ 
+  http://www.apache.org/licenses/"; 
class="exter

[03/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/js/prettify.js
--
diff --git a/target/site/js/prettify.js b/target/site/js/prettify.js
new file mode 100644
index 000..62ec7dd
--- /dev/null
+++ b/target/site/js/prettify.js
@@ -0,0 +1,640 @@
+/**
+ *
+ * Copyright (C) 2006 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function H() {
+var x = navigator && navigator.userAgent
+&& /\bMSIE 6\./.test(navigator.userAgent);
+H = function() {
+return x
+};
+return x
+}
+(function() {
+function x(b) {
+b = b.split(/ /g);
+var a = {};
+for ( var c = b.length; --c >= 0;) {
+var d = b[c];
+if (d)
+a[d] = null
+}
+return a
+}
+var y = "break continue do else for if return while ", U = y
++ "auto case char const default double enum extern float goto int 
long register short signed sizeof static struct switch typedef union unsigned 
void volatile ", D = U
++ "catch class delete false import new operator private protected 
public this throw true try ", I = D
++ "alignof align_union asm axiom bool concept concept_map 
const_cast constexpr decltype dynamic_cast explicit export friend inline 
late_check mutable namespace nullptr reinterpret_cast static_assert static_cast 
template typeid typename typeof using virtual wchar_t where ", J = D
++ "boolean byte extends final finally implements import instanceof 
null native package strictfp super synchronized throws transient ", V = J
++ "as base by checked decimal delegate descending event fixed 
foreach from group implicit in interface internal into is lock object out 
override orderby params readonly ref sbyte sealed stackalloc string select uint 
ulong unchecked unsafe ushort var ", K = D
++ "debugger eval export function get null set undefined var with 
Infinity NaN ", L = "caller delete die do dump elsif eval exit foreach for goto 
if import last local my next no our print package redo require sub undef unless 
until use wantarray while BEGIN END ", M = y
++ "and as assert class def del elif except exec finally from 
global import in is lambda nonlocal not or pass print raise try with yield 
False True None ", N = y
++ "alias and begin case class def defined elsif end ensure false 
in module next nil not or redo rescue retry self super then true undef unless 
until when yield BEGIN END ", O = y
++ "case done elif esac eval fi function in local set then until ", 
W = I
++ V + K + L + M + N + O;
+function X(b) {
+return b >= "a" && b <= "z" || b >= "A" && b <= "Z"
+}
+function u(b, a, c, d) {
+b.unshift(c, d || 0);
+try {
+a.splice.apply(a, b)
+} finally {
+b.splice(0, 2)
+}
+}
+var Y = (function() {
+var b = [ "!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=",
+"(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::",
+";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>",
+">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=",
+"{", "|", "|=", "||", "||=", "~", "break", "case", "continue",
+"delete", "do", "else", "finally", "instanceof", "return",
+"throw", "try", "typeof" ], a = 
"(?:(?:(?:^|[^0-9.])\\.{1,3})|(?:(?:^|[^\\+])\\+)|(?:(?:^|[^\\-])-)";
+for ( var c = 0; c < b.length; ++c) {
+var d = b[c];
+a += X(d.charAt(0)) ? "|\\b" + d : "|"
++ d.replace(/([^=<>:&])/g, "\\$1")
+}
+a += "|^)\\s*$";
+return new RegExp(a)
+})(), P = /&/g, Q = //g, Z = /\"/g;
+function $(b) {
+return b.replace(P, "&").replace(Q, "<").replace(R, ">")
+.replace(Z, """)
+}
+function E(b) {
+return b.replace(P, "&").replace(Q, "<").replace(R, ">")
+}
+var aa = //g, ca = /'/g, da = /"/g, ea = 
/&/g, fa = / /g;
+function ga(b) {
+var a = b.indexOf("&");
+if (a < 0)
+return b;
+for (--a; (a = b.indexOf("&#", a + 1)) >= 0;) {
+var c = b.indexOf(";", a);
+if (c >= 0) {
+var d = b.substring(a + 3

[04/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/js/jquery.min.js
--
diff --git a/target/site/js/jquery.min.js b/target/site/js/jquery.min.js
new file mode 100644
index 000..198b3ff
--- /dev/null
+++ b/target/site/js/jquery.min.js
@@ -0,0 +1,4 @@
+/*! jQuery v1.7.1 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return 
f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function 
cv(a){if(!ck[a]){var 
b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return
 ck[a]}function cu(a,b){var 
c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return 
c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function 
cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function 
ci(){try{return new a.XMLHttpRequest}catch(b){}}function 
cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var 
d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p
 ;for(g=1;g0){if(c!=="border")for(;g=0===c})}function 
S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function 
K(){return!0}function J(){return!1}function n(a,b,c){var 
d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function
 m(a){for(var b in 
a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function
 l(a,c,d){if(d===b&&a.nodeType===1){var 
e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof 
d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse
 Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return 
d}function h(a){var 
b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[
 \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) 
([\w.]+)/,u=/(mozilla)(?:.*? 
rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro
 
totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var
 g,h,j,k;if(!a)return 
this;if(a.nodeType){this.context=this[0]=a,this.length=1;return 
this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return
 this}if(typeof 
a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d
 instanceof 
e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return
 
e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return
 f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return 
this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return
 f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.
 context);return 
e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return 
this.length},toArray:function(){return F.call(this,0)},get:function(a){return 
a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var
 
d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?"
 ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return 
d},each:function(a,b){return 
e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return 
this},eq:function(a){a=+a;return 
a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return 
this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return 
this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return
 this.pushStack(e.map(this,function(b,c){return 
a.call(b,c,b)}))},end:function(){return 
this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].
 splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var 
a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof 
i=="boolean"&&(l=i,i=argumen

[02/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/project-info.html
--
diff --git a/target/site/project-info.html b/target/site/project-info.html
new file mode 100644
index 000..40a4b9c
--- /dev/null
+++ b/target/site/project-info.html
@@ -0,0 +1,343 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Lang – Project Information
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
+
+
+Last Published: 04 February 2018
+  | Version: 
1.0.0-SNAPSHOT
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Testing
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+Javadoc (1.0.0)
+  
+ 
+  
+Javadoc (Latest)
+  
+ 
+  
+Development
+
+  
+Building
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Developer Guide
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc (GIT latest)
+  
+ 
+  
+  Components
+
+  
+Parent
+  
+ 
+  
+Generic
+  
+ 
+  
+JUnit 4
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Project Modules
+  
+ 
+  
+Team
+  
+ 
+  
+Source Code Management
+  
+ 
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+ 
+  
+Dependency Management
+  
+ 
+  
+Dependency Convergence
+  
+ 
+  
+CI Management
+  
+ 
+  
+Distribution Management
+  
+ 
+  
+   

  
+  
+Project Reports
+
+ 
+  
+  Commons
+
+  
+Home
+  
+ 
+  http://www.apache.org/licenses/"; 
class="externalLink" title="License">
+   

[09/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/css/bootstrap-1.3.0.min.css
--
diff --git a/target/site/css/bootstrap-1.3.0.min.css 
b/target/site/css/bootstrap-1.3.0.min.css
new file mode 100644
index 000..b555c65
--- /dev/null
+++ b/target/site/css/bootstrap-1.3.0.min.css
@@ -0,0 +1,330 @@
+html,body{margin:0;padding:0;}
+h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
+table{border-collapse:collapse;border-spacing:0;}
+ol,ul{list-style:none;}
+q:before,q:after,blockquote:before,blockquote:after{content:"";}
+html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
+a:focus{outline:thin dotted;}
+a:hover,a:active{outline:0;}
+article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
+audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
+audio:not([controls]){display:none;}
+sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
+sup{top:-0.5em;}
+sub{bottom:-0.25em;}
+img{border:0;-ms-interpolation-mode:bicubic;}
+button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
+button,input{line-height:normal;*overflow:visible;}
+button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
+button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
+input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
+input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
+textarea{overflow:auto;vertical-align:top;}
+html,body{background-color:#ff;}
+body{margin:0;font-family:"Helvetica 
Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#404040;}
+.container{width:940px;margin-left:auto;margin-right:auto;zoom:1;}.container:before,.container:after{display:table;content:"";zoom:1;*display:inline;}
+.container:after{clear:both;}
+.container-fluid{position:relative;min-width:940px;padding-left:20px;padding-right:20px;zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";zoom:1;*display:inline;}
+.container-fluid:after{clear:both;}
+.container-fluid>.sidebar{float:left;width:220px;}
+.container-fluid>.content{margin-left:240px;}
+a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#00438a;text-decoration:underline;}
+.pull-right{float:right;}
+.pull-left{float:left;}
+.hide{display:none;}
+.show{display:block;}
+.row{zoom:1;margin-left:-20px;}.row:before,.row:after{display:table;content:"";zoom:1;*display:inline;}
+.row:after{clear:both;}
+[class*="span"]{display:inline;float:left;margin-left:20px;}
+.span1{width:40px;}
+.span2{width:100px;}
+.span3{width:160px;}
+.span4{width:220px;}
+.span5{width:280px;}
+.span6{width:340px;}
+.span7{width:400px;}
+.span8{width:460px;}
+.span9{width:520px;}
+.span10{width:580px;}
+.span11{width:640px;}
+.span12{width:700px;}
+.span13{width:760px;}
+.span14{width:820px;}
+.span15{width:880px;}
+.span16{width:940px;}
+.span17{width:1000px;}
+.span18{width:1060px;}
+.span19{width:1120px;}
+.span20{width:1180px;}
+.span21{width:1240px;}
+.span22{width:1300px;}
+.span23{width:1360px;}
+.span24{width:1420px;}
+.offset1{margin-left:80px;}
+.offset2{margin-left:140px;}
+.offset3{margin-left:200px;}
+.offset4{margin-left:260px;}
+.offset5{margin-left:320px;}
+.offset6{margin-left:380px;}
+.offset7{margin-left:440px;}
+.offset8{margin-left:500px;}
+.offset9{margin-left:560px;}
+.offset10{margin-left:620px;}
+.offset11{margin-left:680px;}
+.offset12{margin-left:740px;}
+.span-one-third{width:300px;}
+.span-two-thirds{width:620px;}
+.offset-one-third{margin-left:340px;}
+.offset-two-thirds{margin-left:660px;}
+p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:9px;}p 
small{font-size:11px;color:#bfbfbf;}
+h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 
small,h4 small,h5 small,h6 small{color:#bfbfbf;}
+h1{margin-bottom:18px;font-size:30px;line-height:36px;}h1 
small{font-size:18px;}
+h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
+h3,h4,h5,h6{line-height:36px;}
+h3{font-size:18px;}h3 small{font-size:14px;}
+h4{font-size:16px;}h4 small{font-size:12px;}
+h5{font-size:14px;}
+h6{font-size:13px;color:#bfbfbf;text-transform:uppercase;}
+ul,ol{margin:0 0 18px 25px;}
+ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
+ul{list-style:disc;}
+ol{list-style:decimal;}
+li{line-height:18px;color:#808080;}
+ul.unstyled{list-style:none;margin-left:0;}
+dl{margin-bottom:18px;}

[11/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
ormal
+  Default
+  
${testingParentDir}/findbugs-exclude-filter.xml
+
+  
+
+  
+

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/pom.xml
--
diff --git a/pom.xml b/pom.xml
index bf63d25..d3f50ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,376 +1,290 @@
-
-
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-  
-org.apache.commons
-commons-parent
-43
-  
-  4.0.0
-  commons-testing-parent
-  1.0.0-SNAPSHOT
-  pom
-  Apache Commons Testing
-
-  2017
-  
-  Apache Commons Testing, a package of Java utility classes for testing.
-  
-
-  http://commons.apache.org/proper/commons-testing/
-
-  
-jira
-
-http://issues.apache.org/jira/browse/TEST
-  
-
-  
-
scm:git:http://git-wip-us.apache.org/repos/asf/commons-testing.git
-
scm:git:https://git-wip-us.apache.org/repos/asf/commons-testing.git
-https://git-wip-us.apache.org/repos/asf?p=commons-testing.git
-TESTING-1.0.0
-  
-
-  
-
-  Gary D. Gregory
-  ggregory
-  ggreg...@apache.org
-  -5
-  
-Java Developer
-  
-
-  
-
-  
-  
-
-  
-
-  
-junit
-junit
-4.12
-  
-  
-org.apache.commons
-commons-lang3
-3.6
-  
-
-  
-
-  
-
-  apache.website
-  Apache Commons Testing Site
-  
scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-testing/
-
-  
-
-  
--Xmx512m
-ISO-8859-1
-UTF-8
-1.8
-1.8
-
-testing
-org.apache.commons.testing
-
-1.0.0
-(Java 8)
-TESTING
-
-
-testing
-
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-testing
-
site-content
-utf-8
-
-
-2.8
-2.17
-
-  
-
-
-  
-clean verify apache-rat:check clirr:check checkstyle:check 
findbugs:check javadoc:javadoc
-
-  
-
-  org.apache.rat
-  apache-rat-plugin
-  
-
-  site-content/**
-
-  
-
-
-  org.apache.maven.plugins
-  maven-surefire-plugin
-  
-
-  plain
-  
-
-  **/*Test.java
-
-random
-  
-
-
-  
-
-
-  maven-assembly-plugin
-  
-
-  src/assembly/bin.xml
-  src/assembly/src.xml
-
-gnu
-  
-
-
-  org.apache.maven.plugins
-  maven-jar-plugin
-  
-
-  
-test-jar
-  
-
-  
-  
-  
-
-  
-
org.apache.commons.testing
-  
-
-  
-
-
-  org.apache.maven.plugins
-  maven-scm-publish-plugin
-  
-
-  javadocs
-
-  
-
-
-  maven-checkstyle-plugin
-  ${checkstyle.plugin.version}
-  
-${basedir}/checkstyle.xml
-true
-false
-  
-
-
-  org.codehaus.mojo
-  findbugs-maven-plugin
-  
-  ${commons.findbugs.version}
-  
-
${basedir}/findbugs-exclude-filter.xml
-  
-
-  
-
-
-
-
-  
-
-  
-
-  
-maven-checkstyle-plugin
-${checkstyle.plugin.version}
-
-  ${basedir}/checkstyle.xml
-  true
-  false
-
-
-  
-
-  checkstyle
-
-  
-
-  
-  
-  
-org.codehaus.mojo
-findbugs-maven-plugin
-
-${commons.findbugs.version}
-
-  
${basedir}/findbugs-exclude-filter.xml
-
-  
-  
-maven-pmd-plugin
-3.8
-
-  ${maven.compiler.target}
-
-  
-  
-org.codehaus.mojo
-taglist-maven-plugin
-2.4
-
-  
-
-  
-Needs Work
-
-  
-TODO
-exact
-  
-  
-FIXME
-exact
-  
-  
-XXX
-exact
-  
-
-  
-  
-N

[07/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/css/commons-maven.css
--
diff --git a/target/site/css/commons-maven.css 
b/target/site/css/commons-maven.css
new file mode 100644
index 000..02b7640
--- /dev/null
+++ b/target/site/css/commons-maven.css
@@ -0,0 +1,129 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/* $Id$ */
+
+body {
+ color: #000;
+ background-color: #fff;
+ font-size: 13px;
+}
+
+p {
+ margin-left: 4px;
+ margin-top: 8px;
+ margin-bottom: 4px;
+}
+ul, ol {
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+h2 {
+ color: #fff;
+ border: none;
+ margin-top: 8px;
+ margin-bottom: 4px;
+ padding: 4px 4px 4px 6px;
+ background-color: #036;
+ font-weight: 900;
+ font-size: 13px;
+ background-image: url(../images/nw_maj_rond.gif);
+ background-repeat: no-repeat;
+}
+
+h3 {
+ color: #fff;
+ background-color: #888;
+ margin-top: 12px;
+ margin-bottom: 4px;
+ padding: 4px 4px 4px 6px;
+ border: none;
+ font-weight: 900;
+ font-size: 13px;
+ background-image: url(../images/nw_maj_rond.gif);
+ background-repeat: no-repeat;
+}
+
+div#bodyColumn {
+ margin-top: 0px;
+ margin-left: 158px;
+}
+
+div#bodyColumn a {
+ text-decoration: underline;
+}
+div#bodyColumn a:link {
+ color: #00f;
+}
+div#bodyColumn a:visited  {
+ color: #00f;
+}
+a:active, a:hover {
+ color: #f30 !important;
+}
+
+div.source {
+ background-color: #eee;
+ color: #000;
+ margin-right: 0px;
+ margin-left: 4px;
+ margin-top: 1em;
+}
+
+div#leftColumn {
+ color: #000;
+ background-color: #eee;
+ margin-left: 0px;
+ margin-top: 0px;
+ border-right: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ border-top: none;
+ border-left: none;
+ width: 150px;
+}
+
+div#navcolumn {
+ color: #000;
+ border: none;
+ padding: 6px 4px 0 8px;
+}
+
+#navcolumn li {
+  padding-left: 8px;
+}
+
+#navcolumn h5 {
+  padding-top: 3px;
+}
+
+#banner, #banner td { 
+ background-color: #fff;
+ color: #000;
+}
+
+#banner td { 
+ height: 100%;
+ vertical-align: middle;
+}
+
+#menuCommons a.externalLink, #menuCommons a.externalLink:link, #menuCommons 
a.externalLink:visited, #menuCommons a.externalLink:active, #menuCommons 
a.externalLink:hover {
+  background-image: none;
+  padding-right: 0px;
+}

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/css/commons-trade.css
--
diff --git a/target/site/css/commons-trade.css 
b/target/site/css/commons-trade.css
new file mode 100644
index 000..c2bebb6
--- /dev/null
+++ b/target/site/css/commons-trade.css
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/* $Id$ */
+
+/*
+ * Implement overlay for adding "TM" symbol over selected images.
+ */
+ 
+ 
+div.overlay_wrapper{ /* Absolute overlay must occur within relative div 
containing the image*/
+float:left;
+position:relative; 
+}
+
+div.overlay{/* This is absolute relative to the wrapper container. Default to 
bottom */
+position:absolute;
+bottom:0px;
+}
+
+div.overlay span{ /* settings for the ™ content */
+font-size:14px;
+color:black;
+margin:0px;
+}

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/css/maven-base.css
--
diff --git a/target/site/css/maven-base.css b/target/site/css/maven-base.

[06/11] commons-testing git commit: Get 'mvn clean site' to work.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/e22cc4fe/target/site/developerguide.html
--
diff --git a/target/site/developerguide.html b/target/site/developerguide.html
new file mode 100644
index 000..99a37ef
--- /dev/null
+++ b/target/site/developerguide.html
@@ -0,0 +1,306 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Lang – Developer guide for Apache Commons Testing
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
+
+
+Last Published: 04 February 2018
+  | Version: 
1.0.0-SNAPSHOT
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Testing
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+Javadoc (1.0.0)
+  
+ 
+  
+Javadoc (Latest)
+  
+ 
+  
+Development
+
+  
+Building
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+   
+  
+Developer Guide
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc (GIT latest)
+  
+ 
+  
+  Components
+
+  
+Parent
+  
+ 
+  
+Generic
+  
+ 
+  
+JUnit 4
+  
+ 
+  
+Project Documentation
+   


 
+  
+Project Information
+
+   

  
+  
+Project Reports
+
+ 
+  
+  Commons
+
+  
+Home
+  
+ 
+  http://www.apache.org/licenses/"; 
class="externalLink" title="License">
+License
+  
+   

+  
+Components
+
+   

+  
+Sandbox
+
+   

+  
+Dormant
+
+ 
+  
+  General 
Information
+
+  
+Security
+  
+ 
+  
+Volunteering
+  
+ 
+  
+Contributing Patches
+  
+ 
+  
+Building Components
+  
+ 
+  
+Commons Parent Pom
+  
+ 
+  
+Commons Build Plugin
+  
+ 
+  
+Releasing Components

commons-testing git commit: Add tests.

2018-02-04 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master e22cc4fe8 -> 2062a231b


Add tests.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/2062a231
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/2062a231
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/2062a231

Branch: refs/heads/master
Commit: 2062a231b3de86217866a9b5bd05163b3e33a88f
Parents: e22cc4f
Author: Gary Gregory 
Authored: Sun Feb 4 14:17:12 2018 -0700
Committer: Gary Gregory 
Committed: Sun Feb 4 14:17:12 2018 -0700

--
 .gitignore  |  7 ++-
 .../junit4/AbstractAvailableLocalesTest.java|  4 +-
 .../testing/junit4/DefaultLocaleTestRule.java   | 60 
 .../junit4/ObjectToStringComparator.java|  5 ++
 .../junit4/SetDefaultLocaleTestRule.java| 58 ---
 .../testing/junit4/AvailableLocalesTest.java| 58 +++
 .../junit4/DefaultLocaleTestRuleTest.java   | 41 +
 .../junit4/ObjectToStringComparatorTest.java| 39 +
 8 files changed, 209 insertions(+), 63 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/2062a231/.gitignore
--
diff --git a/.gitignore b/.gitignore
index fbdf7eb..721dfeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
-/.classpath
-/.project
-/.settings/
+**/.classpath
+**/.project
+**/.settings/
+**/target/

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/2062a231/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
--
diff --git 
a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
index 23459a3..160c384 100644
--- 
a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
+++ 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
@@ -81,12 +81,12 @@ public abstract class AbstractAvailableLocalesTest {
 private final Locale locale;
 
 @Rule
-public final SetDefaultLocaleTestRule rule;
+public final DefaultLocaleTestRule rule;
 
 public AbstractAvailableLocalesTest(final Locale locale)  {
 super();
 this.locale = locale;
-this.rule = new SetDefaultLocaleTestRule(locale);
+this.rule = new DefaultLocaleTestRule(locale);
 }
 
 public Locale getLocale() {

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/2062a231/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
--
diff --git 
a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
new file mode 100644
index 000..31e3f38
--- /dev/null
+++ 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.testing.junit4;
+
+import java.util.Locale;
+
+import org.junit.rules.TestRule;
+import org.junit.runner.Description;
+import org.junit.runners.model.Statement;
+
+/**
+ * Sets the default {@code Locale} to the given locale for the duration of the 
test.
+ * 
+ * @since 1.0.0
+ */
+public class DefaultLocaleTestRule implements TestRule {
+
+private final Locale locale;
+
+public DefaultLocaleTestRule(final Locale locale) {
+super();
+this.locale = locale;
+}
+
+@Override
+public Statement apply(final Statement base, final Description 
description) 

commons-testing git commit: Let .gitignore from the root work for all folders.

2018-02-04 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master 2062a231b -> 41e52b6cb


Let .gitignore from the root work for all folders.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/41e52b6c
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/41e52b6c
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/41e52b6c

Branch: refs/heads/master
Commit: 41e52b6cb1f78d449cde77bb8ae063cdc6bf9c7b
Parents: 2062a23
Author: Gary Gregory 
Authored: Sun Feb 4 14:19:22 2018 -0700
Committer: Gary Gregory 
Committed: Sun Feb 4 14:19:22 2018 -0700

--
 commons-testing-generic/.gitignore | 4 
 commons-testing-junit4/.gitignore  | 4 
 2 files changed, 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/41e52b6c/commons-testing-generic/.gitignore
--
diff --git a/commons-testing-generic/.gitignore 
b/commons-testing-generic/.gitignore
deleted file mode 100644
index 9fac551..000
--- a/commons-testing-generic/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/.settings/
-/.classpath
-/.project
-/target/

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/41e52b6c/commons-testing-junit4/.gitignore
--
diff --git a/commons-testing-junit4/.gitignore 
b/commons-testing-junit4/.gitignore
deleted file mode 100644
index 10d81e8..000
--- a/commons-testing-junit4/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/.classpath
-/.project
-/.settings/
-/target/



[01/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
-  
-Building Components
-  
- 
-  
-Commons Parent Pom
-  
- 
-  
-Commons Build Plugin
-  
- 
-  
-Releasing Components
-  
- 
-  http://wiki.apache.org/commons/FrontPage"; 
class="externalLink" title="Wiki">
-Wiki
-  
- 
-  
-  ASF
-
-  http://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How the ASF works">
-How the ASF works
-  
- 
-  http://www.apache.org/foundation/getinvolved.html"; 
class="externalLink" title="Get Involved">
-Get Involved
-  
- 
-  http://www.apache.org/dev/"; class="externalLink" 
title="Developer Resources">
-Developer Resources
-  
- 
-  http://www.apache.org/foundation/policies/conduct.html"; 
class="externalLink" title="Code of Conduct">
-Code of Conduct
-  
- 
-  http://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsorship">
-Sponsorship
-  
- 
-  http://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks">
-Thanks
-  
- 
-  
-
-   
 http://www.apache.org/events/current-event.html"; title="ApacheCon" 
class="builtBy">
-http://www.apache.org/events/current-event-125x125.png";/>
-  
-   
 http://maven.apache.org/"; title="Maven" 
class="builtBy">
-http://maven.apache.org/images/logos/maven-feather.png";/>
-  
-  
-  
-  
-
-Project Team
-A successful project requires many people to play many roles. Some members 
write code or documentation, while others are valuable as testers, submitting 
patches and suggestions.
-The project team is comprised of Members and Contributors. Members have 
direct access to the source of a project and actively evolve the code-base. 
Contributors improve the project through submission of patches and suggestions 
to the Members. The number of Contributors to the project is unbounded. Get 
involved today. All contributions to the project are greatly appreciated.
-
-Members
-The following is a list of developers with commit privileges that have 
directly contributed to the project in one way or another.
-
-
-Image
-Id
-Name
-Email
-Roles
-Time Zone
-
-http://www.gravatar.com/avatar/ebb1af3a9dd9a3dd5f169d9c698f9f21?d=mm&s=60";
 alt="" />
-ggregory
-Gary Gregory
-mailto:ggreg...@apache.org";>ggreg...@apache.org
-Java Developer
--5
-
-Contributors
-There are no contributors listed for this project. Please check back again 
later.
-  
-
-  
-
-
-
-  Copyright ©2017-2018
-https://www.apache.org/";>The Apache Software 
Foundation.
-All Rights Reserved.
-
-  
-
-

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/xref/allclasses-frame.html
--
diff --git a/target/site/xref/allclasses-frame.html 
b/target/site/xref/allclasses-frame.html
deleted file mode 100644
index 56f4811..000
--- a/target/site/xref/allclasses-frame.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-
-   
-   
-   All Classes
-   
-
-
-
-   All Classes
-
-   
-   
-   AbstractAvailableLocalesTest
-   
-   
-   ObjectToStringComparator
-   
-   
-   SetDefaultLocaleTestRule
-   
- 
-
-
-  

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/xref/index.html
--

[03/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/js/prettify.js
--
diff --git a/target/site/js/prettify.js b/target/site/js/prettify.js
deleted file mode 100644
index 62ec7dd..000
--- a/target/site/js/prettify.js
+++ /dev/null
@@ -1,640 +0,0 @@
-/**
- *
- * Copyright (C) 2006 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-function H() {
-var x = navigator && navigator.userAgent
-&& /\bMSIE 6\./.test(navigator.userAgent);
-H = function() {
-return x
-};
-return x
-}
-(function() {
-function x(b) {
-b = b.split(/ /g);
-var a = {};
-for ( var c = b.length; --c >= 0;) {
-var d = b[c];
-if (d)
-a[d] = null
-}
-return a
-}
-var y = "break continue do else for if return while ", U = y
-+ "auto case char const default double enum extern float goto int 
long register short signed sizeof static struct switch typedef union unsigned 
void volatile ", D = U
-+ "catch class delete false import new operator private protected 
public this throw true try ", I = D
-+ "alignof align_union asm axiom bool concept concept_map 
const_cast constexpr decltype dynamic_cast explicit export friend inline 
late_check mutable namespace nullptr reinterpret_cast static_assert static_cast 
template typeid typename typeof using virtual wchar_t where ", J = D
-+ "boolean byte extends final finally implements import instanceof 
null native package strictfp super synchronized throws transient ", V = J
-+ "as base by checked decimal delegate descending event fixed 
foreach from group implicit in interface internal into is lock object out 
override orderby params readonly ref sbyte sealed stackalloc string select uint 
ulong unchecked unsafe ushort var ", K = D
-+ "debugger eval export function get null set undefined var with 
Infinity NaN ", L = "caller delete die do dump elsif eval exit foreach for goto 
if import last local my next no our print package redo require sub undef unless 
until use wantarray while BEGIN END ", M = y
-+ "and as assert class def del elif except exec finally from 
global import in is lambda nonlocal not or pass print raise try with yield 
False True None ", N = y
-+ "alias and begin case class def defined elsif end ensure false 
in module next nil not or redo rescue retry self super then true undef unless 
until when yield BEGIN END ", O = y
-+ "case done elif esac eval fi function in local set then until ", 
W = I
-+ V + K + L + M + N + O;
-function X(b) {
-return b >= "a" && b <= "z" || b >= "A" && b <= "Z"
-}
-function u(b, a, c, d) {
-b.unshift(c, d || 0);
-try {
-a.splice.apply(a, b)
-} finally {
-b.splice(0, 2)
-}
-}
-var Y = (function() {
-var b = [ "!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=",
-"(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::",
-";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>",
-">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=",
-"{", "|", "|=", "||", "||=", "~", "break", "case", "continue",
-"delete", "do", "else", "finally", "instanceof", "return",
-"throw", "try", "typeof" ], a = 
"(?:(?:(?:^|[^0-9.])\\.{1,3})|(?:(?:^|[^\\+])\\+)|(?:(?:^|[^\\-])-)";
-for ( var c = 0; c < b.length; ++c) {
-var d = b[c];
-a += X(d.charAt(0)) ? "|\\b" + d : "|"
-+ d.replace(/([^=<>:&])/g, "\\$1")
-}
-a += "|^)\\s*$";
-return new RegExp(a)
-})(), P = /&/g, Q = //g, Z = /\"/g;
-function $(b) {
-return b.replace(P, "&").replace(Q, "<").replace(R, ">")
-.replace(Z, """)
-}
-function E(b) {
-return b.replace(P, "&").replace(Q, "<").replace(R, ">")
-}
-var aa = //g, ca = /'/g, da = /"/g, ea = 
/&/g, fa = / /g;
-function ga(b) {
-var a = b.indexOf("&");
-if (a < 0)
-return b;
-for (--a; (a = b.indexOf("&#", a + 1)) >= 0;) {
-var c = b.indexOf(";", a);
-if (c >= 0) {
-var d = b.substring(a

[05/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/issue-tracking.html
--
diff --git a/target/site/issue-tracking.html b/target/site/issue-tracking.html
deleted file mode 100644
index 50abea0..000
--- a/target/site/issue-tracking.html
+++ /dev/null
@@ -1,374 +0,0 @@
-
-
-http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  
-
-
-
-
-
-Lang – Commons Lang Issue tracking
-
-  
-  
-
-
-  
-  
-  
-  
-
-  
-  
-
-  
-  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
-   
 
-
-  
-   
 
-
-  
-
-
-  
-
-  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
-
-
-Last Published: 04 February 2018
-  | Version: 
1.0.0-SNAPSHOT
-  
-  
-
-  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
-ApacheCon
-  
-  
-  http://www.apache.org"; class="externalLink" 
title="Apache">
-Apache
-  
-  
-  
-Commons
-  
-
-
-
-  
-
-
-
-  
-
-  
-
-
-  Testing
-
-  
-Overview
-  
- 
-  
-Download
-  
- 
-  
-Javadoc (1.0.0)
-  
- 
-  
-Javadoc (Latest)
-  
- 
-  
-Development
-
-  
-Building
-  
- 
-  
-Mailing Lists
-  
-   
-  
-Issue Tracking
-  
- 
-  
-Developer Guide
-  
- 
-  
-Source Repository
-  
- 
-  
-Javadoc (GIT latest)
-  
- 
-  
-  Components
-
-  
-Parent
-  
- 
-  
-Generic
-  
- 
-  
-JUnit 4
-  
- 
-  
-Project Documentation
-   


   
-  
-Project Information
-
-  
-  
-About
-  
- 
-  
-Summary
-  
- 
-  
-Project Modules
-  
- 
-  
-Team
-  
- 
-  
-Source Code Management
-  
-   
-  
-Issue Management
-  
- 
-  
-Mailing Lists
-  
- 
-  
-Dependency Information
-  
- 
-  
-Dependency Management
-  
- 
-  
-Dependency Convergence
-  
- 
-  
-CI Management
-  
- 
-  
-Distribution Management
-  
- 
-  
-   

  
-  
-Project Reports
-
- 
-  
-  Commons
-
-  
-Home
-  
- 
-  http://www.apache.org/licenses/"; 
class="e

[02/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/project-info.html
--
diff --git a/target/site/project-info.html b/target/site/project-info.html
deleted file mode 100644
index 40a4b9c..000
--- a/target/site/project-info.html
+++ /dev/null
@@ -1,343 +0,0 @@
-
-
-http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  
-
-
-
-
-Lang – Project Information
-
-  
-  
-
-
-  
-  
-  
-  
-
-  
-  
-
-  
-  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
-   
 
-
-  
-   
 
-
-  
-
-
-  
-
-  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
-
-
-Last Published: 04 February 2018
-  | Version: 
1.0.0-SNAPSHOT
-  
-  
-
-  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
-ApacheCon
-  
-  
-  http://www.apache.org"; class="externalLink" 
title="Apache">
-Apache
-  
-  
-  
-Commons
-  
-
-
-
-  
-
-
-
-  
-
-  
-
-
-  Testing
-
-  
-Overview
-  
- 
-  
-Download
-  
- 
-  
-Javadoc (1.0.0)
-  
- 
-  
-Javadoc (Latest)
-  
- 
-  
-Development
-
-  
-Building
-  
- 
-  
-Mailing Lists
-  
- 
-  
-Issue Tracking
-  
- 
-  
-Developer Guide
-  
- 
-  
-Source Repository
-  
- 
-  
-Javadoc (GIT latest)
-  
- 
-  
-  Components
-
-  
-Parent
-  
- 
-  
-Generic
-  
- 
-  
-JUnit 4
-  
- 
-  
-Project Documentation
-   


   
-  
-Project Information
-
-  
-  
-About
-  
- 
-  
-Summary
-  
- 
-  
-Project Modules
-  
- 
-  
-Team
-  
- 
-  
-Source Code Management
-  
- 
-  
-Issue Management
-  
- 
-  
-Mailing Lists
-  
- 
-  
-Dependency Information
-  
- 
-  
-Dependency Management
-  
- 
-  
-Dependency Convergence
-  
- 
-  
-CI Management
-  
- 
-  
-Distribution Management
-  
- 
-  
-   

  
-  
-Project Reports
-
- 
-  
-  Commons
-
-  
-Home
-  
- 
-  http://www.apache.org/licenses/"; 
class="externalLink" title="License">

[10/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
Don't track target files.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/7fa3f2e7
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/7fa3f2e7
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/7fa3f2e7

Branch: refs/heads/master
Commit: 7fa3f2e77f8bc66ccc434c4e0546a667a94a4738
Parents: 41e52b6
Author: Gary Gregory 
Authored: Sun Feb 4 14:53:40 2018 -0700
Committer: Gary Gregory 
Committed: Sun Feb 4 14:53:40 2018 -0700

--
 target/antrun/build-main.xml|  11 -
 target/apidocs/META-INF/LICENSE.txt | 202 
 target/apidocs/META-INF/NOTICE.txt  |   5 -
 ...mmons-testing-parent-1.0.0-SNAPSHOT-site.xml |  50 -
 target/site/building.html   | 284 --
 target/site/changes-report.html | 290 --
 target/site/css/bootstrap-1.3.0.min.css | 330 ---
 target/site/css/bootstrap.min.css   |   9 -
 target/site/css/commons-maven.css   | 129 ---
 target/site/css/commons-trade.css   |  41 -
 target/site/css/maven-base.css  | 164 
 target/site/css/maven-theme.css | 926 ---
 target/site/css/prettify.css| 111 ---
 target/site/css/print.css   |  23 -
 target/site/css/site.css|  82 --
 target/site/dependency-convergence.html | 324 ---
 target/site/dependency-info.html| 337 ---
 target/site/dependency-management.html  | 322 ---
 target/site/developerguide.html | 306 --
 target/site/distribution-management.html| 308 --
 target/site/download_lang.cgi   |   4 -
 target/site/images/add.gif  | Bin 207 -> 0 bytes
 target/site/images/collapsed.gif| Bin 820 -> 0 bytes
 target/site/images/commons-logo.png | Bin 6067 -> 0 bytes
 target/site/images/expanded.gif | Bin 52 -> 0 bytes
 target/site/images/external-classic.png | Bin 956 -> 0 bytes
 target/site/images/fix.gif  | Bin 181 -> 0 bytes
 target/site/images/help_logo.gif| Bin 2113 -> 0 bytes
 .../site/images/icon_arrowfolderclosed1_sml.gif | Bin 441 -> 0 bytes
 .../site/images/icon_arrowfolderopen2_sml.gif   | Bin 664 -> 0 bytes
 target/site/images/icon_arrowwaste1_sml.gif | Bin 606 -> 0 bytes
 target/site/images/icon_arrowwaste2_sml.gif | Bin 609 -> 0 bytes
 target/site/images/icon_doc_lrg.gif | Bin 1335 -> 0 bytes
 target/site/images/icon_doc_sml.gif | Bin 355 -> 0 bytes
 target/site/images/icon_error_lrg.gif   | Bin 1531 -> 0 bytes
 target/site/images/icon_error_sml.gif   | Bin 633 -> 0 bytes
 target/site/images/icon_folder_lrg.gif  | Bin 1548 -> 0 bytes
 target/site/images/icon_folder_sml.gif  | Bin 634 -> 0 bytes
 target/site/images/icon_help_sml.gif| Bin 1019 -> 0 bytes
 target/site/images/icon_info_lrg.gif| Bin 1383 -> 0 bytes
 target/site/images/icon_info_sml.gif| Bin 638 -> 0 bytes
 target/site/images/icon_members_lrg.gif | Bin 1570 -> 0 bytes
 target/site/images/icon_sortdown.gif| Bin 117 -> 0 bytes
 target/site/images/icon_sortup.gif  | Bin 117 -> 0 bytes
 target/site/images/icon_success_lrg.gif | Bin 1492 -> 0 bytes
 target/site/images/icon_success_sml.gif | Bin 604 -> 0 bytes
 target/site/images/icon_usergroups_lrg.gif  | Bin 1520 -> 0 bytes
 target/site/images/icon_warning_lrg.gif | Bin 1491 -> 0 bytes
 target/site/images/icon_warning_sml.gif | Bin 625 -> 0 bytes
 target/site/images/logo.png | Bin 32813 -> 0 bytes
 .../site/images/logos/build-by-maven-black.png  | Bin 2294 -> 0 bytes
 .../site/images/logos/build-by-maven-white.png  | Bin 2260 -> 0 bytes
 target/site/images/logos/maven-feather.png  | Bin 3330 -> 0 bytes
 target/site/images/newwindow-classic.png| Bin 951 -> 0 bytes
 target/site/images/nw_maj_rond.gif  | Bin 51 -> 0 bytes
 target/site/images/remove.gif   | Bin 227 -> 0 bytes
 target/site/images/rss.png  | Bin 249 -> 0 bytes
 target/site/images/strich.gif   | Bin 43 -> 0 bytes
 target/site/images/sw_maj_rond.gif  | Bin 51 -> 0 bytes
 target/site/images/sw_med_rond.gif  | Bin 46 -> 0 bytes
 target/site/images/update.gif   | Bin 192 -> 0 bytes
 target/site/img/glyphicons-halflings-white.png  | Bin 8777 -> 0 bytes
 target/site/img/glyphicons-halflings.png| Bin 12799 -> 0 bytes
 target/site/index.html  | 409 
 target/site/integration.html| 309 ---
 target/site/issue-tracking.ht

[09/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/css/bootstrap-1.3.0.min.css
--
diff --git a/target/site/css/bootstrap-1.3.0.min.css 
b/target/site/css/bootstrap-1.3.0.min.css
deleted file mode 100644
index b555c65..000
--- a/target/site/css/bootstrap-1.3.0.min.css
+++ /dev/null
@@ -1,330 +0,0 @@
-html,body{margin:0;padding:0;}
-h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
-table{border-collapse:collapse;border-spacing:0;}
-ol,ul{list-style:none;}
-q:before,q:after,blockquote:before,blockquote:after{content:"";}
-html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
-a:focus{outline:thin dotted;}
-a:hover,a:active{outline:0;}
-article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
-audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
-audio:not([controls]){display:none;}
-sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
-sup{top:-0.5em;}
-sub{bottom:-0.25em;}
-img{border:0;-ms-interpolation-mode:bicubic;}
-button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
-button,input{line-height:normal;*overflow:visible;}
-button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
-button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
-input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
-input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
-textarea{overflow:auto;vertical-align:top;}
-html,body{background-color:#ff;}
-body{margin:0;font-family:"Helvetica 
Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#404040;}
-.container{width:940px;margin-left:auto;margin-right:auto;zoom:1;}.container:before,.container:after{display:table;content:"";zoom:1;*display:inline;}
-.container:after{clear:both;}
-.container-fluid{position:relative;min-width:940px;padding-left:20px;padding-right:20px;zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";zoom:1;*display:inline;}
-.container-fluid:after{clear:both;}
-.container-fluid>.sidebar{float:left;width:220px;}
-.container-fluid>.content{margin-left:240px;}
-a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#00438a;text-decoration:underline;}
-.pull-right{float:right;}
-.pull-left{float:left;}
-.hide{display:none;}
-.show{display:block;}
-.row{zoom:1;margin-left:-20px;}.row:before,.row:after{display:table;content:"";zoom:1;*display:inline;}
-.row:after{clear:both;}
-[class*="span"]{display:inline;float:left;margin-left:20px;}
-.span1{width:40px;}
-.span2{width:100px;}
-.span3{width:160px;}
-.span4{width:220px;}
-.span5{width:280px;}
-.span6{width:340px;}
-.span7{width:400px;}
-.span8{width:460px;}
-.span9{width:520px;}
-.span10{width:580px;}
-.span11{width:640px;}
-.span12{width:700px;}
-.span13{width:760px;}
-.span14{width:820px;}
-.span15{width:880px;}
-.span16{width:940px;}
-.span17{width:1000px;}
-.span18{width:1060px;}
-.span19{width:1120px;}
-.span20{width:1180px;}
-.span21{width:1240px;}
-.span22{width:1300px;}
-.span23{width:1360px;}
-.span24{width:1420px;}
-.offset1{margin-left:80px;}
-.offset2{margin-left:140px;}
-.offset3{margin-left:200px;}
-.offset4{margin-left:260px;}
-.offset5{margin-left:320px;}
-.offset6{margin-left:380px;}
-.offset7{margin-left:440px;}
-.offset8{margin-left:500px;}
-.offset9{margin-left:560px;}
-.offset10{margin-left:620px;}
-.offset11{margin-left:680px;}
-.offset12{margin-left:740px;}
-.span-one-third{width:300px;}
-.span-two-thirds{width:620px;}
-.offset-one-third{margin-left:340px;}
-.offset-two-thirds{margin-left:660px;}
-p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:9px;}p 
small{font-size:11px;color:#bfbfbf;}
-h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 
small,h4 small,h5 small,h6 small{color:#bfbfbf;}
-h1{margin-bottom:18px;font-size:30px;line-height:36px;}h1 
small{font-size:18px;}
-h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
-h3,h4,h5,h6{line-height:36px;}
-h3{font-size:18px;}h3 small{font-size:14px;}
-h4{font-size:16px;}h4 small{font-size:12px;}
-h5{font-size:14px;}
-h6{font-size:13px;color:#bfbfbf;text-transform:uppercase;}
-ul,ol{margin:0 0 18px 25px;}
-ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
-ul{list-style:disc;}
-ol{list-style:decimal;}
-li{line-height:18px;color:#808080;}
-ul.unstyled{list-style:none;margin-left:0;}
-dl{margin-bottom:18

[06/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/developerguide.html
--
diff --git a/target/site/developerguide.html b/target/site/developerguide.html
deleted file mode 100644
index 99a37ef..000
--- a/target/site/developerguide.html
+++ /dev/null
@@ -1,306 +0,0 @@
-
-
-http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  
-
-
-
-
-Lang – Developer guide for Apache Commons Testing
-
-  
-  
-
-
-  
-  
-  
-  
-
-  
-  
-
-  
-  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
-   
 
-
-  
-   
 
-
-  
-
-
-  
-
-  http://commons.apache.org/proper/commons-testing/";>Apache Commons Testing 
Parent POM ™
-
-
-Last Published: 04 February 2018
-  | Version: 
1.0.0-SNAPSHOT
-  
-  
-
-  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
-ApacheCon
-  
-  
-  http://www.apache.org"; class="externalLink" 
title="Apache">
-Apache
-  
-  
-  
-Commons
-  
-
-
-
-  
-
-
-
-  
-
-  
-
-
-  Testing
-
-  
-Overview
-  
- 
-  
-Download
-  
- 
-  
-Javadoc (1.0.0)
-  
- 
-  
-Javadoc (Latest)
-  
- 
-  
-Development
-
-  
-Building
-  
- 
-  
-Mailing Lists
-  
- 
-  
-Issue Tracking
-  
-   
-  
-Developer Guide
-  
- 
-  
-Source Repository
-  
- 
-  
-Javadoc (GIT latest)
-  
- 
-  
-  Components
-
-  
-Parent
-  
- 
-  
-Generic
-  
- 
-  
-JUnit 4
-  
- 
-  
-Project Documentation
-   


 
-  
-Project Information
-
-   

  
-  
-Project Reports
-
- 
-  
-  Commons
-
-  
-Home
-  
- 
-  http://www.apache.org/licenses/"; 
class="externalLink" title="License">
-License
-  
-   

-  
-Components
-
-   

-  
-Sandbox
-
-   

-  
-Dormant
-
- 
-  
-  General 
Information
-
-  
-Security
-  
- 
-  
-Volunteering
-  
- 
-  
-Contributing Patches
-  
- 
-  
-Building Components
-  
- 
-  
-Commons Parent Pom
-  
- 
-  
-Commons Build Plugin
-  
- 
-  
-Releasing Compon

[07/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/css/commons-maven.css
--
diff --git a/target/site/css/commons-maven.css 
b/target/site/css/commons-maven.css
deleted file mode 100644
index 02b7640..000
--- a/target/site/css/commons-maven.css
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/* $Id$ */
-
-body {
- color: #000;
- background-color: #fff;
- font-size: 13px;
-}
-
-p {
- margin-left: 4px;
- margin-top: 8px;
- margin-bottom: 4px;
-}
-ul, ol {
- margin-top: 4px;
- margin-bottom: 4px;
-}
-
-h2 {
- color: #fff;
- border: none;
- margin-top: 8px;
- margin-bottom: 4px;
- padding: 4px 4px 4px 6px;
- background-color: #036;
- font-weight: 900;
- font-size: 13px;
- background-image: url(../images/nw_maj_rond.gif);
- background-repeat: no-repeat;
-}
-
-h3 {
- color: #fff;
- background-color: #888;
- margin-top: 12px;
- margin-bottom: 4px;
- padding: 4px 4px 4px 6px;
- border: none;
- font-weight: 900;
- font-size: 13px;
- background-image: url(../images/nw_maj_rond.gif);
- background-repeat: no-repeat;
-}
-
-div#bodyColumn {
- margin-top: 0px;
- margin-left: 158px;
-}
-
-div#bodyColumn a {
- text-decoration: underline;
-}
-div#bodyColumn a:link {
- color: #00f;
-}
-div#bodyColumn a:visited  {
- color: #00f;
-}
-a:active, a:hover {
- color: #f30 !important;
-}
-
-div.source {
- background-color: #eee;
- color: #000;
- margin-right: 0px;
- margin-left: 4px;
- margin-top: 1em;
-}
-
-div#leftColumn {
- color: #000;
- background-color: #eee;
- margin-left: 0px;
- margin-top: 0px;
- border-right: 1px solid #aaa;
- border-bottom: 1px solid #aaa;
- border-top: none;
- border-left: none;
- width: 150px;
-}
-
-div#navcolumn {
- color: #000;
- border: none;
- padding: 6px 4px 0 8px;
-}
-
-#navcolumn li {
-  padding-left: 8px;
-}
-
-#navcolumn h5 {
-  padding-top: 3px;
-}
-
-#banner, #banner td { 
- background-color: #fff;
- color: #000;
-}
-
-#banner td { 
- height: 100%;
- vertical-align: middle;
-}
-
-#menuCommons a.externalLink, #menuCommons a.externalLink:link, #menuCommons 
a.externalLink:visited, #menuCommons a.externalLink:active, #menuCommons 
a.externalLink:hover {
-  background-image: none;
-  padding-right: 0px;
-}

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/css/commons-trade.css
--
diff --git a/target/site/css/commons-trade.css 
b/target/site/css/commons-trade.css
deleted file mode 100644
index c2bebb6..000
--- a/target/site/css/commons-trade.css
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/* $Id$ */
-
-/*
- * Implement overlay for adding "TM" symbol over selected images.
- */
- 
- 
-div.overlay_wrapper{ /* Absolute overlay must occur within relative div 
containing the image*/
-float:left;
-position:relative; 
-}
-
-div.overlay{/* This is absolute relative to the wrapper container. Default to 
bottom */
-position:absolute;
-bottom:0px;
-}
-
-div.overlay span{ /* settings for the ™ content */
-font-size:14px;
-color:black;
-margin:0px;
-}

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/css/maven-base.css
--
diff --git a/target/site/css/maven-base.css b/target/site/css/mav

[08/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/css/bootstrap.min.css
--
diff --git a/target/site/css/bootstrap.min.css 
b/target/site/css/bootstrap.min.css
deleted file mode 100644
index 43e16d7..000
--- a/target/site/css/bootstrap.min.css
+++ /dev/null
@@ -1,9 +0,0 @@
-/*!
- * Bootstrap v2.2.1
- *
- * Copyright 2012 Twitter, Inc
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
- 
*/article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin
 dotted #333;outline:5px auto 
-webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas
 img,.google-maps 
img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html
 
input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-siz
 
ing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0
 
a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica
 
Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px
 solid #ccc;border:1px solid r
 gba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 
1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px 
rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top
 .container,.navbar-fixed-top .container,.navbar-fixed-bottom 
.container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{
 
margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid
 
[class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid
 [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row 
[class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid 
.span12{width:100%;*width:99.94680851063829%}.row-fluid 
.span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid 
.span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid 
.span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid 
.span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid 
.span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid 
.span6{width:48.9
 3617021276595%;*width:48.88297872340425%}.row-fluid 
.span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid 
.span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid 
.span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid 
.span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid 
.span1{width:6.382978

[04/10] commons-testing git commit: Don't track target files.

2018-02-04 Thread ggregory
http://git-wip-us.apache.org/repos/asf/commons-testing/blob/7fa3f2e7/target/site/js/jquery.min.js
--
diff --git a/target/site/js/jquery.min.js b/target/site/js/jquery.min.js
deleted file mode 100644
index 198b3ff..000
--- a/target/site/js/jquery.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return 
f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function 
cv(a){if(!ck[a]){var 
b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return
 ck[a]}function cu(a,b){var 
c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return 
c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function 
cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function 
ci(){try{return new a.XMLHttpRequest}catch(b){}}function 
cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var 
d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p
 ;for(g=1;g0){if(c!=="border")for(;g=0===c})}function 
S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function 
K(){return!0}function J(){return!1}function n(a,b,c){var 
d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function
 m(a){for(var b in 
a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function
 l(a,c,d){if(d===b&&a.nodeType===1){var 
e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof 
d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse
 Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return 
d}function h(a){var 
b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[
 \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) 
([\w.]+)/,u=/(mozilla)(?:.*? 
rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro
 
totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var
 g,h,j,k;if(!a)return 
this;if(a.nodeType){this.context=this[0]=a,this.length=1;return 
this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return
 this}if(typeof 
a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d
 instanceof 
e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return
 
e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return
 f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return 
this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return
 f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.
 context);return 
e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return 
this.length},toArray:function(){return F.call(this,0)},get:function(a){return 
a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var
 
d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?"
 ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return 
d},each:function(a,b){return 
e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return 
this},eq:function(a){a=+a;return 
a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return 
this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return 
this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return
 this.pushStack(e.map(this,function(b,c){return 
a.call(b,c,b)}))},end:function(){return 
this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].
 splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var 
a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof 
i=="boolean"&&(l=i,i=arg

commons-testing git commit: Add module commons-testing-junit4-mongodb.

2018-02-05 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master 7fa3f2e77 -> a5c619156


Add module commons-testing-junit4-mongodb.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/a5c61915
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/a5c61915
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/a5c61915

Branch: refs/heads/master
Commit: a5c6191560329fec7d0a7639e518e08a3f206093
Parents: 7fa3f2e
Author: Gary Gregory 
Authored: Mon Feb 5 17:04:11 2018 -0700
Committer: Gary Gregory 
Committed: Mon Feb 5 17:04:11 2018 -0700

--
 commons-testing-generic/pom.xml |   8 +
 .../java/org/apache/commons/testing/Closer.java |  60 +++
 .../testing/net/AvailableServerPortFinder.java  | 155 +++
 .../org/apache/commons/testing/CloserTest.java  |  57 +++
 .../net/AvailableServerPortFinderTest.java  |  30 
 commons-testing-junit4-mongodb/pom.xml  | 113 ++
 .../testing/junit4/mongodb/MongoDbTestRule.java | 140 +
 .../junit4/mongodb/MongoDbTestRuleTest.java |  42 +
 commons-testing-junit4/pom.xml  |   5 +
 .../testing/junit4/RuleChainFactory.java|  45 ++
 ...ailableServerPortSystemPropertyTestRule.java |  81 ++
 ...bleServerPortSystemPropertyTestRuleTest.java |  42 +
 pom.xml |  29 +++-
 13 files changed, 803 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/a5c61915/commons-testing-generic/pom.xml
--
diff --git a/commons-testing-generic/pom.xml b/commons-testing-generic/pom.xml
index b70c253..b50486a 100644
--- a/commons-testing-generic/pom.xml
+++ b/commons-testing-generic/pom.xml
@@ -62,6 +62,14 @@
 
   
 
+  
+
+  junit
+  junit
+  test
+
+  
+
   
 
   

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/a5c61915/commons-testing-generic/src/main/java/org/apache/commons/testing/Closer.java
--
diff --git 
a/commons-testing-generic/src/main/java/org/apache/commons/testing/Closer.java 
b/commons-testing-generic/src/main/java/org/apache/commons/testing/Closer.java
new file mode 100644
index 000..41bce1e
--- /dev/null
+++ 
b/commons-testing-generic/src/main/java/org/apache/commons/testing/Closer.java
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+
+package org.apache.commons.testing;
+
+/**
+ * Helper class for closing resources.
+ */
+public final class Closer {
+
+/**
+ * Closes an AutoCloseable or ignores if {@code null}.
+ *
+ * @param closeable
+ *the resource to close; may be null
+ * @throws Exception
+ * if the resource cannot be closed
+ * @since 1.0.0
+ */
+public static void close(final AutoCloseable closeable) throws Exception {
+if (closeable != null) {
+closeable.close();
+}
+}
+
+/**
+ * Closes an AutoCloseable and returns {@code true} if it closed without 
exception.
+ *
+ * @param closeable
+ *the resource to close; may be null
+ * @return true if resource was closed successfully, or false if an 
exception was thrown
+ * @since 1.0.0
+ */
+public static boolean closeSilently(final AutoCloseable closeable) {
+try {
+close(closeable);
+return true;
+} catch (final Exception ignored) {
+return false;
+}
+}
+
+private Closer() {
+}
+
+}

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/a5c61915/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
--
diff --git 
a/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.

commons-testing git commit: Add CopyFileTestRule.

2018-02-05 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master a5c619156 -> 945be5fa9


Add CopyFileTestRule.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/945be5fa
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/945be5fa
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/945be5fa

Branch: refs/heads/master
Commit: 945be5fa9bd75b591a9f9d46b740ccdade3cf1bf
Parents: a5c6191
Author: Gary Gregory 
Authored: Mon Feb 5 18:00:54 2018 -0700
Committer: Gary Gregory 
Committed: Mon Feb 5 18:00:54 2018 -0700

--
 .../testing/net/AvailableServerPortFinder.java  |  1 +
 .../org/apache/commons/testing/CloserTest.java  |  1 +
 commons-testing-junit4/pom.xml  |  4 +
 .../testing/junit4/io/CopyFileTestRule.java | 88 
 .../testing/junit4/io/CopyFileTestRuleTest.java | 47 +++
 .../src/test/resources/test.txt |  1 +
 pom.xml |  6 ++
 7 files changed, 148 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/945be5fa/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
--
diff --git 
a/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
 
b/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
index 9a276e9..656a97a 100644
--- 
a/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
+++ 
b/commons-testing-generic/src/main/java/org/apache/commons/testing/net/AvailableServerPortFinder.java
@@ -14,6 +14,7 @@
  * See the license for the specific language governing permissions and
  * limitations under the license.
  */
+
 package org.apache.commons.testing.net;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/945be5fa/commons-testing-generic/src/test/java/org/apache/commons/testing/CloserTest.java
--
diff --git 
a/commons-testing-generic/src/test/java/org/apache/commons/testing/CloserTest.java
 
b/commons-testing-generic/src/test/java/org/apache/commons/testing/CloserTest.java
index b812292..ccb939d 100644
--- 
a/commons-testing-generic/src/test/java/org/apache/commons/testing/CloserTest.java
+++ 
b/commons-testing-generic/src/test/java/org/apache/commons/testing/CloserTest.java
@@ -14,6 +14,7 @@
  * See the license for the specific language governing permissions and
  * limitations under the license.
  */
+
 package org.apache.commons.testing;
 
 import org.junit.Assert;

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/945be5fa/commons-testing-junit4/pom.xml
--
diff --git a/commons-testing-junit4/pom.xml b/commons-testing-junit4/pom.xml
index 836c935..5c27ac3 100644
--- a/commons-testing-junit4/pom.xml
+++ b/commons-testing-junit4/pom.xml
@@ -76,6 +76,10 @@
   org.apache.commons
   commons-lang3
 
+
+  commons-io
+  commons-io
+
   
 
   

http://git-wip-us.apache.org/repos/asf/commons-testing/blob/945be5fa/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
--
diff --git 
a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
new file mode 100644
index 000..38792c0
--- /dev/null
+++ 
b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+
+package org.apache.commons.testing.junit4.io;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Objects

commons-testing git commit: Use final.

2018-02-05 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master 945be5fa9 -> 8abb9759d


Use final.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/8abb9759
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/8abb9759
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/8abb9759

Branch: refs/heads/master
Commit: 8abb9759d20d504684af2980f4cc85e2c771b211
Parents: 945be5f
Author: Gary Gregory 
Authored: Mon Feb 5 18:02:08 2018 -0700
Committer: Gary Gregory 
Committed: Mon Feb 5 18:02:08 2018 -0700

--
 .../org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/8abb9759/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
--
diff --git 
a/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
 
b/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
index 9873466..617df65 100644
--- 
a/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
+++ 
b/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
@@ -70,7 +70,7 @@ public class MongoDbTestRule implements TestRule {
 this(portSystemPropertyName, DEFAULT_MONGODB_VERSION);
 }
 
-public MongoDbTestRule(final String portSystemPropertyName, Main 
mongoDbVersion) {
+public MongoDbTestRule(final String portSystemPropertyName, final Main 
mongoDbVersion) {
 this.portSystemPropertyName = 
Objects.requireNonNull(portSystemPropertyName, "portSystemPropertyName");
 this.mongoDbVersion = mongoDbVersion;
 }



commons-testing git commit: Add stock files for a project.

2018-02-05 Thread ggregory
Repository: commons-testing
Updated Branches:
  refs/heads/master 8abb9759d -> a405c473a


Add stock files for a project.

Project: http://git-wip-us.apache.org/repos/asf/commons-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-testing/commit/a405c473
Tree: http://git-wip-us.apache.org/repos/asf/commons-testing/tree/a405c473
Diff: http://git-wip-us.apache.org/repos/asf/commons-testing/diff/a405c473

Branch: refs/heads/master
Commit: a405c473a34d3e0ebed4560390f74f803925bf6b
Parents: 8abb975
Author: Gary Gregory 
Authored: Mon Feb 5 19:45:45 2018 -0700
Committer: Gary Gregory 
Committed: Mon Feb 5 19:45:45 2018 -0700

--
 CONTRIBUTING.md  | 115 ++
 README.md| 105 +
 src/site/xdoc/issue-tracking.xml | 204 -
 src/site/xdoc/mail-lists.xml | 407 +-
 4 files changed, 527 insertions(+), 304 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-testing/blob/a405c473/CONTRIBUTING.md
--
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 000..72bbf93
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,115 @@
+
+
+Contributing to Apache Commons Testing Parent POM
+==
+
+You have found a bug or you have an idea for a cool new feature? Contributing 
code is a great way to give something back to
+the open source community. Before you dig right into the code there are a few 
guidelines that we need contributors to
+follow so that we can have a chance of keeping on top of things.
+
+Getting Started
+---
+
++ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
++ Make sure you have a [GitHub account](https://github.com/signup/free).
++ If you're planning to implement a new feature it makes sense to discuss 
you're changes on the [dev list](https://commons.apache.org/mail-lists.html) 
first. This way you can make sure you're not wasting your time on something 
that isn't considered to be in Apache Commons Testing Parent POM's scope.
++ Submit a [Jira Ticket][jira] for your issue, assuming one does not already 
exist.
+  + Clearly describe the issue including steps to reproduce when it is a bug.
+  + Make sure you fill in the earliest version that you know has the issue.
++ Find the corresponding [repository on 
GitHub](https://github.com/apache/?query=commons-),
+[fork](https://help.github.com/articles/fork-a-repo/) and check out your 
forked repository.
+
+Making Changes
+--
+
++ Create a _topic branch_ for your isolated work.
+  * Usually you should base your branch on the `master` or `trunk` branch.
+  * A good topic branch name can be the JIRA bug id plus a keyword, e.g. 
`TESTING-123-InputStream`.
+  * If you have submitted multiple JIRA issues, try to maintain separate 
branches and pull requests.
++ Make commits of logical units.
+  * Make sure your commit messages are meaningful and in the proper format. 
Your commit message should contain the key of the JIRA issue.
+  * e.g. `TESTING-123: Close input stream earlier`
++ Respect the original code style:
+  + Only use spaces for indentation.
+  + Create minimal diffs - disable _On Save_ actions like _Reformat Source 
Code_ or _Organize Imports_. If you feel the source code should be reformatted 
create a separate PR for this change first.
+  + Check for unnecessary whitespace with `git diff` -- check before 
committing.
++ Make sure you have added the necessary tests for your changes, typically in 
`src/test/java`.
++ Run all the tests with `mvn clean verify` to assure nothing else was 
accidentally broken.
+
+Making Trivial Changes
+--
+
+The JIRA tickets are used to generate the changelog for the next release.
+
+For changes of a trivial nature to comments and documentation, it is not 
always necessary to create a new ticket in JIRA.
+In this case, it is appropriate to start the first line of a commit with 
'(doc)' instead of a ticket number.
+
+
+Submitting Changes
+--
+
++ Sign and submit the Apache [Contributor License Agreement][cla] if you 
haven't already.
+  * Note that small patches & typical bug fixes do not require a CLA as
+clause 5 of the [Apache 
License](https://www.apache.org/licenses/LICENSE-2.0.html#contributions)
+covers them.
++ Push your changes to a topic branch in your fork of the repository.
++ Submit a _Pull Request_ to the corresponding repository in the `apache` 
organization.
+  * Verify _Files Changed_ shows only your intended changes and does not
+  include additional files like `target/*.class`
++ Update your JIRA ticket and include a link to the pull request in the ticket.
+
+If you prefer to not use GitHub, then you can instead use
+`git format-patch` (or `svn diff`) and atta

<    7   8   9   10   11   12   13   14   15   16   >