nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: error_syntax errors on `? now
[nit.git]
/
contrib
/
neo_doxygen
/
src
/
graph_store.nit
diff --git
a/contrib/neo_doxygen/src/graph_store.nit
b/contrib/neo_doxygen/src/graph_store.nit
index
cc0eaec
..
0c396d3
100644
(file)
--- a/
contrib/neo_doxygen/src/graph_store.nit
+++ b/
contrib/neo_doxygen/src/graph_store.nit
@@
-39,9
+39,7
@@
abstract class GraphStore
#
# This method must be called before the first call to `show_progress` or
# `show_done`.
#
# This method must be called before the first call to `show_progress` or
# `show_done`.
- protected fun prepare_display do
- printn "{term_save_cursor} "
- end
+ protected fun prepare_display do printn "{term_save_cursor} "
# Show the progress, in percentage.
#
# Show the progress, in percentage.
#
@@
-68,7
+66,7
@@
class Neo4jStore
# The Neo4j client to use.
var client: Neo4jClient
# The Neo4j client to use.
var client: Neo4jClient
- redef fun has_node_label(name: String): Bool do
+ redef fun has_node_label(name) do
var query = new CypherQuery.from_string(
"match n where \{name\} in labels(n) return count(n)")
query.params["name"] = name
var query = new CypherQuery.from_string(
"match n where \{name\} in labels(n) return count(n)")
query.params["name"] = name
@@
-77,7
+75,7
@@
class Neo4jStore
return result > 0
end
return result > 0
end
- redef fun save_all(neo_entities: Collection[NeoEntity]) do
+ redef fun save_all(neo_entities) do
var batch = new NeoBatch(client)
var len = neo_entities.length
var sum = 0
var batch = new NeoBatch(client)
var len = neo_entities.length
var sum = 0