HBASE-22830 Removed deprecated method from StoreFile
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
15c903b3f8
commit
e9382154f3
|
@ -296,11 +296,6 @@ public class HStoreFile implements StoreFile {
|
|||
return this.sequenceid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getModificationTimeStamp() throws IOException {
|
||||
return getModificationTimestamp();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getModificationTimestamp() throws IOException {
|
||||
return fileInfo.getModificationTime();
|
||||
|
|
|
@ -95,15 +95,6 @@ public interface StoreFile {
|
|||
*/
|
||||
long getMaxSequenceId();
|
||||
|
||||
/**
|
||||
* Get the modification time of this store file. Usually will access the file system so throws
|
||||
* IOException.
|
||||
* @deprecated Since 2.0.0. Will be removed in 3.0.0.
|
||||
* @see #getModificationTimestamp()
|
||||
*/
|
||||
@Deprecated
|
||||
long getModificationTimeStamp() throws IOException;
|
||||
|
||||
/**
|
||||
* Get the modification time of this store file. Usually will access the file system so throws
|
||||
* IOException.
|
||||
|
|
|
@ -133,11 +133,6 @@ public class MockHStoreFile extends HStoreFile {
|
|||
return compactedAway;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getModificationTimeStamp() {
|
||||
return getModificationTimestamp();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getModificationTimestamp() {
|
||||
return modificationTime;
|
||||
|
|
Loading…
Reference in New Issue