You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2006/04/26 09:01:35 UTC
svn commit: r397116 -
/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java
Author: dion
Date: Wed Apr 26 00:01:33 2006
New Revision: 397116
URL: http://svn.apache.org/viewcvs?rev=397116&view=rev
Log:
Checkstyle
Modified:
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java
Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java?rev=397116&r1=397115&r2=397116&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java (original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/context/HashMapContext.java Wed Apr 26 00:01:33 2006
@@ -1,12 +1,12 @@
/*
- * Copyright 2002,2004 The Apache Software Foundation.
- *
+ * Copyright 2002-2006 The Apache Software Foundation.
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -22,24 +22,27 @@
import java.util.Map;
/**
- * Implementation of JexlContext based on a HashMap
+ * Implementation of JexlContext based on a HashMap.
*
* @since 1.0
* @author <a href="mailto:geirm@apache.org">Geir Magnusson Jr.</a>
* @version $Id$
*/
-public class HashMapContext extends HashMap implements JexlContext
-{
- /** serialization version id jdk13 generated */
+public class HashMapContext extends HashMap implements JexlContext {
+ /** serialization version id jdk13 generated. */
static final long serialVersionUID = 5715964743204418854L;
- public void setVars(Map vars)
- {
+ /**
+ * {@inheritDoc}
+ */
+ public void setVars(Map vars) {
clear();
putAll(vars);
}
- public Map getVars()
- {
+ /**
+ * {@inheritDoc}
+ */
+ public Map getVars() {
return this;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org