Skip to content

Commit e050835

Browse files
committed
PDFBOX-6089: remove unused
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929368 13f79535-47bb-0310-9956-ffa450edef68
1 parent b3dad2b commit e050835

File tree

1 file changed

+0
-33
lines changed
  • pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color

1 file changed

+0
-33
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
import org.apache.pdfbox.cos.COSArray;
2929
import org.apache.pdfbox.cos.COSBase;
30-
import org.apache.pdfbox.cos.COSInteger;
3130
import org.apache.pdfbox.cos.COSName;
3231
import org.apache.pdfbox.cos.COSNumber;
3332
import org.apache.pdfbox.cos.COSStream;
@@ -54,19 +53,6 @@ public final class PDIndexed extends PDSpecialColorSpace
5453
private int actualMaxIndex;
5554
private int[][] rgbColorTable;
5655

57-
/**
58-
* Creates a new Indexed color space.
59-
* Default DeviceRGB, hival 255.
60-
*/
61-
public PDIndexed()
62-
{
63-
array = new COSArray();
64-
array.add(COSName.INDEXED);
65-
array.add(COSName.DEVICERGB);
66-
array.add(COSInteger.get(255));
67-
array.add(org.apache.pdfbox.cos.COSNull.NULL);
68-
}
69-
7056
/**
7157
* Creates a new indexed color space from the given PDF array.
7258
*
@@ -305,25 +291,6 @@ private void readColorTable() throws IOException
305291
}
306292
}
307293

308-
/**
309-
* Sets the base color space.
310-
* @param base the base color space
311-
*/
312-
public void setBaseColorSpace(PDColorSpace base)
313-
{
314-
array.set(1, base.getCOSObject());
315-
baseColorSpace = base;
316-
}
317-
318-
/**
319-
* Sets the highest value that is allowed. This cannot be higher than 255.
320-
* @param high the highest value for the lookup table
321-
*/
322-
public void setHighValue(int high)
323-
{
324-
array.set(2, high);
325-
}
326-
327294
@Override
328295
public String toString()
329296
{

0 commit comments

Comments
 (0)