From 72eb7e781a59f49ace11a618106b9a906cc9018c Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Fri, 17 Apr 2026 00:40:02 -0700 Subject: [PATCH] Fix 'occured' -> 'occurred' typos in 3 files - ide/diff/.../DiffProvider.java: @return Javadoc on DiffProvider.diff(). - harness/nbjunit/.../MultiTestCase.java: Javadoc on setError(). - php/php.samples/.../500.phtml: user-visible HTML body text rendered on the 500 error page of the PHP TodoList sample ('Internal server error occurred.'). No functional changes. Signed-off-by: Sai Asish Y --- harness/nbjunit/src/org/netbeans/junit/MultiTestCase.java | 2 +- ide/diff/src/org/netbeans/spi/diff/DiffProvider.java | 2 +- php/php.samples/samples_src/TodoList/page/500.phtml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/harness/nbjunit/src/org/netbeans/junit/MultiTestCase.java b/harness/nbjunit/src/org/netbeans/junit/MultiTestCase.java index f97f3a270829..93586e64e545 100644 --- a/harness/nbjunit/src/org/netbeans/junit/MultiTestCase.java +++ b/harness/nbjunit/src/org/netbeans/junit/MultiTestCase.java @@ -44,7 +44,7 @@ public MultiTestCase(String name) { private Throwable err = null; /** - * Internal method to set an error occured while preparation for executing the testcase. + * Internal method to set an error occurred while preparation for executing the testcase. */ void setError(Throwable e){ err = e; diff --git a/ide/diff/src/org/netbeans/spi/diff/DiffProvider.java b/ide/diff/src/org/netbeans/spi/diff/DiffProvider.java index 5856a7a22476..59a82a7773aa 100644 --- a/ide/diff/src/org/netbeans/spi/diff/DiffProvider.java +++ b/ide/diff/src/org/netbeans/spi/diff/DiffProvider.java @@ -48,7 +48,7 @@ public static DiffProvider getDefault() { * @param r1 the first source * @param r2 the second source to be compared with the first one. * @return the list of differences found, instances of {@link Difference}; - * or null when some error occured. + * or null when some error occurred. * @throws IOException when the reading from input streams fails. */ public abstract Difference[] computeDiff(Reader r1, Reader r2) throws IOException; diff --git a/php/php.samples/samples_src/TodoList/page/500.phtml b/php/php.samples/samples_src/TodoList/page/500.phtml index 9e1f30413da2..345ee1f44cd5 100644 --- a/php/php.samples/samples_src/TodoList/page/500.phtml +++ b/php/php.samples/samples_src/TodoList/page/500.phtml @@ -23,7 +23,7 @@ namespace TodoList; ?>

SERVER ERROR

-

Internal server error occured.

+

Internal server error occurred.

More information (should be hidden on production server):