From: hyeran74.kim Date: Mon, 20 Oct 2014 02:04:39 +0000 (+0900) Subject: File : change seq type X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2172c9a83f6413a020ad2326f958c5b89758cf75;p=sdk%2Ftools%2Fdynamic-analyzer.git File : change seq type Change-Id: I9b28bd3916c05d77b1eae8a35a15e66b4ad8081a Signed-off-by: hyeran74.kim --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/data/FileApiDB.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/data/FileApiDB.java index ec72c0f..9ba6b7a 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/data/FileApiDB.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/data/FileApiDB.java @@ -222,7 +222,7 @@ public class FileApiDB extends DBTable { } List data = result.get(0); FileEvent fileEvent = new FileEvent( - (Integer) data.get(FileApiDB.COLUMN.SEQ.getValue()), + (Long) data.get(FileApiDB.COLUMN.SEQ.getValue()), (String) data.get(FileApiDB.COLUMN.FILE_PATH.getValue()), (Integer) data.get(FileApiDB.COLUMN.PID.getValue()), (Integer) data.get(FileApiDB.COLUMN.TID.getValue())); @@ -288,7 +288,7 @@ public class FileApiDB extends DBTable { isPrepared = false; } else { try { - prep.setInt(1, (Integer)(rowData.get(COLUMN.SEQ.getValue()))); + prep.setLong(1, (Long)(rowData.get(COLUMN.SEQ.getValue()))); prep.setString(2, (String)(rowData.get(COLUMN.FILE_PATH.getValue()))); prep.setInt(3, (Integer)(rowData.get(COLUMN.PID.getValue()))); prep.setInt(4, (Integer)(rowData.get(COLUMN.TID.getValue()))); diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/model/FileEvent.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/model/FileEvent.java index 0547195..3e1262d 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/model/FileEvent.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/model/FileEvent.java @@ -144,7 +144,7 @@ public class FileEvent extends FileData{ return tid; } - public void setSeq(int seqNo) { + public void setSeq(long seqNo) { this.seq = seqNo; }