aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2017-11-13 18:57:32 -0800
committerKristen Kozak <sebright@google.com>2017-11-13 19:54:33 -0800
commit8b849436310c298b3293211f748f3bb6d227ff63 (patch)
tree4641326202fb88fffb3ed1c360f780c12a30a516 /contrib
parentc80a523e367669067729854ec0996a504c96f68e (diff)
downloadopencensus-java-8b849436310c298b3293211f748f3bb6d227ff63.tar.gz
Enable PrivateConstructorForUtilityClass Error Prone warning.
This commit also adds some private constructors to utility and example classes.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/agent/src/main/java/io/opencensus/contrib/agent/Resources.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/agent/src/main/java/io/opencensus/contrib/agent/Resources.java b/contrib/agent/src/main/java/io/opencensus/contrib/agent/Resources.java
index f0725443..7367b85a 100644
--- a/contrib/agent/src/main/java/io/opencensus/contrib/agent/Resources.java
+++ b/contrib/agent/src/main/java/io/opencensus/contrib/agent/Resources.java
@@ -30,6 +30,7 @@ import java.io.OutputStream;
/** Helper methods for working with resources. */
final class Resources {
+ private Resources() {}
/**
* Returns a resource of the given name as a temporary file.