aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/util
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2009-04-11 14:15:27 +0000
committerYegor Kozlov <yegor@apache.org>2009-04-11 14:15:27 +0000
commit6299c25b80aa5b704c60c07a229dbb90ac8cc10d (patch)
tree939593089821b44efd782afef0ef442fcb5c0616 /src/testcases/org/apache/poi/hssf/util
parent7e32bc95627d3980aa187d11f187e1bbb99d7f46 (diff)
downloadpoi-6299c25b80aa5b704c60c07a229dbb90ac8cc10d.tar.gz
poi-6299c25b80aa5b704c60c07a229dbb90ac8cc10d.zip
removed unused imports of deprecated classes, fixed javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/util')
-rw-r--r--src/testcases/org/apache/poi/hssf/util/TestAreaReference.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java b/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java
index 2de4c9c1ca..4a15ac0eee 100644
--- a/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java
+++ b/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java
@@ -230,11 +230,11 @@ public final class TestAreaReference extends TestCase {
HSSFName aNamedCell = wb.getNameAt(idx);
// Should have 2 references
- assertEquals(ref, aNamedCell.getReference());
+ assertEquals(ref, aNamedCell.getRefersToFormula());
// Check the parsing of the reference into cells
- assertFalse(AreaReference.isContiguous(aNamedCell.getReference()));
- AreaReference[] arefs = AreaReference.generateContiguous(aNamedCell.getReference());
+ assertFalse(AreaReference.isContiguous(aNamedCell.getRefersToFormula()));
+ AreaReference[] arefs = AreaReference.generateContiguous(aNamedCell.getRefersToFormula());
assertEquals(2, arefs.length);
assertEquals(refA, arefs[0].formatAsString());
assertEquals(refB, arefs[1].formatAsString());