You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@apache.org on 2001/03/05 12:16:55 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/context AbstractContext.java
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:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author <a href="mailto:fedor.karpelevitch@home.com">Fedor Karpelevitch</a>
* @author <a href="mailto:jvanzyl@periapt.com">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);