fixed checkstyle violation: inner assignment should be avoided.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/digester/trunk@1142069 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java b/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
index 2284336..161b18f 100644
--- a/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
+++ b/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
@@ -199,13 +199,13 @@
 
         // Universal wildcards ('*') in the middle of the pattern-string
         List<Rule> recList = null;
-        int parentLastIndex = -1;
         // temporary parentPattern
         // we don't want to change anything....
         String tempParentPattern = parentPattern;
+        int parentLastIndex = tempParentPattern.lastIndexOf( '/' );
         // look for pattern. Here, we search the whole
         // parent. Not ideal, but does the thing....
-        while ( ( parentLastIndex = tempParentPattern.lastIndexOf( '/' ) ) > -1 && recList == null )
+        while ( parentLastIndex > -1 && recList == null )
         {
             recList = this.cache.get( tempParentPattern + "/*/" + pattern.substring( lastIndex + 1 ) );
             if ( recList != null )
@@ -223,6 +223,8 @@
                 // we make sure pattern is allowed anywhere.
                 tempParentPattern = parentPattern.substring( 0, parentLastIndex );
             }
+
+            parentLastIndex = tempParentPattern.lastIndexOf( '/' );
         }
 
         // Universal all wildards ('!*')