Skip to content

Commit 483e546

Browse files
authored
chore: remove unneeded duplicate words in java docs (#2531)
Minor docs clean up
1 parent e246cb9 commit 483e546

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

core/src/main/java/org/apache/shiro/SecurityUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public abstract class SecurityUtils {
5050
* @return the currently accessible {@code Subject} accessible to the calling code.
5151
* @throws IllegalStateException if no {@link Subject Subject} instance or
5252
* {@link SecurityManager SecurityManager} instance is available with which to obtain
53-
* a {@code Subject}, which which is considered an invalid application configuration
53+
* a {@code Subject}, which is considered an invalid application configuration
5454
* - a Subject should <em>always</em> be available to the caller.
5555
*/
5656
public static Subject getSubject() {

core/src/main/java/org/apache/shiro/authc/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* 'AuthoriZation', abbreviated as <tt>authz</tt>.
2424
* <p/>
2525
* The primary item of interest in this package is the <tt>Authenticator</tt> interface, which acts as the
26-
* entry point (facade) to all other other authentication components. Other components, interfaces and
26+
* entry point (facade) to all other authentication components. Other components, interfaces and
2727
* exceptions are here to support <tt>Authenticator</tt> implementations.
2828
*/
2929
package org.apache.shiro.authc;

core/src/main/java/org/apache/shiro/authz/annotation/RequiresRoles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* {@link RequiresPermissions RequiresPermissions} annotation makes sense - Permission
4747
* types will not change during runtime for an application since permissions directly correspond to how
4848
* the application's functionality is programmed (that is, they reflect the application's functionality only, not
49-
* <em>who</em> is executing the the functionality).
49+
* <em>who</em> is executing the functionality).
5050
*
5151
* @see org.apache.shiro.subject.Subject#hasRole(String)
5252
* @since 0.1

core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public SessionsSecurityManager() {
7373
* <tt>SessionManager</tt> instance.
7474
* <p/>
7575
* If a <tt>SessionManager</tt> instance is not set, a default one will be automatically created and
76-
* initialized appropriately for the the existing runtime environment.
76+
* initialized appropriately for the existing runtime environment.
7777
*
7878
* @param sessionManager delegate instance to use to support this manager's <tt>SessionManager</tt> method calls.
7979
*/

0 commit comments

Comments
 (0)