X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fstore%2FDbStore.java;h=dd8f77733ac2fde4e921d12028021f59e66771b4;hp=bbf2a721340ec3b6792e3d5721009b72fd992671;hb=1b9389a8ec38485bbe14e9aa572af4510758e7a5;hpb=e9a80ba4b35ce25d00d259038c7d2cb0a954dcc4 diff --git a/prod/net/jaekl/cfb/store/DbStore.java b/prod/net/jaekl/cfb/store/DbStore.java index bbf2a72..dd8f777 100644 --- a/prod/net/jaekl/cfb/store/DbStore.java +++ b/prod/net/jaekl/cfb/store/DbStore.java @@ -17,6 +17,7 @@ import net.jaekl.cfb.db.driver.DbDriver; import net.jaekl.cfb.xml.BugCollection; import net.jaekl.cfb.xml.BugInstance; import net.jaekl.cfb.xml.LocalVariable; +import net.jaekl.cfb.xml.Variable; import net.jaekl.cfb.xml.messages.BugCategory; import net.jaekl.cfb.xml.messages.BugPattern; import net.jaekl.cfb.xml.messages.MessageCollection; @@ -217,7 +218,7 @@ public class DbStore { return null; } - List vars = bug.getVariables(); + List vars = bug.getVariables(); if ((null == vars) || (0 == vars.size())) { return null; } @@ -249,7 +250,7 @@ public class DbStore { return new LocalVariable(varId, varName, varRole); } - Long getVarId(LocalVariable var) throws SQLException, TypeMismatchException + Long getVarId(Variable var) throws SQLException, TypeMismatchException { if (null == var) { return null; @@ -264,7 +265,7 @@ public class DbStore { return storeVar(var); } - Long findVarId(LocalVariable var) throws SQLException, TypeMismatchException + Long findVarId(Variable var) throws SQLException, TypeMismatchException { Column[] columns = { CfbSchema.VARID_PK }; Table[] tables = { CfbSchema.VARIABLES }; @@ -283,7 +284,7 @@ public class DbStore { return null; // not found } - Long storeVar(LocalVariable var) throws SQLException + Long storeVar(Variable var) throws SQLException { long varId = m_driver.nextVal(m_con, CfbSchema.VARIABLE_SEQ);