From d72511e874656c13242110b1b3947cbe80ebdfd1 Mon Sep 17 00:00:00 2001 From: Maxime Guerreiro Date: Fri, 21 Dec 2018 23:09:51 +0100 Subject: [PATCH 1/3] Fix key type in the tutorial The key type should be `CharSequence` and not `Integer`, as specified in the `of()` arguments. --- docs/CM_Tutorial.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CM_Tutorial.adoc b/docs/CM_Tutorial.adoc index a72976525..76ab79d48 100755 --- a/docs/CM_Tutorial.adoc +++ b/docs/CM_Tutorial.adoc @@ -42,7 +42,7 @@ ChronicleMap cityPostalCodes = // Or shorter form, without builder variable extraction: -ChronicleMap cityPostalCodes = ChronicleMap +ChronicleMap cityPostalCodes = ChronicleMap .of(CharSequence.class, PostalCodeRange.class) .name("city-postal-codes-map") .averageKey("Amsterdam") @@ -120,7 +120,7 @@ calling `.recoverPersistedTo()`. Example: ```java -ChronicleMap cityPostalCodes = ChronicleMap +ChronicleMap cityPostalCodes = ChronicleMap .of(CharSequence.class, PostalCodeRange.class) .name("city-postal-codes-map") .averageKey("Amsterdam") @@ -159,7 +159,7 @@ Chronicle Map creation and recovery could be conveniently merged using a single `recoverPersistedTo(persistenceFile, sameLibraryVersion)`, if the file already exists. For example: ```java -ChronicleMap cityPostalCodes = ChronicleMap +ChronicleMap cityPostalCodes = ChronicleMap .of(CharSequence.class, PostalCodeRange.class) .averageKey("Amsterdam") .entries(50_000) From 034c07dc12390f36a18bdf1fcdc99f07bbc9ed64 Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Mon, 21 Jan 2019 11:13:51 +0000 Subject: [PATCH 2/3] Use third-party-bom 3.6.9 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9134e9236..c853dd414 100755 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ net.openhft third-party-bom pom - 3.6.5 + 3.6.9 import From 01e4931301f640401b0a359fca1cd61557167fce Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Fri, 8 Feb 2019 12:12:22 +1300 Subject: [PATCH 3/3] Update Maven repositories Spoon is now published to Maven Central, and the releases directory is empty (http://spoon.gforge.inria.fr/repositories/releases/). Also updates Central to use https. --- pom.xml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index c853dd414..fbc1014ba 100755 --- a/pom.xml +++ b/pom.xml @@ -381,7 +381,7 @@ central Central Repository - http://repo.maven.apache.org/maven2 + https://repo.maven.apache.org/maven2 default false @@ -400,12 +400,6 @@ never - - - gforge.inria.fr-release - Maven Repository for JDT Compiler release - http://spoon.gforge.inria.fr/repositories/releases -