Skip to content

Commit aed7d1f

Browse files
authored
- removes fully qualified names for completablefutures
1 parent ff4c540 commit aed7d1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/com/microsoft/graph/tasks/LargeFileUploadTask.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public LargeFileUploadTask(@Nonnull final IUploadSession uploadSession,
128128
* @throws IOException the IO exception that occurred during upload
129129
*/
130130
@Nonnull
131-
public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize, @Nullable final List<Option> options, @Nullable final IProgressCallback progressCallback)
131+
public CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize, @Nullable final List<Option> options, @Nullable final IProgressCallback progressCallback)
132132
throws IOException {
133133

134134
int internalChunkSize = chunkSize;
@@ -189,12 +189,12 @@ public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>>
189189
}
190190
return failedFuture(new ClientException("Upload did not complete", null));
191191
}
192-
private java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> completedFuture(final LargeFileUploadResult<UploadType> result) { // CompletableFuture.completedFuture(result.getItem()); missing on android
192+
private CompletableFuture<LargeFileUploadResult<UploadType>> completedFuture(final LargeFileUploadResult<UploadType> result) { // CompletableFuture.completedFuture(result.getItem()); missing on android
193193
final CompletableFuture<LargeFileUploadResult<UploadType>> fut = new CompletableFuture<LargeFileUploadResult<UploadType>>();
194194
fut.complete(result);
195195
return fut;
196196
}
197-
private java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> failedFuture(ClientException ex) { // CompletableFuture.failedFuture not available on android
197+
private CompletableFuture<LargeFileUploadResult<UploadType>> failedFuture(ClientException ex) { // CompletableFuture.failedFuture not available on android
198198
final CompletableFuture<LargeFileUploadResult<UploadType>> fut = new CompletableFuture<LargeFileUploadResult<UploadType>>();
199199
fut.completeExceptionally(ex);
200200
return fut;
@@ -207,7 +207,7 @@ private java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>
207207
* @throws IOException the IO exception that occurred during upload
208208
*/
209209
@Nonnull
210-
public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync()
210+
public CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync()
211211
throws IOException {
212212
return uploadAsync(0);
213213
}
@@ -219,7 +219,7 @@ public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>>
219219
* @throws IOException the IO exception that occurred during upload
220220
*/
221221
@Nonnull
222-
public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize)
222+
public CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize)
223223
throws IOException {
224224
return uploadAsync(chunkSize, null);
225225
}
@@ -232,7 +232,7 @@ public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>>
232232
* @throws IOException the IO exception that occurred during upload
233233
*/
234234
@Nonnull
235-
public java.util.concurrent.CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize, @Nullable final List<Option> options)
235+
public CompletableFuture<LargeFileUploadResult<UploadType>> uploadAsync(@Nullable final int chunkSize, @Nullable final List<Option> options)
236236
throws IOException {
237237
return uploadAsync(chunkSize, options, null);
238238
}

0 commit comments

Comments
 (0)