Author: adrianc
Date: Sat Dec 13 15:18:25 2008
New Revision: 726290
URL:
http://svn.apache.org/viewvc?rev=726290&view=revLog:
Removed unnecessary deprecation warning from FlexibleMapAccessor.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java?rev=726290&r1=726289&r2=726290&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java Sat Dec 13 15:18:25 2008
@@ -37,7 +37,7 @@
* accessing sub-map values and the "[]" (square bracket) syntax for accessing
* list elements. See individual Map operations for more information.
*/
-@SuppressWarnings({ "serial", "deprecation" })
+@SuppressWarnings("serial")
public class FlexibleMapAccessor<T> implements Serializable {
public static final String module = FlexibleMapAccessor.class.getName();
protected static final String openBracket = "${";
@@ -51,8 +51,7 @@
protected final ExpressionNode node;
protected boolean isAscending = true;
- /** @deprecated Use getInstance(String original) instead */
- public FlexibleMapAccessor(String name) {
+ protected FlexibleMapAccessor(String name) {
this.original = name;
if (name != null && name.length() > 0) {
if (name.charAt(0) == '-') {