OSDN Git Service

T29015
authorYuji Konishi <yuji.k64613@gmail.com>
Mon, 23 Jul 2012 13:48:12 +0000 (22:48 +0900)
committerYuji Konishi <yuji.k64613@gmail.com>
Mon, 23 Jul 2012 13:48:12 +0000 (22:48 +0900)
source/workspace/EverFolder/src/com/yuji/ef/utility/FolderUtil.java

index 1b02536..e38582d 100644 (file)
@@ -163,7 +163,6 @@ public class FolderUtil {
                                                }
 
                                                long id;
-                                               // TODO 29084 2回目に id = -1 となる
                                                id = nodeDao.remoteChildrenIdNT(oldParent, oldNote.getId());
                                                if (id < 0){
                                                        // TODO
@@ -172,7 +171,7 @@ public class FolderUtil {
                                                if (id < 0){
                                                        // TODO
                                                }
-                                               nodeDao.updateParentNT(oldNote, parent.getParent());
+                                               nodeDao.updateParentNT(oldNote, parent.getId());
                                        }
                                }
                        }