#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

@@ -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.