Author: sebb
Date: Wed Aug  5 09:29:32 2009
New Revision: 801102

URL: http://svn.apache.org/viewvc?rev=801102&view=rev
Log:
JEXL-72 Remove deprecated classes and methods entirely

Removed:
    
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/ExpressionFactory.java
    
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/ScriptFactory.java
Modified:
    commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt
    
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java

Modified: commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt?rev=801102&r1=801101&r2=801102&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt (original)
+++ commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt Wed Aug  5 09:29:32 2009
@@ -31,6 +31,21 @@
 
 Changes in this version include:
 
+Incompatible Changes
+====================
+
+Now requires Java 1.5 or later
+
+The following classes and methods have been removed:
+
+* ExpressionFactory
+* ScriptFactory
+
+Please create a JexlEngine() and us createExpression() or createScript() 
instead.
+
+* JexlEngine.getDefault() was used by the above. Use "new JexlEngine()" instead
+
+* Info.getTemplateName() - use Info.getName() instead
 New Features:
 =============
 

Modified: 
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
URL: 
http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java?rev=801102&r1=801101&r2=801102&view=diff
==============================================================================
--- 
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
 (original)
+++ 
commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
 Wed Aug  5 09:29:32 2009
@@ -650,34 +650,4 @@
         }
 
     }
-    
-//    /**
-//     * ExpressionFactory & ScriptFactory need a singleton and this is the 
package
-//     * instance fulfilling that pattern.
-//     */
-//    @Deprecated
-//    // CSOFF: StaticVariableName
-//    private static volatile JexlEngine DEFAULT = null;
-//    // CSON: StaticVariableName
-//
-//    /**
-//     * Retrieves a default JEXL engine.
-//     * @return the singleton
-//     * @deprecated use a new instance JexlEngine instead.
-//     */
-//    // CSOFF: DoubleCheckedLocking
-//    @Deprecated
-//    static JexlEngine getDefault() {
-//        // java 5 memory model fixes the lazy singleton initialization
-//        // using a double-check locking pattern using a volatile
-//        if (DEFAULT == null) {
-//            synchronized (JexlEngine.class) {
-//                if (DEFAULT == null) {
-//                    DEFAULT = new JexlEngine();
-//                }
-//            }
-//        }
-//        return DEFAULT;
-//    }
-//    // CSON: DoubleCheckedLocking
 }
\ No newline at end of file


Reply via email to