Commit 051ebf3f authored by Andy Wilkinson's avatar Andy Wilkinson

Polishing: fix a number of compiler warnings reported by Eclipse

parent a38f01f9
......@@ -179,7 +179,7 @@ public class ConfigurationMetadata {
return first + "-" + second;
}
private static <T extends Comparable> List<T> flattenValues(MultiValueMap<?, T> map) {
private static <T extends Comparable<T>> List<T> flattenValues(MultiValueMap<?, T> map) {
List<T> content = new ArrayList<T>();
for (List<T> values : map.values()) {
content.addAll(values);
......
......@@ -30,6 +30,7 @@ import lombok.Data;
*/
@Data
@ConfigurationProperties(prefix = "data")
@SuppressWarnings("unused")
public class LombokSimpleDataProperties {
private final String id = "super-id";
......
......@@ -32,6 +32,7 @@ import lombok.Setter;
@Getter
@Setter
@ConfigurationProperties(prefix = "simple")
@SuppressWarnings("unused")
public class LombokSimpleProperties {
private final String id = "super-id";
......
......@@ -243,6 +243,7 @@ public class RandomAccessDataFile implements RandomAccessData {
this.files = new ConcurrentLinkedQueue<RandomAccessFile>();
}
@SuppressWarnings("resource")
public RandomAccessFile acquire() throws IOException {
try {
this.available.acquire();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment