svn commit: r764308 - in /ofbiz/trunk/framework/base/src/org/ofbiz/base/util: ./ collections/ string/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r764308 - in /ofbiz/trunk/framework/base/src/org/ofbiz/base/util: ./ collections/ string/

adrianc
Author: adrianc
Date: Sun Apr 12 18:02:00 2009
New Revision: 764308

URL: http://svn.apache.org/viewvc?rev=764308&view=rev
Log:
Removed unused/unnecessary classes and methods from framework/base. These were deprecated last November.

Removed:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringOutputStream.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleProperties.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/OrderedMap.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/OrderedSet.java
Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java?rev=764308&r1=764307&r2=764308&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java Sun Apr 12 18:02:00 2009
@@ -1069,15 +1069,6 @@
         return availableTimeZoneList;
     }
 
-    /** Returns the OFBiz default TimeZone object. The default time zone is configured in
-     * the <code>start.properties</code> file (<code>ofbiz.timeZone.default</code>).
-     * @deprecated Okay to use TimeZone.getDefault()
-     * @see java.util.TimeZone
-     */
-    public static TimeZone getDefaultTimeZone() {
-        return TimeZone.getDefault();
-    }
-
     /** Returns a TimeZone object based upon a time zone ID. Method defaults to
      * server's time zone if tzID is null or empty.
      * @see java.util.TimeZone

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java?rev=764308&r1=764307&r2=764308&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java Sun Apr 12 18:02:00 2009
@@ -53,11 +53,9 @@
     protected int hint = 20;
 
     /**
-     * @deprecated Use getInstance(String original) instead.
      * @param original
      */
-    public FlexibleStringExpander(String original) {
-        // TODO: Change this to protected, remove @deprecated javadoc comment
+    protected FlexibleStringExpander(String original) {
         this.orig = original;
         if (original != null && original.contains(openBracket)) {
             this.strElems = getStrElems(original);