svn commit: r577544 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r577544 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java

byersa-3
Author: byersa
Date: Wed Sep 19 21:44:23 2007
New Revision: 577544

URL: http://svn.apache.org/viewvc?rev=577544&view=rev
Log:
Just implementing Adam's request.
Line 51 now looks like:
                   if (this.alias.equals(aliases[x])) {


Modified:
    ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java

Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java?rev=577544&r1=577543&r2=577544&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/AliasKeyManager.java Wed Sep 19 21:44:23 2007
@@ -48,7 +48,7 @@
             String[] aliases = keyManager.getClientAliases(keyType[i], null); // ignoring the issuers
             if (aliases != null && aliases.length > 0) {
                 for (int x = 0; x < aliases.length; x++) {
-                    if (this.alias.equals(aliases[i])) {
+                    if (this.alias.equals(aliases[x])) {
                         if (Debug.verboseOn()) Debug.logVerbose("chooseClientAlias for keyType [" + keyType[i] + "] got alias " + this.alias, module);
                         //Debug.logInfo(new Exception(), "Location where chooseClientAlias is called", module);
                         return this.alias;