You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/02/24 11:35:11 UTC
cvs commit: cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript ScriptableConnection.java
joerg 2004/02/24 02:35:11
Modified: src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript
ScriptableConnection.java
Log:
removed unused local variables
Revision Changes Path
1.4 +1 -5 cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript/ScriptableConnection.java
Index: ScriptableConnection.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript/ScriptableConnection.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ScriptableConnection.java 23 Feb 2004 01:19:45 -0000 1.3
+++ ScriptableConnection.java 24 Feb 2004 10:35:11 -0000 1.4
@@ -259,15 +259,11 @@
}
// Process the remaining rows upto maxRows
int processedRows = 0;
- int index = 0;
- boolean isLimited = false;
Scriptable scope = getTopLevelScope(this);
- Scriptable thisObj;
Scriptable proto = getObjectPrototype(scope);
Object[] args;
while (rs.next()) {
if ((maxRows != -1) && (processedRows == maxRows)) {
- isLimited = true;
break;
}
Scriptable row = new ScriptableResult.Row();