Polish "Suppress deprecation warnings in RestDocumentationRequestBuildersTests"
See
/*
- * Copyright 2014-2019 the original author or authors.
+ * Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -129,14 +129,14 @@ public class RestDocumentationRequestBuildersTests {
assertUri(request(HttpMethod.GET, URI.create("/uri")), HttpMethod.GET);
}
- @SuppressWarnings("deprecation")
@Test
+ @SuppressWarnings("deprecation")
public void fileUploadTemplate() {
assertTemplate(fileUpload("/{template}", "t"), HttpMethod.POST);
}
- @SuppressWarnings("deprecation")
@Test
+ @SuppressWarnings("deprecation")
public void fileUploadUri() {
assertUri(fileUpload(URI.create("/uri")), HttpMethod.POST);
}
