diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-09-23 14:03:25 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-09-23 14:03:25 +0000 |
commit | 6e9fee0bc98f08f06b2265bc807968c12743058f (patch) | |
tree | 88e437f2ef9ae0a86d8240574b61a666034d08ff /src/java/org/apache/poi/hssf | |
parent | 4b5c9081808b5834568eda913d7e018c43685318 (diff) | |
download | poi-6e9fee0bc98f08f06b2265bc807968c12743058f.tar.gz poi-6e9fee0bc98f08f06b2265bc807968c12743058f.zip |
Remove more deprecated classes and methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf')
-rw-r--r-- | src/java/org/apache/poi/hssf/util/AreaReference.java | 43 | ||||
-rw-r--r-- | src/java/org/apache/poi/hssf/util/HSSFRegionUtil.java | 4 | ||||
-rw-r--r-- | src/java/org/apache/poi/hssf/util/PaneInformation.java | 30 |
3 files changed, 2 insertions, 75 deletions
diff --git a/src/java/org/apache/poi/hssf/util/AreaReference.java b/src/java/org/apache/poi/hssf/util/AreaReference.java deleted file mode 100644 index 2bea3df3a4..0000000000 --- a/src/java/org/apache/poi/hssf/util/AreaReference.java +++ /dev/null @@ -1,43 +0,0 @@ -/* ==================================================================== - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -==================================================================== */ - -package org.apache.poi.hssf.util; - -import org.apache.poi.ss.SpreadsheetVersion; - -/** - * @deprecated POI 3.15 beta 3. Use {@link org.apache.poi.ss.util.AreaReference} instead. - */ -@Deprecated -public final class AreaReference extends org.apache.poi.ss.util.AreaReference { - /** - * Create an area ref from a string representation. Sheet names containing special characters should be - * delimited and escaped as per normal syntax rules for formulas.<br> - * The area reference must be contiguous (i.e. represent a single rectangle, not a union of rectangles) - */ - public AreaReference(String reference) { - super(reference, SpreadsheetVersion.EXCEL97); - } - - /** - * Creates an area ref from a pair of Cell References. - * Also normalises such that the top-left - */ - public AreaReference(CellReference topLeft, CellReference botRight) { - super(topLeft, botRight); - } -} diff --git a/src/java/org/apache/poi/hssf/util/HSSFRegionUtil.java b/src/java/org/apache/poi/hssf/util/HSSFRegionUtil.java index 3cef98c4de..46eff91edf 100644 --- a/src/java/org/apache/poi/hssf/util/HSSFRegionUtil.java +++ b/src/java/org/apache/poi/hssf/util/HSSFRegionUtil.java @@ -26,10 +26,10 @@ import org.apache.poi.util.Removal; /** * Various utility functions that make working with a region of cells easier. - * @deprecated POI 3.18 + * @deprecated POI 4.0.0 * @see RegionUtil */ -@Removal(version="3.20") +@Removal(version="4.2") public final class HSSFRegionUtil { private HSSFRegionUtil() { diff --git a/src/java/org/apache/poi/hssf/util/PaneInformation.java b/src/java/org/apache/poi/hssf/util/PaneInformation.java deleted file mode 100644 index d0382961e6..0000000000 --- a/src/java/org/apache/poi/hssf/util/PaneInformation.java +++ /dev/null @@ -1,30 +0,0 @@ -/* ==================================================================== - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -==================================================================== */ - -package org.apache.poi.hssf.util; - -/** - * Holds information regarding a split plane or freeze plane for a sheet. - * @deprecated POI 3.15 beta 3. Use {@link org.apache.poi.ss.util.PaneInformation} instead. - */ -public class PaneInformation extends org.apache.poi.ss.util.PaneInformation -{ - public PaneInformation(short x, short y, short top, short left, byte active, boolean frozen) { - super(x, y, top, left, active, frozen); - } - -} |