Author: henning
Date: Tue Sep 27 01:54:33 2005
New Revision: 291862

URL: http://svn.apache.org/viewcvs?rev=291862&view=rev
Log:
If we have getter/setters, let's use them.

Modified:
    
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java

Modified: 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java?rev=291862&r1=291861&r2=291862&view=diff
==============================================================================
--- 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
 (original)
+++ 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
 Tue Sep 27 01:54:33 2005
@@ -362,7 +362,7 @@
         /*
          * Report addition of the new Velocimacro.
          */
-        if (blather)
+        if (getBlather())
         {
             // The same code appears in directive.Macro
             StringBuffer msg = new StringBuffer();
@@ -454,8 +454,10 @@
      */
     private void logVMMessageInfo( String s )
     {
-        if (blather)
+        if (getBlather())
+        {
             rsvc.info( s );
+        }
     }
 
     /**
@@ -463,8 +465,10 @@
      */
     private void logVMMessageWarn( String s )
     {
-        if (blather)
+        if (getBlather())
+        {
             rsvc.warn( s );
+        }
     }
       
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to