BlackJack 6 лет назад
Родитель
Сommit
cdd41b776d
2 измененных файлов: 11 добавлений и 8 удалений
  1. 9
    7
      ormlitecore/.idea/workspace.xml
  2. 2
    1
      ormlitecore/src/main/java/AccountApp.java

+ 9
- 7
ormlitecore/.idea/workspace.xml Просмотреть файл

@@ -44,9 +44,11 @@
44 44
   <component name="NodePackageJsonFileManager">
45 45
     <packageJsonPaths />
46 46
   </component>
47
-  <component name="ProjectFrameBounds" extendedState="6">
47
+  <component name="ProjectFrameBounds">
48
+    <option name="x" value="39" />
49
+    <option name="y" value="27" />
48 50
     <option name="width" value="1280" />
49
-    <option name="height" value="800" />
51
+    <option name="height" value="717" />
50 52
   </component>
51 53
   <component name="ProjectView">
52 54
     <navigator proportions="" version="1">
@@ -181,15 +183,15 @@
181 183
       <option name="number" value="Default" />
182 184
       <option name="presentableId" value="Default" />
183 185
       <updated>1530647010497</updated>
184
-      <workItem from="1530647012598" duration="599000" />
186
+      <workItem from="1530647012598" duration="931000" />
185 187
     </task>
186 188
     <servers />
187 189
   </component>
188 190
   <component name="TimeTrackingManager">
189
-    <option name="totallyTimeSpent" value="599000" />
191
+    <option name="totallyTimeSpent" value="931000" />
190 192
   </component>
191 193
   <component name="ToolWindowManager">
192
-    <frame x="0" y="23" width="1280" height="717" extended-state="6" />
194
+    <frame x="39" y="27" width="1280" height="717" extended-state="0" />
193 195
     <layout>
194 196
       <window_info anchor="right" id="Palette" />
195 197
       <window_info anchor="bottom" id="TODO" order="6" />
@@ -197,12 +199,12 @@
197 199
       <window_info anchor="right" id="Palette&#9;" />
198 200
       <window_info id="Image Layers" />
199 201
       <window_info anchor="right" id="Capture Analysis" />
200
-      <window_info anchor="bottom" id="Event Log" side_tool="true" />
202
+      <window_info anchor="bottom" id="Event Log" sideWeight="0.50080776" side_tool="true" visible="true" weight="0.32903227" />
201 203
       <window_info anchor="right" id="Maven Projects" />
202 204
       <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
203 205
       <window_info anchor="bottom" id="Run" order="2" weight="0.32903227" />
204 206
       <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
205
-      <window_info active="true" anchor="bottom" id="Terminal" visible="true" weight="0.32903227" />
207
+      <window_info active="true" anchor="bottom" id="Terminal" sideWeight="0.49919224" visible="true" weight="0.32903227" />
206 208
       <window_info id="Capture Tool" />
207 209
       <window_info id="Designer" />
208 210
       <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.38772213" />

+ 2
- 1
ormlitecore/src/main/java/AccountApp.java Просмотреть файл

@@ -29,6 +29,7 @@ public class AccountApp {
29 29
         } finally {
30 30
             // destroy the data source which should close underlying connections
31 31
             while (connectionSource != null) {
32
+
32 33
                 connectionSource.isOpen();
33 34
             }
34 35
         }
@@ -51,7 +52,7 @@ public class AccountApp {
51 52
         // update the database after changing the object
52 53
         accountDao.update(account);
53 54
         // delete the account
54
-        //accountDao.deleteById(id);
55
+        accountDao.deleteById(id);
55 56
     }
56 57
 
57 58
     /**