OSDN Git Service
(root)
/
neighbornote
/
NeighborNote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a48734
)
Corrected problem where a non-local database was not being recognized. This caused...
author
Randy Baumgarte
<randy@fbn.cx>
Mon, 26 Jul 2010 15:47:09 +0000
(11:47 -0400)
committer
Randy Baumgarte
<randy@fbn.cx>
Mon, 26 Jul 2010 15:47:09 +0000
(11:47 -0400)
src/cx/fbn/nevernote/sql/NotebookTable.java
patch
|
blob
|
history
diff --git
a/src/cx/fbn/nevernote/sql/NotebookTable.java
b/src/cx/fbn/nevernote/sql/NotebookTable.java
index
70c884e
..
a0b9aee
100644
(file)
--- a/
src/cx/fbn/nevernote/sql/NotebookTable.java
+++ b/
src/cx/fbn/nevernote/sql/NotebookTable.java
@@
-275,12
+275,7
@@
public class NotebookTable {
if (!query.next()) {
\r
return false;
\r
}
\r
- boolean returnValue = false;
\r
- String returnVal = query.valueString(0);
\r
- if (returnVal.equals("false"))
\r
- returnValue = false;
\r
- else
\r
- returnValue = true;
\r
+ boolean returnValue = query.valueBoolean(0, false);
\r
return returnValue;
\r
}
\r
// Update a notebook sequence number
\r