diff options
author | jmisinco | 2014-02-05 20:55:00 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2014-02-05 20:55:00 +0000 |
commit | d41aa7d2d87040a16fa568853ffcc76a35f5456e (patch) | |
tree | a18212bbe695a27992f40a03fecdafa8351f417b /plugins/org.eclipse.osee.coverage | |
parent | 1174e29b13548fbe6a0892e108959b2fc7a5bc71 (diff) | |
download | org.eclipse.osee-d41aa7d2d87040a16fa568853ffcc76a35f5456e.tar.gz org.eclipse.osee-d41aa7d2d87040a16fa568853ffcc76a35f5456e.tar.xz org.eclipse.osee-d41aa7d2d87040a16fa568853ffcc76a35f5456e.zip |
refactor: Change getInt to getLong for branch id
Change-Id: If010c9b46718ff4e3b4b5e273d3ac42339e97dc3
Diffstat (limited to 'plugins/org.eclipse.osee.coverage')
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/datastore/VCastDataStoreImpl.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/datastore/VCastDataStoreImpl.java index c8519bebd77..330f9826fe5 100644 --- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/datastore/VCastDataStoreImpl.java +++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/datastore/VCastDataStoreImpl.java @@ -90,7 +90,7 @@ public class VCastDataStoreImpl implements VCastDataStore { stmt.runPreparedQuery("SELECT * FROM branch_data"); while (stmt.next()) { Integer id = stmt.getInt("id"); - Integer branch_id = stmt.getInt("branch_id"); + Long branch_id = stmt.getLong("branch_id"); Integer result_id = stmt.getInt("result_id"); Integer result_line = stmt.getInt("result_line"); Boolean taken = stmt.getBoolean("taken"); diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchData.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchData.java index f6888cd4afc..f31c3d1b564 100644 --- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchData.java +++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchData.java @@ -16,12 +16,12 @@ package org.eclipse.osee.coverage.internal.vcast.model; public class VCastBranchData { private final int id; - private final int branchId; + private final long branchId; private final int resultId; private final int resultLine; private final Boolean taken; - public VCastBranchData(int id, int branchId, int resultId, int resultLine, Boolean taken) { + public VCastBranchData(int id, long branchId, int resultId, int resultLine, Boolean taken) { super(); this.id = id; this.branchId = branchId; @@ -34,7 +34,7 @@ public class VCastBranchData { return id; } - public int getBranchId() { + public long getBranchId() { return branchId; } diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchDataTable.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchDataTable.java index e0063a55af3..6840a299fd7 100644 --- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchDataTable.java +++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/internal/vcast/model/VCastBranchDataTable.java @@ -34,7 +34,7 @@ public class VCastBranchDataTable implements VCastTableData<VCastBranchData> { @Override public Object[] toRow(VCastBranchData data) { int id = data.getId(); - Integer branchId = data.getBranchId(); + Long branchId = data.getBranchId(); Integer resultId = data.getResultId(); Integer resultLine = data.getResultLine(); Boolean taken = data.getTaken(); |