You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2007/06/28 19:56:34 UTC
svn commit: r551640 -
/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
Author: nbubna
Date: Thu Jun 28 10:56:33 2007
New Revision: 551640
URL: http://svn.apache.org/viewvc?view=rev&rev=551640
Log:
on second thought, trying to call configure(Map) when locked fails silently, so have the setters do the same
Modified:
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java?view=diff&rev=551640&r1=551639&r2=551640
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java (original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java Thu Jun 28 10:56:33 2007
@@ -140,10 +140,6 @@
{
this.parseDepth = depth;
}
- else
- {
- throw new UnsupportedOperationException("Configuration for this RenderTool instance has been locked");
- }
}
/**
@@ -166,10 +162,6 @@
if (!isConfigLocked())
{
this.catchExceptions = catchExceptions;
- }
- else
- {
- throw new UnsupportedOperationException("Configuration for this RenderTool instance has been locked");
}
}