File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
hugegraph-core/src/main/java/com/baidu/hugegraph/task Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,6 @@ protected void save() {
126126 }
127127 }
128128
129- private static boolean needSaveWithEx (String message ) {
130- for (String error : ERROR_MESSAGES ) {
131- if (message .contains (error )) {
132- return true ;
133- }
134- }
135- return false ;
136- }
137-
138129 protected void graph (HugeGraph graph ) {
139130 this .graph = graph ;
140131 }
@@ -165,6 +156,15 @@ public static <V> TaskCallable<V> fromClass(String className) {
165156 }
166157 }
167158
159+ private static boolean needSaveWithEx (String message ) {
160+ for (String error : ERROR_MESSAGES ) {
161+ if (message .contains (error )) {
162+ return true ;
163+ }
164+ }
165+ return false ;
166+ }
167+
168168 public static <V > TaskCallable <V > empty (Exception e ) {
169169 return new TaskCallable <V >() {
170170 @ Override
You can’t perform that action at this time.
0 commit comments