Skip to content

Commit

Permalink
Aliyun: Remove deprecated classes for 1.0 release (apache#5654)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweeks authored Aug 28, 2022
1 parent d2b5e94 commit 324897e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
import org.apache.iceberg.io.SeekableInputStream;
import org.apache.iceberg.metrics.MetricsContext;

/** @deprecated moving to package-private in 0.15.0; use OSSFileIO to create InputFile instances */
@Deprecated
public class OSSInputFile extends BaseOSSFile implements InputFile {
class OSSInputFile extends BaseOSSFile implements InputFile {

private Long length = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** @deprecated moving to package-private in 0.15.0 */
@Deprecated
public class OSSInputStream extends SeekableInputStream {
class OSSInputStream extends SeekableInputStream {
private static final Logger LOG = LoggerFactory.getLogger(OSSInputStream.class);
private static final int SKIP_SIZE = 1024 * 1024;

Expand All @@ -52,9 +50,7 @@ public class OSSInputStream extends SeekableInputStream {
private final Counter readBytes;
private final Counter readOperations;

/** @deprecated moving to package-private in 0.15.0 */
@Deprecated
public OSSInputStream(OSS client, OSSURI uri) {
OSSInputStream(OSS client, OSSURI uri) {
this(client, uri, MetricsContext.nullMetrics());
}

Expand Down

0 comments on commit 324897e

Please sign in to comment.