summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-09-09 15:07:05 +0200
committergjoranv <gv@verizonmedia.com>2019-09-09 15:07:05 +0200
commit85f3496fb440b8190eed5c543c27a847657f2399 (patch)
treea3dbe9536ad52ef1f91e48379556f93a76b9d4da /vespa-http-client
parent12cd0e7c82c296a11e5f2e74402bf8865120fd94 (diff)
Remove findbugs annotations from code and build path.
- jsr305 is needed by guava, which declares it as optional dep. - Remaining modules with annotations do not affect the container.
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/pom.xml5
-rw-r--r--vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java6
2 files changed, 1 insertions, 10 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml
index 96aa6defbe6..b17a4708538 100644
--- a/vespa-http-client/pom.xml
+++ b/vespa-http-client/pom.xml
@@ -90,11 +90,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>annotations</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>test</scope>
diff --git a/vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java b/vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java
index 943fffabaf9..90ca09251bc 100644
--- a/vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java
+++ b/vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java
@@ -1,13 +1,9 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.client;
-import net.jcip.annotations.Immutable;
-
/**
-* @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
-* @since 5.1.20
+* @author Einar M R Rosenvinge
*/
-@Immutable
public class TestDocument {
private final String documentId;
private final byte[] contents;