aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2015-11-01 02:04:11 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2015-11-01 02:04:11 +0000
commitcfb34746c80adbbf3638f27a2c678f669f49b92c (patch)
treebf4b289f8793c3f427d2aa5b1c14218fbcd56e0a /src/main/java
parent86130160d596c64b92fb877abcc3be7bfb21aaae (diff)
downloadjackcess-cfb34746c80adbbf3638f27a2c678f669f49b92c.tar.gz
jackcess-cfb34746c80adbbf3638f27a2c678f669f49b92c.zip
cleanup findbugs report
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@961 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/OleUtil.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/OleUtil.java b/src/main/java/com/healthmarketscience/jackcess/impl/OleUtil.java
index b1dbdb1..d8a2336 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/OleUtil.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/OleUtil.java
@@ -107,7 +107,7 @@ public class OleUtil
/**
* Creates a new OlBlob instance using the given information.
*/
- public static OleBlob createBlob(OleBlob.Builder oleBuilder)
+ public static OleBlob createBlob(Builder oleBuilder)
throws IOException
{
try {
@@ -183,7 +183,7 @@ public class OleUtil
}
}
- private static byte[] writePackageHeader(OleBlob.Builder oleBuilder,
+ private static byte[] writePackageHeader(Builder oleBuilder,
long contentLen) {
byte[] prettyNameBytes = getZeroTermStrBytes(oleBuilder.getPrettyName());
@@ -229,7 +229,7 @@ public class OleUtil
return headerBytes;
}
- private static byte[] writePackageStreamHeader(OleBlob.Builder oleBuilder) {
+ private static byte[] writePackageStreamHeader(Builder oleBuilder) {
byte[] fileNameBytes = getZeroTermStrBytes(oleBuilder.getFileName());
byte[] filePathBytes = getZeroTermStrBytes(oleBuilder.getFilePath());
@@ -264,7 +264,7 @@ public class OleUtil
return headerBytes;
}
- private static byte[] writePackageStreamFooter(OleBlob.Builder oleBuilder) {
+ private static byte[] writePackageStreamFooter(Builder oleBuilder) {
// note, these are _not_ zero terminated
byte[] fileNameBytes = oleBuilder.getFileName().getBytes(OLE_UTF_CHARSET);
@@ -299,19 +299,19 @@ public class OleUtil
// read outer package header
int headerSize = bb.getShort();
- int objType = bb.getInt();
+ /* int objType = */ bb.getInt();
int prettyNameLen = bb.getShort();
int classNameLen = bb.getShort();
int prettyNameOff = bb.getShort();
int classNameOff = bb.getShort();
- int objSize = bb.getInt();
+ /* int objSize = */ bb.getInt();
String prettyName = readStr(bb, prettyNameOff, prettyNameLen);
String className = readStr(bb, classNameOff, classNameLen);
bb.position(headerSize);
// read ole header
int oleVer = bb.getInt();
- int format = bb.getInt();
+ /* int format = */ bb.getInt();
if(oleVer != OLE_VERSION) {
return new UnknownContentImpl(blob);