Removed deprecated methods from StandardToStringStyle (setShortClassName + isShortClassName) [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754483 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
386cd26dab
commit
d3f62a5f6f
|
@ -82,18 +82,6 @@ public class StandardToStringStyle extends ToStringStyle {
|
|||
return super.isUseShortClassName();
|
||||
}
|
||||
|
||||
/**
|
||||
* <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>
|
||||
*
|
||||
|
@ -105,18 +93,6 @@ public class StandardToStringStyle extends ToStringStyle {
|
|||
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);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue