Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 459978c

Browse files
committed
Removes references to Java 7 classes.
1 parent eb17913 commit 459978c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/java/com/google/census/CensusScope.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
package com.google.census;
1515

16+
import java.io.Closeable;
17+
1618
/**
1719
* {@link CensusScope} defines an arbitrary scope of code as a traceable operation. Supports
1820
* try-with-resources idiom.
@@ -31,7 +33,7 @@
3133
* }
3234
* </pre>
3335
*/
34-
public final class CensusScope implements AutoCloseable {
36+
public final class CensusScope implements Closeable {
3537
private final CensusContext saved;
3638

3739
/**

0 commit comments

Comments
 (0)