mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
This commit is contained in:
parent
a07102bc7f
commit
27e26fbdd7
12 changed files with 26 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -351,7 +351,7 @@ public abstract class Identity implements Principal, Serializable {
|
|||
|
||||
/**
|
||||
* Tests for equality between the specified identity and this identity.
|
||||
* This method should be overriden by subclasses to test for equality.
|
||||
* This method should be overridden by subclasses to test for equality.
|
||||
* The default behavior is to return true if the names and public keys
|
||||
* are equal.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1318,7 +1318,7 @@ public abstract class Provider extends Properties {
|
|||
* {@code "putProviderProperty."+name}, where {@code name} is
|
||||
* the provider name, to see if it's ok to set this provider's property
|
||||
* values. If the default implementation of {@code checkSecurityAccess}
|
||||
* is used (that is, that method is not overriden), then this results in
|
||||
* is used (that is, that method is not overridden), then this results in
|
||||
* a call to the security manager's {@code checkPermission} method with
|
||||
* a {@code SecurityPermission("putProviderProperty."+name)}
|
||||
* permission.
|
||||
|
@ -1410,7 +1410,7 @@ public abstract class Provider extends Properties {
|
|||
* the provider name, to see if it's ok to remove this provider's
|
||||
* properties. If the default implementation of
|
||||
* {@code checkSecurityAccess} is used (that is, that method is not
|
||||
* overriden), then this results in a call to the security manager's
|
||||
* overridden), then this results in a call to the security manager's
|
||||
* {@code checkPermission} method with a
|
||||
* {@code SecurityPermission("removeProviderProperty."+name)}
|
||||
* permission.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -422,7 +422,7 @@ public final class Security {
|
|||
* method is called with the string {@code "removeProvider."+name}
|
||||
* to see if it's ok to remove the provider.
|
||||
* If the default implementation of {@code checkSecurityAccess}
|
||||
* is used (i.e., that method is not overriden), then this will result in
|
||||
* is used (i.e., that method is not overridden), then this will result in
|
||||
* a call to the security manager's {@code checkPermission} method
|
||||
* with a {@code SecurityPermission("removeProvider."+name)}
|
||||
* permission.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -348,7 +348,7 @@ public class RuleBasedCollator extends Collator{
|
|||
* Compares the character data stored in two different strings based on the
|
||||
* collation rules. Returns information about whether a string is less
|
||||
* than, greater than or equal to another string in a language.
|
||||
* This can be overriden in a subclass.
|
||||
* This can be overridden in a subclass.
|
||||
*
|
||||
* @exception NullPointerException if <code>source</code> or <code>target</code> is null.
|
||||
*/
|
||||
|
@ -567,7 +567,7 @@ public class RuleBasedCollator extends Collator{
|
|||
/**
|
||||
* Transforms the string into a series of characters that can be compared
|
||||
* with CollationKey.compareTo. This overrides java.text.Collator.getCollationKey.
|
||||
* It can be overriden in a subclass.
|
||||
* It can be overridden in a subclass.
|
||||
*/
|
||||
public synchronized CollationKey getCollationKey(String source)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -136,7 +136,7 @@ class Random implements java.io.Serializable {
|
|||
if (getClass() == Random.class)
|
||||
this.seed = new AtomicLong(initialScramble(seed));
|
||||
else {
|
||||
// subclass might have overriden setSeed
|
||||
// subclass might have overridden setSeed
|
||||
this.seed = new AtomicLong();
|
||||
setSeed(seed);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -77,7 +77,7 @@ public final class StringJoiner {
|
|||
private int len;
|
||||
|
||||
/**
|
||||
* When overriden by the user to be non-null via {@link setEmptyValue}, the
|
||||
* When overridden by the user to be non-null via {@link setEmptyValue}, the
|
||||
* string returned by toString() when no elements have yet been added.
|
||||
* When null, prefix + suffix is used as the empty value.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue