mirror of https://github.com/apache/poi.git
Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
970d7d7c18
commit
42d9b31296
|
@ -126,8 +126,7 @@ public final class TestXWPFDocument extends TestCase {
|
||||||
assertEquals(5, doc.getParagraphs().size());
|
assertEquals(5, doc.getParagraphs().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAddPicture() throws IOException, InvalidFormatException
|
public void testAddPicture() throws IOException, InvalidFormatException {
|
||||||
{
|
|
||||||
XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("sample.docx");
|
XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("sample.docx");
|
||||||
byte[] jpeg = XWPFTestDataSamples.getImage("nature1.jpg");
|
byte[] jpeg = XWPFTestDataSamples.getImage("nature1.jpg");
|
||||||
String relationId = doc.addPictureData(jpeg,XWPFDocument.PICTURE_TYPE_JPEG);
|
String relationId = doc.addPictureData(jpeg,XWPFDocument.PICTURE_TYPE_JPEG);
|
||||||
|
|
Loading…
Reference in New Issue