commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r754483 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java
Date Sat, 14 Mar 2009 16:33:58 GMT
Author: bayard
Date: Sat Mar 14 16:33:57 2009
New Revision: 754483

URL: http://svn.apache.org/viewvc?rev=754483&view=rev
Log:
Removed deprecated methods from StandardToStringStyle (setShortClassName + isShortClassName)
[LANG-438]

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java?rev=754483&r1=754482&r2=754483&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java
Sat Mar 14 16:33:57 2009
@@ -83,18 +83,6 @@
     }
 
     /**
-     * <p>Gets whether to output short or long class names.</p>
-     *
-     * @return the current shortClassName flag
-     * @deprecated Use {@link #isUseShortClassName()}
-     *             Method will be removed in Commons Lang 3.0.
-     */
-    @Override
-    public boolean isShortClassName() {
-        return super.isUseShortClassName();
-    }
-
-    /**
      * <p>Sets whether to output short or long class names.</p>
      *
      * @param useShortClassName  the new useShortClassName flag
@@ -105,18 +93,6 @@
         super.setUseShortClassName(useShortClassName);
     }
 
-    /**
-     * <p>Sets whether to output short or long class names.</p>
-     *
-     * @param shortClassName  the new shortClassName flag
-     * @deprecated Use {@link #setUseShortClassName(boolean)}
-     *             Method will be removed in Commons Lang 3.0.
-     */
-    @Override
-    public void setShortClassName(boolean shortClassName) {
-        super.setUseShortClassName(shortClassName);
-    }
-
     //---------------------------------------------------------------------
     
     /**



Mime
View raw message