From 22df0b6143b52fa5084da7b20440b630199d7d7d Mon Sep 17 00:00:00 2001 From: Andrea Di Cesare Date: Sat, 31 Dec 2016 16:18:18 +0100 Subject: [PATCH] Release 3.0.0 --- pom.xml | 16 ++++++++-------- src/main/java/org/restheart/Configuration.java | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index e11b4c6371..0263309d77 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.restheart restheart - 3.0.0-SNAPSHOT + 3.0.0 jar Restheart @@ -11,7 +11,7 @@ http://www.restheart.org 2014 - + UTF-8 1.8 @@ -98,7 +98,7 @@ scm:git:git@github.com:SoftInstigate/restheart.git scm:git:git@github.com:SoftInstigate/restheart.git - + @@ -143,7 +143,7 @@ jansi 1.14 - + org.everit.json org.everit.json.schema @@ -170,7 +170,7 @@ 4.5.2 test - + org.apache.httpcomponents httpmime @@ -184,7 +184,7 @@ 4.5.2 test - + com.mashape.unirest unirest-java @@ -204,7 +204,7 @@ tika-core 1.14 - + de.svenkubiak jBCrypt @@ -482,7 +482,7 @@ - + release diff --git a/src/main/java/org/restheart/Configuration.java b/src/main/java/org/restheart/Configuration.java index ca3ba043ae..2f6b347d72 100644 --- a/src/main/java/org/restheart/Configuration.java +++ b/src/main/java/org/restheart/Configuration.java @@ -1,17 +1,17 @@ /* * RESTHeart - the Web API for MongoDB * Copyright (C) SoftInstigate Srl - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. - * + * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ @@ -57,7 +57,7 @@ public class Configuration { /** * URL pointing to the online documentation specific for this version. */ - public static final String RESTHEART_ONLINE_DOC_URL = "http://restheart.org/curies/2.0"; + public static final String RESTHEART_ONLINE_DOC_URL = "http://restheart.org/curies/3.0"; private static final Logger LOGGER = LoggerFactory.getLogger(Configuration.class); @@ -721,7 +721,7 @@ public Configuration(Map conf, boolean silent) throws Configurat REPRESENTATION_FORMAT_KEY, DEFAULT_REPRESENTATION_FORMAT.name()); REPRESENTATION_FORMAT rf = REPRESENTATION_FORMAT.PLAIN_JSON;; - + try { rf = REPRESENTATION_FORMAT.valueOf(_representationFormat); } catch (IllegalArgumentException iar) {