diff --git a/access/src/main/java/org/springframework/security/access/annotation/package-info.java b/access/src/main/java/org/springframework/security/access/annotation/package-info.java deleted file mode 100644 index 937a0b1c56..0000000000 --- a/access/src/main/java/org/springframework/security/access/annotation/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2004-present 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Support for JSR-250 and Spring Security {@code @Secured} annotations. - */ -@NullMarked -package org.springframework.security.access.annotation; - -import org.jspecify.annotations.NullMarked; diff --git a/access/src/main/java/org/springframework/security/access/expression/method/package-info.java b/access/src/main/java/org/springframework/security/access/expression/method/package-info.java deleted file mode 100644 index 0923fe65a6..0000000000 --- a/access/src/main/java/org/springframework/security/access/expression/method/package-info.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2004-present 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Implementation of expression-based method security. - * - * @since 3.0 - */ -@NullMarked -package org.springframework.security.access.expression.method; - -import org.jspecify.annotations.NullMarked; diff --git a/access/src/main/java/org/springframework/security/access/package-info.java b/access/src/main/java/org/springframework/security/access/package-info.java deleted file mode 100644 index 01ac014fe7..0000000000 --- a/access/src/main/java/org/springframework/security/access/package-info.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2004-present 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Core access-control related code, including security metadata related classes, - * interception code, access control annotations, EL support and voter-based - * implementations of the central - * {@link org.springframework.security.access.AccessDecisionManager AccessDecisionManager} - * interface. - */ -@NullMarked -package org.springframework.security.access; - -import org.jspecify.annotations.NullMarked; diff --git a/access/src/main/java/org/springframework/security/access/prepost/package-info.java b/access/src/main/java/org/springframework/security/access/prepost/package-info.java deleted file mode 100644 index d4322df1a4..0000000000 --- a/access/src/main/java/org/springframework/security/access/prepost/package-info.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2004-present 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Contains the infrastructure classes for handling the {@code @PreAuthorize}, - * {@code @PreFilter}, {@code @PostAuthorize} and {@code @PostFilter} annotations. - *

- * Other than the annotations themselves, the classes should be regarded as for internal - * framework use and are liable to change without notice. - */ -@NullMarked -package org.springframework.security.access.prepost; - -import org.jspecify.annotations.NullMarked;