ソースを参照

Remove Duplicate package-info Files

Issue gh-17847
Josh Cummings 1 週間 前
コミット
dc5a9bd53d

+ 0 - 23
access/src/main/java/org/springframework/security/access/annotation/package-info.java

@@ -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;

+ 0 - 25
access/src/main/java/org/springframework/security/access/expression/method/package-info.java

@@ -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;

+ 0 - 27
access/src/main/java/org/springframework/security/access/package-info.java

@@ -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;

+ 0 - 27
access/src/main/java/org/springframework/security/access/prepost/package-info.java

@@ -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.
- * <p>
- * 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;