Skip to content

Commit c2bb40e

Browse files
committed
Removed unused ctor
Signed-off-by: Ashish Singh <ssashish@amazon.com>
1 parent 9f15bbf commit c2bb40e

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

server/src/main/java/org/opensearch/index/snapshots/blobstore/RemoteStoreShardShallowCopySnapshot.java

-36
Original file line numberDiff line numberDiff line change
@@ -123,42 +123,6 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
123123
return builder;
124124
}
125125

126-
/**
127-
* This is kept only to avoid breaking changes.
128-
*/
129-
@Deprecated
130-
public RemoteStoreShardShallowCopySnapshot(
131-
String snapshot,
132-
long indexVersion,
133-
long primaryTerm,
134-
long commitGeneration,
135-
long startTime,
136-
long time,
137-
int totalFileCount,
138-
long totalSize,
139-
String indexUUID,
140-
String remoteStoreRepository,
141-
String repositoryBasePath,
142-
List<String> fileNames
143-
) {
144-
this(
145-
snapshot,
146-
indexVersion,
147-
primaryTerm,
148-
commitGeneration,
149-
startTime,
150-
time,
151-
totalFileCount,
152-
totalSize,
153-
indexUUID,
154-
remoteStoreRepository,
155-
repositoryBasePath,
156-
fileNames,
157-
null,
158-
null
159-
);
160-
}
161-
162126
public RemoteStoreShardShallowCopySnapshot(
163127
String snapshot,
164128
long indexVersion,

0 commit comments

Comments
 (0)