bug 59170: add version when deprecated

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-17 02:35:44 +00:00
parent 7b14a48436
commit 7a66ac346f

View File

@ -39,11 +39,12 @@ public class AreaReference {
private final SpreadsheetVersion _version; // never null private final SpreadsheetVersion _version; // never null
/** /**
* @deprecated Prefer supplying a version. * @deprecated POI 3.13 beta 1. Prefer supplying a version.
*/ */
@Deprecated @Deprecated
public AreaReference(String reference) { public AreaReference(String reference) {
this(reference, DEFAULT_SPREADSHEET_VERSION); this(reference, DEFAULT_SPREADSHEET_VERSION);
// generateContiguous must be updated before this can be deleted.
} }
/** /**