You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2011/05/14 17:38:13 UTC
svn commit: r1103138 [1/2] - in
/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl: ./ enhance/
internal/
Author: olamy
Date: Sat May 14 15:38:11 2011
New Revision: 1103138
URL: http://svn.apache.org/viewvc?rev=1103138&view=rev
Log:
[OGNL-11] start fixing checkstyle issue
Modified:
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassCacheInspector.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassResolver.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/CollectionElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ComparisonExpression.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultMemberAccess.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultTypeConverter.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DynamicSubscript.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationIterator.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Evaluation.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionNode.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionSyntaxException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/InappropriateExpressionException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorEnumeration.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/JavaSource.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ListPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MemberAccess.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodFailedException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NoSuchPropertyException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Node.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NullHandler.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumberElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericTypes.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectArrayPool.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectElementsAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectNullHandler.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlInvokePermission.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlOps.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SetPropertyAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SimpleNode.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ContextClassLoader.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/EnhancedClassLoader.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ExpressionAccessor.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/LocalReference.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/LocalReferenceImpl.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/OrderedReturn.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/UnsupportedCompilationException.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/internal/ClassCache.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/internal/ClassCacheImpl.java
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/internal/Entry.java
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Array;
import java.util.Enumeration;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ArrayPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Array;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/BooleanExpression.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/**
- *
- */
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.UnsupportedCompilationException;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassCacheInspector.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassCacheInspector.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassCacheInspector.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassCacheInspector.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* Optional interface that may be registered with {@link OgnlRuntime#setClassCacheInspector(ClassCacheInspector)} as a
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassResolver.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassResolver.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassResolver.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ClassResolver.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Map;
@@ -29,6 +29,6 @@ import java.util.Map;
*/
public interface ClassResolver
{
- public Class classForName( String className, Map context )
+ Class classForName( String className, Map context )
throws ClassNotFoundException;
}
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/CollectionElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/CollectionElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/CollectionElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/CollectionElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Collection;
+import java.util.Enumeration;
/**
* Implementation of ElementsAccessor that returns a collection's iterator.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ComparisonExpression.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ComparisonExpression.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ComparisonExpression.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ComparisonExpression.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/**
- *
- */
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.UnsupportedCompilationException;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.HashMap;
+import java.util.Map;
/**
* Default class resolution. Uses Class.forName() to look up classes by name. It also looks in the "java.lang" package
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultMemberAccess.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultMemberAccess.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultMemberAccess.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultMemberAccess.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,11 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.lang.reflect.*;
-import java.util.*;
+import java.lang.reflect.AccessibleObject;
+import java.lang.reflect.Member;
+import java.lang.reflect.Modifier;
+import java.util.Map;
/**
* This class provides methods for setting up and restoring access in a Field. Java 2 provides access utilities for
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultTypeConverter.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultTypeConverter.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultTypeConverter.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultTypeConverter.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Member;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DynamicSubscript.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DynamicSubscript.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DynamicSubscript.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/DynamicSubscript.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* This class has predefined instances that stand for OGNL's special "dynamic subscripts" for getting at the first,
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Enumeration;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Enumeration;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationIterator.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationIterator.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationIterator.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationIterator.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.Iterator;
/**
* Object that implements Iterator from an Enumeration
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.Map;
/**
* Implementation of PropertyAccessor that provides "property" reference to "nextElement" (aliases to "next" also) and
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Evaluation.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Evaluation.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Evaluation.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Evaluation.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* An <code>Evaluation</code> is and object that holds a node being evaluated and the source from which that node will
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.List;
public final class EvaluationPool
extends Object
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionNode.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionNode.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionNode.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionNode.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionCompiler;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionSyntaxException.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionSyntaxException.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionSyntaxException.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ExpressionSyntaxException.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* Exception thrown if a malformed OGNL expression is encountered.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/InappropriateExpressionException.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/InappropriateExpressionException.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/InappropriateExpressionException.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/InappropriateExpressionException.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* Exception thrown if an OGNL expression is evaluated in the wrong context; the usual case is when an expression that
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,15 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.NoSuchElementException;
+import java.util.Set;
/**
* A Map that uses ints as the keys.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.Iterator;
/**
* Implementation of the ElementsAccessor interface for Iterators, which simply returns the target iterator itself.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorEnumeration.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorEnumeration.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorEnumeration.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorEnumeration.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.Iterator;
/**
* Maps an Iterator to an Enumeration
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Iterator;
+import java.util.Map;
/**
* Implementation of PropertyAccessor that provides "property" reference to "next" and "hasNext".
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/JavaSource.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/JavaSource.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/JavaSource.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/JavaSource.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/**
- *
- */
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionAccessor;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ListPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ListPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ListPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ListPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Method;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
/**
* Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.Map;
/**
* Implementation of ElementsAccessor that returns an iterator over the map's values.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MapPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Collection;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MemberAccess.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MemberAccess.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MemberAccess.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MemberAccess.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Member;
import java.util.Map;
@@ -35,15 +35,15 @@ public interface MemberAccess
/**
* Sets the member up for accessibility
*/
- public Object setup( Map context, Object target, Member member, String propertyName );
+ Object setup( Map context, Object target, Member member, String propertyName );
/**
* Restores the member from the previous setup call.
*/
- public void restore( Map context, Object target, Member member, String propertyName, Object state );
+ void restore( Map context, Object target, Member member, String propertyName, Object state );
/**
* Returns true if the given member is accessible or can be made accessible by this object.
*/
- public boolean isAccessible( Map context, Object target, Member member, String propertyName );
+ boolean isAccessible( Map context, Object target, Member member, String propertyName );
}
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodFailedException.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodFailedException.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodFailedException.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodFailedException.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* Exception thrown if a method or constructor call fails.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NoSuchPropertyException.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NoSuchPropertyException.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NoSuchPropertyException.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NoSuchPropertyException.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* Exception thrown if a property is attempted to be extracted from an object that does not have such a property.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Node.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Node.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Node.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Node.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionAccessor;
@@ -37,45 +37,45 @@ public interface Node
* This method is called after the node has been made the current node. It indicates that child nodes can now be
* added to it.
*/
- public void jjtOpen();
+ void jjtOpen();
/**
* This method is called after all the child nodes have been added.
*/
- public void jjtClose();
+ void jjtClose();
/**
* This pair of methods are used to inform the node of its parent.
*/
- public void jjtSetParent( Node n );
+ void jjtSetParent( Node n );
- public Node jjtGetParent();
+ Node jjtGetParent();
/**
* This method tells the node to add its argument to the node's list of children.
*/
- public void jjtAddChild( Node n, int i );
+ void jjtAddChild( Node n, int i );
/**
* This method returns a child node. The children are numbered from zero, left to right.
*/
- public Node jjtGetChild( int i );
+ Node jjtGetChild( int i );
/** Return the number of children the node has. */
- public int jjtGetNumChildren();
+ int jjtGetNumChildren();
// OGNL additions to Node:
/**
* Extracts the value from the given source object that is appropriate for this node within the given context.
*/
- public Object getValue( OgnlContext context, Object source )
+ Object getValue( OgnlContext context, Object source )
throws OgnlException;
/**
* Sets the given value in the given target as appropriate for this node within the given context.
*/
- public void setValue( OgnlContext context, Object target, Object value )
+ void setValue( OgnlContext context, Object target, Object value )
throws OgnlException;
/**
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NodeType.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/**
- *
- */
-package org.apache.commons.ognl;
/**
* Used by some of the {@link ognl.enhance.OgnlExpressionCompiler} logic to determine the object type of {@link Node}s
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NullHandler.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NullHandler.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NullHandler.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NullHandler.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Map;
@@ -33,10 +33,10 @@ public interface NullHandler
/**
* Method called on target returned null.
*/
- public Object nullMethodResult( Map context, Object target, String methodName, Object[] args );
+ Object nullMethodResult( Map context, Object target, String methodName, Object[] args );
/**
* Property in target evaluated to null. Property can be a constant String property name or a DynamicSubscript.
*/
- public Object nullPropertyValue( Map context, Object target, Object property );
+ Object nullPropertyValue( Map context, Object target, Object property );
}
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumberElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumberElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumberElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumberElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
+import java.util.NoSuchElementException;
/**
* Implementation of ElementsAccessor that returns an iterator over integers from 0 up to the given target.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericExpression.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/**
- *
- */
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionCompiler;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericTypes.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericTypes.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericTypes.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/NumericTypes.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
/**
* This interface defines some useful constants for describing the various possible numeric types of OGNL.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectArrayPool.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectArrayPool.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectArrayPool.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectArrayPool.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,10 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
public final class ObjectArrayPool
extends Object
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectElementsAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectElementsAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectElementsAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectElementsAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Enumeration;
/**
* Implementation of ElementsAccessor that returns a single-element iterator, containing the original target object.
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,10 +18,10 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.beans.*;
-import java.lang.reflect.*;
+import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+import java.lang.reflect.Method;
/**
* <p>
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.List;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectNullHandler.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectNullHandler.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectNullHandler.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectNullHandler.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.util.*;
+import java.util.Map;
/**
* Implementation of NullHandler that returns null in all cases, so that NullPointerException will be thrown by the
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionCompiler;
import org.apache.commons.ognl.enhance.UnsupportedCompilationException;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionAccessor;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlContext.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,11 +18,17 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.LocalReference;
-import java.util.*;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Map;
+import java.util.Set;
+import java.util.Stack;
/**
* This class defines the execution context for an OGNL expression
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlException.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlException.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlException.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlException.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Method;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlInvokePermission.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlInvokePermission.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlInvokePermission.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlInvokePermission.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,9 +18,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
-import java.security.*;
+import java.security.BasicPermission;
/**
* BasicPermission subclass that defines a permission token for invoking methods within OGNL. This does not override any
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlOps.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlOps.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlOps.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlOps.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.UnsupportedCompilationException;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionCompiler;
import org.apache.commons.ognl.enhance.OgnlExpressionCompiler;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SetPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SetPropertyAccessor.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SetPropertyAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SetPropertyAccessor.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.util.Map;
import java.util.Set;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SimpleNode.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SimpleNode.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SimpleNode.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/SimpleNode.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import org.apache.commons.ognl.enhance.ExpressionAccessor;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/TypeConverter.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl;
import java.lang.reflect.Member;
import java.util.Map;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ContextClassLoader.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ContextClassLoader.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ContextClassLoader.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/ContextClassLoader.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl.enhance;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl.enhance;
import org.apache.commons.ognl.OgnlContext;
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/EnhancedClassLoader.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/EnhancedClassLoader.java?rev=1103138&r1=1103137&r2=1103138&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/EnhancedClassLoader.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/enhance/EnhancedClassLoader.java Sat May 14 15:38:11 2011
@@ -1,5 +1,6 @@
+package org.apache.commons.ognl.enhance;
+
/*
- * $Id$
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,7 +9,7 @@
* "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
+ * 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
@@ -17,7 +18,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.commons.ognl.enhance;
public class EnhancedClassLoader
extends ClassLoader