This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new f061112 Fix deprecated override warning in ResourceLeakDetector.
(#4849)
f061112 is described below
commit f061112347e401b063df66f8e12b26a2fda4e740
Author: rodric rabbah <[email protected]>
AuthorDate: Thu Mar 5 06:58:09 2020 -0500
Fix deprecated override warning in ResourceLeakDetector. (#4849)
---
.../openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java
b/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java
index 0a450dc..954b547 100644
---
a/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java
+++
b/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java
@@ -24,6 +24,7 @@ import org.apache.openwhisk.common.Counter;
public class RecordingLeakDetectorFactory extends ResourceLeakDetectorFactory {
static final Counter counter = new Counter();
@Override
+ @SuppressWarnings("deprecation")
public <T> ResourceLeakDetector<T> newResourceLeakDetector(Class<T>
resource, int samplingInterval, long maxActive) {
return new RecordingLeakDetector<T>(counter, resource,
samplingInterval);
}