diff options
author | jmisinco | 2014-03-12 16:23:00 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2014-03-12 16:23:00 +0000 |
commit | 8c9400ce51843d286a72521e0629f5c8151093d5 (patch) | |
tree | 9cf132108ac78b3b8d65487d6d64772368e48355 /plugins/org.eclipse.osee.orcs.db | |
parent | 57c7ac3c14e667e0bf40e5a417f4117efaa6d3c3 (diff) | |
download | org.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
Change-Id: Ibced6cf14498a3539ace1eee9960483977475d2a
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.java | 2 |
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; } |