Skip to content

Commit 89e068b

Browse files
author
Andrey Turbanov
committedSep 25, 2023
8316556: Fix typos in java.desktop
Reviewed-by: prr, aivanov
1 parent 481cfc7 commit 89e068b

File tree

81 files changed

+196
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+196
-196
lines changed
 

‎src/java.desktop/macosx/classes/sun/font/CFontManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -273,7 +273,7 @@ protected FontFamily getFontFamily(String realName, String fallbackName){
273273
if (FontUtilities.debugFonts()) {
274274
FontUtilities.logWarning(
275275
"The font \"" + realName + "\" is not available, so \"" + fallbackName +
276-
"\" has been substituted, but may have unexpected appearance or behavor. Re-enable the \"" +
276+
"\" has been substituted, but may have unexpected appearance or behavior. Re-enable the \"" +
277277
realName +"\" font to remove this warning.");
278278
}
279279
return family;

‎src/java.desktop/macosx/classes/sun/lwawt/macosx/CTrayIcon.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -312,7 +312,7 @@ private native void nativeShowNotification(long trayIconModel,
312312
*
313313
* @param icon icon to scale
314314
* @param scaleFactor scale factor to use
315-
* @return scaled icon as BuffedredImage
315+
* @return scaled icon as BufferedImage
316316
*/
317317
private static BufferedImage scaleIcon(Icon icon, double scaleFactor) {
318318
if (icon == null) {

0 commit comments

Comments
 (0)
Please sign in to comment.