You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2011/08/17 22:08:39 UTC
svn commit: r1158891 -
/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java
Author: oheger
Date: Wed Aug 17 20:08:39 2011
New Revision: 1158891
URL: http://svn.apache.org/viewvc?rev=1158891&view=rev
Log:
Checkstyle
Modified:
commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java
Modified: commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java?rev=1158891&r1=1158890&r2=1158891&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java (original)
+++ commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/tree/DefaultConfigurationKey.java Wed Aug 17 20:08:39 2011
@@ -830,7 +830,7 @@ public class DefaultConfigurationKey
{
int endidx = key.indexOf(getExpressionEngine().getIndexEnd(),
idx);
-
+
if (endidx > idx + 1)
{
indexValue = Integer.parseInt(key.substring(idx + 1, endidx));