#457 - Polished usage of Lombok in ALPS package.

Switched to the non-experimental @Builder. Upgraded to Lombok 1.16.8.
This commit is contained in:
Oliver Gierke
2016-06-06 11:26:59 +02:00
parent 40898cb1ea
commit 4d189cf11f
6 changed files with 15 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
hyper-text driven REST web services.
</description>
<inceptionYear>2012-2015</inceptionYear>
<inceptionYear>2012-2016</inceptionYear>
<organization>
<name>Pivotal, Inc.</name>
@@ -471,7 +471,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.4</version>
<version>1.16.8</version>
<scope>provided</scope>
</dependency>

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,10 @@
*/
package org.springframework.hateoas.alps;
import java.util.List;
import lombok.Builder;
import lombok.Value;
import lombok.experimental.Builder;
import java.util.List;
import org.springframework.hateoas.alps.Descriptor.DescriptorBuilder;
import org.springframework.hateoas.alps.Doc.DocBuilder;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,10 @@
*/
package org.springframework.hateoas.alps;
import java.util.List;
import lombok.Builder;
import lombok.Value;
import lombok.experimental.Builder;
import java.util.List;
/**
* A value object for an ALPS descriptor.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,8 +16,8 @@
package org.springframework.hateoas.alps;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Value;
import lombok.experimental.Builder;
import org.springframework.util.Assert;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,8 +15,8 @@
*/
package org.springframework.hateoas.alps;
import lombok.Builder;
import lombok.Value;
import lombok.experimental.Builder;
/**
* A value object for an ALPS ext element.

View File

@@ -8,6 +8,7 @@ Import-Template:
javax.servlet.*;version="[2.5,4.0)";resolution:=optional,
javax.ws.rs.*;version="${jaxrs.version:[=.=.=,+1.0.0)}";resolution:=optional,
javax.xml.bind.*;version="0",
lombok.*;version="0";resolution:=optional,
net.minidev.json.*;version="${minidevjson.version:[=.=.=,+1.0.0)}";resolution:=optional,
org.aopalliance.*;version="[1.0.0,2.0.0)";resolution:=optional,
org.atteo.evo.inflector.*;version="${evo.version:[=.=.=,+1.0.0)}";resolution:=optional,