You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jw...@apache.org on 2005/04/14 17:18:29 UTC
svn commit: r161302 -
lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java
Author: jwkaltz
Date: Thu Apr 14 08:18:29 2005
New Revision: 161302
URL: http://svn.apache.org/viewcvs?view=rev&rev=161302
Log:
[minor change] changed index from i to j in inner loop - I assume this was a typo
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java?view=diff&r1=161301&r2=161302
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java Thu Apr 14 08:18:29 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation
+ * Copyright 1999-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -144,7 +144,7 @@
Document version = resource.getIdentityMap().get(resource.getPublication(),
resource.getArea(),
descendant.getAbsoluteId(),
- labels[i].getLanguage());
+ labels[j].getLanguage());
resources.add(version);
if (getLogger().isDebugEnabled()) {
getLogger().debug(" Descendant: [" + version + "]");
@@ -456,4 +456,4 @@
return documentId;
}
-}
\ No newline at end of file
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org
Re: svn commit: r161302 - lenya/trunk/src/java/org/apache/lenya/cms/site/tree/TreeSiteManager.java
Posted by Andreas Hartmann <an...@apache.org>.
jwkaltz@apache.org wrote:
> Author: jwkaltz
> Date: Thu Apr 14 08:18:29 2005
> New Revision: 161302
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=161302
> Log:
> [minor change] changed index from i to j in inner loop - I assume this was a typo
Thanks, apparently I didn't yet learn my lesson *not* to use
letters as loop variables :)
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org