aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad
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/scratchpad
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/scratchpad')
-rw-r--r--src/scratchpad/src/org/apache/poi/hslf/model/Shape.java2
-rw-r--r--src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java4
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java10
3 files changed, 8 insertions, 8 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hslf/model/Shape.java b/src/scratchpad/src/org/apache/poi/hslf/model/Shape.java
index ec6435d702..7ab1254370 100644
--- a/src/scratchpad/src/org/apache/poi/hslf/model/Shape.java
+++ b/src/scratchpad/src/org/apache/poi/hslf/model/Shape.java
@@ -34,7 +34,7 @@ import java.awt.geom.Rectangle2D;
* </p>
* <p>
* When you add a shape, you usually specify the dimensions of the shape and the position
- * of the upper�left corner of the bounding box for the shape relative to the upper�left
+ * of the upper'left corner of the bounding box for the shape relative to the upper'left
* corner of the page, worksheet, or slide. Distances in the drawing layer are measured
* in points (72 points = 1 inch).
* </p>
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
index af9f5e8fb0..5aeb788e95 100644
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
+++ b/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
@@ -35,8 +35,8 @@ import org.apache.poi.ddf.EscherRecordFactory;
/**
* Holds information about all pictures embedded in Word Document either via "Insert -> Picture -> From File" or via
- * clipboard. Responsible for images extraction and determining whether some document�s piece contains embedded image.
- * Analyzes raw data bytestream �Data� (where Word stores all embedded objects) provided by HWPFDocument.
+ * clipboard. Responsible for images extraction and determining whether some document's piece contains embedded image.
+ * Analyzes raw data bytestream 'Data' (where Word stores all embedded objects) provided by HWPFDocument.
*
* Word stores images as is within so called "Data stream" - the stream within a Word docfile containing various data
* that hang off of characters in the main stream. For example, binary data describing in-line pictures and/or
diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java b/src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java
index ae6f752ab2..9d0288c752 100644
--- a/src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java
+++ b/src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java
@@ -73,11 +73,11 @@ public final class TestOleEmbedding extends TestCase {
HSSFWorkbook wb = new HSSFWorkbook(data.getData());
HSSFSheet sheet = wb.getSheetAt(0);
//verify we can access the xls data
- assertEquals(1, sheet.getRow(0).getCell((short)0).getNumericCellValue(), 0);
- assertEquals(1, sheet.getRow(1).getCell((short)0).getNumericCellValue(), 0);
- assertEquals(2, sheet.getRow(2).getCell((short)0).getNumericCellValue(), 0);
- assertEquals(3, sheet.getRow(3).getCell((short)0).getNumericCellValue(), 0);
- assertEquals(8, sheet.getRow(5).getCell((short)0).getNumericCellValue(), 0);
+ assertEquals(1, sheet.getRow(0).getCell(0).getNumericCellValue(), 0);
+ assertEquals(1, sheet.getRow(1).getCell(0).getNumericCellValue(), 0);
+ assertEquals(2, sheet.getRow(2).getCell(0).getNumericCellValue(), 0);
+ assertEquals(3, sheet.getRow(3).getCell(0).getNumericCellValue(), 0);
+ assertEquals(8, sheet.getRow(5).getCell(0).getNumericCellValue(), 0);
} else if ("Document".equals(ole.getInstanceName())){
//creating a HWPF document
HWPFDocument doc = new HWPFDocument(data.getData());