CharacterSprmUncompressor extends SprmUncompressor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-07 15:58:17 +00:00
parent 0bf2eb9d6c
commit 8f6a4fd533

View File

@ -25,7 +25,7 @@ import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import org.apache.poi.util.POILogger;
public final class CharacterSprmUncompressor public final class CharacterSprmUncompressor extends SprmUncompressor
{ {
private static final POILogger logger = POILogFactory private static final POILogger logger = POILogFactory
.getLogger( CharacterSprmUncompressor.class ); .getLogger( CharacterSprmUncompressor.class );
@ -572,19 +572,6 @@ public final class CharacterSprmUncompressor
} }
} }
/**
* Converts an int into a boolean. If the int is non-zero, it returns true.
* Otherwise it returns false.
*
* @param x The int to convert.
*
* @return A boolean whose value depends on x.
*/
public static boolean getFlag (int x)
{
return x != 0;
}
private static boolean getCHPFlag (byte x, boolean oldVal) private static boolean getCHPFlag (byte x, boolean oldVal)
{ {
/* /*