Assorted collection of typos (#1434)

* hawkbit-repository: fix typoL annotations

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>

* hawkbit-repository: fix typo: verifies

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>

* hawkbit-repository: fix typo: exclusion

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>

* hawkbit-core: fix typo: placeholder

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>

---------

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
This commit is contained in:
Zygmunt Krynicki
2023-09-26 11:30:29 +02:00
committed by GitHub
parent e2d90b7092
commit 318f94fa32
2 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ public class RepositoryManagementMethodPreAuthorizeAnnotatedTest {
}
@Test
@Description("Verfies that repository methods are @PreAuthorize annotated")
@Description("Verifies that repository methods are @PreAuthorize annotated")
public void repositoryManagementMethodsArePreAuthorizedAnnotated()
throws ClassNotFoundException, URISyntaxException, IOException {
final List<Class<?>> findInterfacesInPackage = findInterfacesInPackage(getClass().getPackage(),
@@ -49,10 +49,10 @@ public class RepositoryManagementMethodPreAuthorizeAnnotatedTest {
assertThat(findInterfacesInPackage).isNotEmpty();
for (final Class<?> interfaceToCheck : findInterfacesInPackage) {
assertDeclaredMethodsContainsPreAuthorizeAnnotaions(interfaceToCheck);
assertDeclaredMethodsContainsPreAuthorizeAnnotations(interfaceToCheck);
}
// all exclusion should be used, otherwise the method exlusion should be
// all exclusion should be used, otherwise the method exclusion should be
// cleaned up again
assertThat(METHOD_SECURITY_EXCLUSION).isEmpty();
}
@@ -66,7 +66,7 @@ public class RepositoryManagementMethodPreAuthorizeAnnotatedTest {
* @param clazz
* the class to retrieve the public declared methods
*/
private static void assertDeclaredMethodsContainsPreAuthorizeAnnotaions(final Class<?> clazz) {
private static void assertDeclaredMethodsContainsPreAuthorizeAnnotations(final Class<?> clazz) {
final Method[] declaredMethods = clazz.getDeclaredMethods();
for (final Method method : declaredMethods) {
final boolean methodExcluded = METHOD_SECURITY_EXCLUSION.contains(method);