diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java index 90777fa6b..211cbff7a 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java @@ -511,7 +511,7 @@ public class GraphIndexTransaction extends AbstractTransaction { Set ids = InsertionOrderUtil.newSet(); Iterator entries = super.query(query).iterator(); - while(entries.hasNext()) { + while (entries.hasNext()) { HugeIndex index = this.serializer.readIndex(graph(), query, entries.next()); ids.addAll(index.elementIds()); diff --git a/hugegraph-dist/src/assembly/static/conf/hugegraph-community.license b/hugegraph-dist/src/assembly/static/conf/hugegraph-community.license new file mode 100644 index 000000000..547df1d6a Binary files /dev/null and b/hugegraph-dist/src/assembly/static/conf/hugegraph-community.license differ diff --git a/hugegraph-dist/src/assembly/static/conf/hugegraph-evaluation.license b/hugegraph-dist/src/assembly/static/conf/hugegraph-evaluation.license deleted file mode 100644 index 87a403991..000000000 Binary files a/hugegraph-dist/src/assembly/static/conf/hugegraph-evaluation.license and /dev/null differ diff --git a/hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java b/hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java index 100248367..4ca05898b 100644 --- a/hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java +++ b/hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java @@ -134,6 +134,6 @@ public class InitStore { throw e; } break; - } while(retries-- > 0); + } while (retries-- > 0); } } diff --git a/hugegraph-dist/src/main/resources/publicCerts.store b/hugegraph-dist/src/main/resources/public-certs.store similarity index 100% rename from hugegraph-dist/src/main/resources/publicCerts.store rename to hugegraph-dist/src/main/resources/public-certs.store diff --git a/hugegraph-dist/src/main/resources/verify-license.json b/hugegraph-dist/src/main/resources/verify-license.json index ed2543009..9457ce9ce 100644 --- a/hugegraph-dist/src/main/resources/verify-license.json +++ b/hugegraph-dist/src/main/resources/verify-license.json @@ -1,7 +1,7 @@ { - "subject": "hugegraph-evaluation", + "subject": "hugegraph-license", "public_alias": "publiccert", "store_password": "803b6cc3-d144-47e8-948f-ec8b39c8881e", - "publickey_path": "/publicCerts.store", - "license_path": "conf/hugegraph-evaluation.license" + "publickey_path": "/public-certs.store", + "license_path": "conf/hugegraph-community.license" } diff --git a/hugegraph-example/src/main/java/com/baidu/hugegraph/example/Example1.java b/hugegraph-example/src/main/java/com/baidu/hugegraph/example/Example1.java index 560056f27..a817a7665 100644 --- a/hugegraph-example/src/main/java/com/baidu/hugegraph/example/Example1.java +++ b/hugegraph-example/src/main/java/com/baidu/hugegraph/example/Example1.java @@ -241,7 +241,6 @@ public class Example1 { try { tx.rollback(); } catch (BackendException e2) { - // TODO Auto-generated catch block e2.printStackTrace(); } } finally {