Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2014-03-12 16:23:00 +0000
committerRyan D. Brooks2014-03-12 16:23:00 +0000
commit8c9400ce51843d286a72521e0629f5c8151093d5 (patch)
tree9cf132108ac78b3b8d65487d6d64772368e48355 /plugins/org.eclipse.osee.orcs.db
parent57c7ac3c14e667e0bf40e5a417f4117efaa6d3c3 (diff)
downloadorg.eclipse.osee-8c9400ce51843d286a72521e0629f5c8151093d5.tar.gz
org.eclipse.osee-8c9400ce51843d286a72521e0629f5c8151093d5.tar.xz
org.eclipse.osee-8c9400ce51843d286a72521e0629f5c8151093d5.zip
feature[ats_ATS19845]: Fix build errors due to branch_id to long
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db')
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/util/IdentityManagerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/util/IdentityManagerImpl.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/util/IdentityManagerImpl.java
index 141961e3455..db837df6520 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/util/IdentityManagerImpl.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/util/IdentityManagerImpl.java
@@ -84,7 +84,7 @@ public class IdentityManagerImpl implements IdentityManager {
@Override
public long getLocalId(IOseeBranch branch) throws OseeCoreException {
- int toReturn = dbService.runPreparedQueryFetchObject(-1, SELECT_BRANCH_ID_BY_GUID, branch.getGuid());
+ long toReturn = dbService.runPreparedQueryFetchObject((long) -1, SELECT_BRANCH_ID_BY_GUID, branch.getGuid());
Conditions.checkExpressionFailOnTrue(toReturn < 0, "Error getting branch_id for branch: [%s]", branch);
return toReturn;
}

Back to the top