Skip to content

Commit f720f49

Browse files
jbamptonakurtakov
authored andcommitted
Fix spelling
1 parent 9af5248 commit f720f49

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def runOnNativeBuildAgent(String platform, Closure body) {
4242
}
4343
}
4444

45-
/** Returns the download URL of the JDK against whoose C headers (in the 'include/' folder) and native libaries the SWT natives are compiled.*/
45+
/** Returns the download URL of the JDK against whoose C headers (in the 'include/' folder) and native libraries the SWT natives are compiled.*/
4646
def getNativeJdkUrl(String os, String arch){ // To update the used JDK version update the URL template below
4747
if('win32'.equals(os) && 'aarch64'.equals(arch)) {
4848
// Temporary workaround until there are official Temurin GA releases for Windows on ARM that can be consumed through JustJ
@@ -222,7 +222,7 @@ pipeline {
222222
script {
223223
def (ws, os, arch) = env.PLATFORM.split('\\.')
224224
dir("jdk-download-${os}.${arch}") {
225-
// Fetch the JDK, which provides the C header-files and shared native libaries, against which the natives are build.
225+
// Fetch the JDK, which provides the C header-files and shared native libraries, against which the natives are build.
226226
sh "curl ${getNativeJdkUrl(os, arch)} | tar -xzf - include/ lib/"
227227
stash name:"jdk.resources.${os}.${arch}", includes: "include/,lib/"
228228
deleteDir()

bundles/org.eclipse.swt.tools/gtk/rebuild_swt_natives.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# It uses SWT's build script ()*1) and adds extra functionality:
99
# - Builds SWT's JNI native code (libswt-*-xyzz.so) with debugging support enabled by default
10-
# * Also prints number of warnigns found. (Useful to see if new warnings were introduced)
10+
# * Also prints number of warnings found. (Useful to see if new warnings were introduced)
1111
# - Cleans up binary git repository holding '.so' filse
1212
# * This prevents the situation where when you checkout an older swt patch and
1313
# rebuild, swt would use some newer .so's instead of the newly compiled once.
@@ -179,7 +179,7 @@ if [ "$?" -ne 0 ]; then # Failed
179179
exit 1 # Failed
180180
else # Success
181181
WARNING_COUNT=$(cat $temp_log_file | grep warning | wc -l)
182-
func_echo_info "[Step 3] Bindings compiled sucessfully"
182+
func_echo_info "[Step 3] Bindings compiled successfully"
183183
func_echo_error "[Step 3] ** Warning count: $WARNING_COUNT "
184184
rm "$temp_log_file"
185185
fi

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static void swt_fixed_class_init (SwtFixedClass *class) {
280280
gobject_class->get_property = swt_fixed_get_property;
281281
gobject_class->finalize = swt_fixed_finalize;
282282

283-
/* Scrollable implemetation */
283+
/* Scrollable implementation */
284284
g_object_class_override_property (gobject_class, PROP_HADJUSTMENT, "hadjustment");
285285
g_object_class_override_property (gobject_class, PROP_VADJUSTMENT, "vadjustment");
286286
g_object_class_override_property (gobject_class, PROP_HSCROLL_POLICY, "hscroll-policy");

examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/text.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5381,7 +5381,7 @@ void handleTextChanging(TextChangingEvent event) {
53815381
if (caretOffset > newEndOfText) caretOffset = newEndOfText;
53825382
}
53835383
/**
5384-
* Called when the widget content is set programatically, overwriting
5384+
* Called when the widget content is set programmatically, overwriting
53855385
* the old content. Resets the caret position, selection and scroll offsets.
53865386
* Recalculates the content width and scroll bars. Redraws the widget.
53875387
* <p>

examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet207.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) {
4141

4242
final Rectangle rect = image.getBounds();
4343
Shell shell = new Shell(display);
44-
shell.setText("Matrix Tranformations");
44+
shell.setText("Matrix Transformations");
4545
shell.setLayout(new FillLayout());
4646
final Canvas canvas = new Canvas(shell, SWT.DOUBLE_BUFFERED);
4747
canvas.addPaintListener(e -> {
@@ -59,7 +59,7 @@ public static void main(String[] args) {
5959

6060
Transform transform = new Transform(display);
6161

62-
// Note that the tranform is applied to the whole GC therefore
62+
// Note that the transform is applied to the whole GC therefore
6363
// the coordinates need to be adjusted too.
6464

6565
// Reflect around the y axis.

tests/org.eclipse.swt.tests.gtk/ManualNativeCTests/SwtFixed_native/GTK3/os_custom.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void swt_fixed_class_init(SwtFixedClass *class) {
7272
gobject_class->get_property = swt_fixed_get_property;
7373
gobject_class->finalize = swt_fixed_finalize;
7474

75-
/* Scrollable implemetation */
75+
/* Scrollable implementation */
7676
g_object_class_override_property(gobject_class, PROP_HADJUSTMENT,
7777
"hadjustment");
7878
g_object_class_override_property(gobject_class, PROP_VADJUSTMENT,

tests/org.eclipse.swt.tests.gtk/ManualNativeCTests/SwtFixed_native/GTK4/os_custom.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void swt_fixed_class_init (SwtFixedClass *class) {
6565
gobject_class->get_property = swt_fixed_get_property;
6666
gobject_class->finalize = swt_fixed_finalize;
6767

68-
/* Scrollable implemetation */
68+
/* Scrollable implementation */
6969
g_object_class_override_property (gobject_class, PROP_HADJUSTMENT, "hadjustment");
7070
g_object_class_override_property (gobject_class, PROP_VADJUSTMENT, "vadjustment");
7171
g_object_class_override_property (gobject_class, PROP_HSCROLL_POLICY, "hscroll-policy");

tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug497705_setBoundsAfterSetVisible.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void fails_moveInnvisibleControl() {
112112
testControl.setVisible(true);
113113
shell.open(); for (int i = 0; i < 500; i++) display.readAndDispatch();
114114

115-
bounds = testControl.getBounds(); // Visually looks ok. (width/height), but programatically incorrect getBounds().
115+
bounds = testControl.getBounds(); // Visually looks ok. (width/height), but programmatically incorrect getBounds().
116116
verifyBounds();
117117
}
118118

tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/manualJUnit/MJ_Template.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.junit.Test;
2222
import org.junit.runners.MethodSorters;
2323

24-
/** Convienience class for easy copy & paste */
24+
/** Convenience class for easy copy & paste */
2525
@FixMethodOrder(MethodSorters.JVM)
2626
public class MJ_Template extends MJ_root {
2727

tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/manualJUnit/MJ_Tree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.junit.Test;
3737
import org.junit.runners.MethodSorters;
3838

39-
/** Convienience class for easy copy & paste */
39+
/** Convenience class for easy copy & paste */
4040
@FixMethodOrder(MethodSorters.JVM)
4141
public class MJ_Tree extends MJ_root {
4242

0 commit comments

Comments
 (0)