You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@apache.org on 2003/11/03 20:58:27 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime RuntimeInstance.java
dlr 2003/11/03 11:58:27
Modified: src/java/org/apache/velocity/runtime RuntimeInstance.java
Log:
* src/java/org/apache/velocity/runtime/RuntimeInstance.java
initializeParserPool(): Formatting and log message tweaks.
Revision Changes Path
1.20 +6 -6 jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeInstance.java
Index: RuntimeInstance.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeInstance.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -u -r1.19 -r1.20
--- RuntimeInstance.java 1 Sep 2003 18:57:24 -0000 1.19
+++ RuntimeInstance.java 3 Nov 2003 19:58:27 -0000 1.20
@@ -710,16 +710,16 @@
*/
private void initializeParserPool()
{
- int numParsers = getInt( PARSER_POOL_SIZE, NUMBER_OF_PARSERS);
+ int numParsers = getInt(PARSER_POOL_SIZE, NUMBER_OF_PARSERS);
- parserPool = new SimplePool( numParsers);
+ parserPool = new SimplePool(numParsers);
- for (int i=0; i < numParsers ;i++ )
+ for (int i = 0; i < numParsers; i++)
{
- parserPool.put (createNewParser());
+ parserPool.put(createNewParser());
}
- info ("Created: " + numParsers + " parsers.");
+ info("Created '" + numParsers + "' parsers.");
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org