jvanzyl     01/03/05 03:16:53

  Modified:    src/java/org/apache/velocity/context AbstractContext.java
  Log:
  - just breaking some lines
  
  Revision  Changes    Path
  1.2       +15 -7     
jakarta-velocity/src/java/org/apache/velocity/context/AbstractContext.java
  
  Index: AbstractContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/context/AbstractContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractContext.java      2001/01/03 05:16:00     1.1
  +++ AbstractContext.java      2001/03/05 11:16:48     1.2
  @@ -85,10 +85,11 @@
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Fedor Karpelevitch</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
  - * @version $Id: AbstractContext.java,v 1.1 2001/01/03 05:16:00 geirm Exp $
  + * @version $Id: AbstractContext.java,v 1.2 2001/03/05 11:16:48 jvanzyl Exp $
    */
   
  -public abstract class AbstractContext extends InternalContextBase implements 
Context, Serializable
  +public abstract class AbstractContext extends InternalContextBase 
  +    implements Context, Serializable
   {
       /**
        *  the chained Context if any
  @@ -145,12 +146,16 @@
   
           if (key == null)
           {
  -            org.apache.velocity.runtime.Runtime.error ("Context.put() : Context key 
was null! Value was : " + value);
  +            org.apache.velocity.runtime.Runtime.error (
  +                "Context.put() : Context key was null! Value was : " + value);
  +            
               return null;
           }
           else if (value == null)
           {
  -            org.apache.velocity.runtime.Runtime.error ("Context.put() : Context 
value was null! Key was: " + key);
  +            org.apache.velocity.runtime.Runtime.error (
  +                "Context.put() : Context value was null! Key was: " + key);
  +            
               return null;
           }
           
  @@ -175,7 +180,8 @@
   
           if (key == null)
           {
  -            org.apache.velocity.runtime.Runtime.debug ("Context.get() : Context key 
was null!");
  +            org.apache.velocity.runtime.Runtime.debug (
  +                "Context.get() : Context key was null!");
           }
   
           /*
  @@ -204,7 +210,8 @@
       {
           if (key == null)
           {
  -            org.apache.velocity.runtime.Runtime.debug ("Context.containsKey() : 
Context key was null!");
  +            org.apache.velocity.runtime.Runtime.debug (
  +                "Context.containsKey() : Context key was null!");
           }
   
           return internalContainsKey(key);
  @@ -231,7 +238,8 @@
       {
           if (key == null)
           {
  -            org.apache.velocity.runtime.Runtime.debug ("Context.remove() : Context 
key was null!");
  +            org.apache.velocity.runtime.Runtime.debug (
  +                "Context.remove() : Context key was null!");
           }
   
           return internalRemove(key);
  
  
  

Reply via email to