diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2007-11-03 04:21:10 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2007-11-03 04:21:10 +0000 |
commit | 26f63555d13618ddd4fb1923efe1683f7c5a41a6 (patch) | |
tree | 245c470430c65b9e860365da1aae5b1c5b1b8c1e /src/java/com/healthmarketscience/jackcess/Database.java | |
parent | 04e0924490a27d7985de7d4487e80d2adfb8996e (diff) | |
download | jackcess-26f63555d13618ddd4fb1923efe1683f7c5a41a6.tar.gz jackcess-26f63555d13618ddd4fb1923efe1683f7c5a41a6.zip |
fix some pmd/findbugs issues
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@172 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/Database.java')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Database.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Database.java b/src/java/com/healthmarketscience/jackcess/Database.java index 450d51a..58dc6fe 100644 --- a/src/java/com/healthmarketscience/jackcess/Database.java +++ b/src/java/com/healthmarketscience/jackcess/Database.java @@ -427,7 +427,7 @@ public class Database _format); //Add this table to our internal list. - addTable(name, new Integer(tdefPageNumber)); + addTable(name, Integer.valueOf(tdefPageNumber)); //Add this table to system tables addToSystemCatalog(name, tdefPageNumber); @@ -446,7 +446,7 @@ public class Database for (iter = _systemCatalog.getColumns().iterator(); iter.hasNext(); idx++) { Column col = (Column) iter.next(); if (COL_ID.equals(col.getName())) { - catalogRow[idx] = new Integer(pageNumber); + catalogRow[idx] = Integer.valueOf(pageNumber); } else if (COL_NAME.equals(col.getName())) { catalogRow[idx] = name; } else if (COL_TYPE.equals(col.getName())) { @@ -458,7 +458,7 @@ public class Database } else if (COL_PARENT_ID.equals(col.getName())) { catalogRow[idx] = _tableParentId; } else if (COL_FLAGS.equals(col.getName())) { - catalogRow[idx] = new Integer(0); + catalogRow[idx] = Integer.valueOf(0); } else if (COL_OWNER.equals(col.getName())) { byte[] owner = new byte[2]; catalogRow[idx] = owner; @@ -484,7 +484,7 @@ public class Database } else if (col.getName().equals(COL_F_INHERITABLE)) { aceRow[idx] = Boolean.FALSE; } else if (col.getName().equals(COL_OBJECT_ID)) { - aceRow[idx] = new Integer(pageNumber); + aceRow[idx] = Integer.valueOf(pageNumber); } else if (col.getName().equals(COL_SID)) { aceRow[idx] = SID; } |