Skip to content

Commit 332ec88

Browse files
authored
Merge pull request #8800 from myatt83/PATCH-2025-09-08-01-Fix-typos
Fix some typos in comments, doc and messages
2 parents 2e3c4ef + 22cf52b commit 332ec88

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

enterprise/profiler.j2ee/src/org/netbeans/modules/profiler/j2ee/J2EEProfilerSPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,6 @@ private JavaPlatform convert(org.netbeans.modules.profiler.api.JavaPlatform agen
717717
return platform;
718718
}
719719
}
720-
throw new IllegalArgumentException("Platfrom "+platformName+" not found"); // NOI18N
720+
throw new IllegalArgumentException("Platform "+platformName+" not found"); // NOI18N
721721
}
722722
}

harness/nbjunit/src/org/netbeans/junit/Manager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static String getNbJUnitHomePath() throws IOException {
112112
return path;
113113
} else {
114114
throw new IOException("Cannot determine NbJUnit home. Please make sure you have "+NBJUNIT_HOME
115-
+" propery set in your "+JUNIT_PROPERTIES_FILENAME+" file.");
115+
+" property set in your "+JUNIT_PROPERTIES_FILENAME+" file.");
116116
}
117117

118118
}

ide/refactoring.api/src/org/netbeans/modules/refactoring/spi/RefactoringElementImplementation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public interface RefactoringElementImplementation {
122122

123123
/**
124124
* Setter for property status
125-
* @param status new value of propery status
125+
* @param status new value of property status
126126
*/
127127
void setStatus(int status);
128128

ide/schema2beans/src/org/netbeans/modules/schema2beans/BeanProp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ private void checkParams(int index, Object value, boolean add) {
898898
*
899899
* If the property is an indexed value, the operation is not allowed.
900900
*
901-
* If the propery didn't have any value (no DOM node yet), a DOMBinding
901+
* If the property didn't have any value (no DOM node yet), a DOMBinding
902902
* is created and takes care of setting the new value.
903903
*
904904
*/
@@ -1725,7 +1725,7 @@ BaseBean newBeanInstance() {
17251725
* (One node of the bean graph). Whatever the case is, there is a DOM Node
17261726
* that correspond to this property.
17271727
*
1728-
* Also, the propery might be either a single value property or an
1728+
* Also, the property might be either a single value property or an
17291729
* array. In the first case, only one Node of the DOM graph can match
17301730
* the property (if not, this is fatal error in building the bean graph).
17311731
* In the second case, this property contains an array referencing the

ide/subversion/src/org/netbeans/modules/subversion/config/SvnConfigFiles.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private interface IniFilePatcher {
8989
}
9090

9191
/**
92-
* The value for the 'store-auth-creds' key in the config cofiguration file is alway set to 'no'
92+
* The value for the 'store-auth-creds' key in the config configuration file is alway set to 'no'
9393
* so the commandline client wan't create a file holding the authentication credentials when
9494
* a svn command is called. The reason for this is that the Subverion module holds the credentials
9595
* in files with the same format as the commandline client but with a different name.
@@ -531,7 +531,7 @@ private Ini copyConfigFileToIDEConfigDir(String fileName, IniFilePatcher patcher
531531
* </ol>
532532
*
533533
* @param fileName the file name
534-
* @return an Ini instance holding the cofiguration file.
534+
* @return an Ini instance holding the configuration file.
535535
*/
536536
private Ini loadSystemIniFile(String fileName) {
537537
// config files from userdir

ide/xml.schema.model/src/org/netbeans/modules/xml/schema/model/SchemaComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public interface SchemaComponent extends DocumentComponent<SchemaComponent> {
5656

5757
/**
5858
* Sets value of an attribute defined in a certain namespace.
59-
* Propery change event will be fired with property name using attribute local name.
59+
* Property change event will be fired with property name using attribute local name.
6060
*/
6161
void setAnyAttribute(QName attributeName, String value);
6262

java/form/src/org/netbeans/modules/form/FormModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class FormModel
4949

5050
public enum FormVersion {
5151
BASIC, // form file version up to 1.2
52-
NB50, // form file verson 1.3
52+
NB50, // form file version 1.3
5353
NB60_PRE, // until NB 6.0 beta 1 (incl. 5.5 with 6.0 update), form file version 1.4
5454
NB60, // since NB 6.0 beta1, form file version 1.5
5555
NB61, // since NB 6.1 milestone 2, form file version 1.6

java/form/src/org/netbeans/modules/form/I18nService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void update(I18nValue oldValue, I18nValue newValue,
108108
* Provides a visual component (modal dialog) usable as a property
109109
* customizer that allows create a new locale file for given bundle (default
110110
* bundle name provided). The created locale should be written as a string
111-
* (locale suffix) to the given propery editor.
111+
* (locale suffix) to the given property editor.
112112
*/
113113
Component getCreateLocaleComponent(PropertyEditor pe, FileObject srcFile, String bundleName);
114114

java/form/src/org/netbeans/modules/form/ResourceService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public interface ResourceService {
132132
* Provides a visual component (modal dialog) usable as a property
133133
* customizer that allows create a new locale file for default properties
134134
* file belonging to given source file. It writes the created locale as
135-
* a string (locale suffix) to the given propery editor.
135+
* a string (locale suffix) to the given property editor.
136136
* @param prEd a property editor where the component writes the created
137137
* locale suffix
138138
* @param srcFile the source java file whose defining the resources scope

java/i18n.form/src/org/netbeans/modules/i18n/form/I18nServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public int compare(Object o1, Object o2) {
402402
* Provides a visual component (modal dialog) usable as a property
403403
* customizer that allows create a new locale file for given bundle (default
404404
* bundle name provided). The created locale should be written as a string
405-
* (locale suffix) to the given propery editor.
405+
* (locale suffix) to the given property editor.
406406
*/
407407
@Override
408408
public Component getCreateLocaleComponent(final PropertyEditor prEd, FileObject srcFile, String bundleName) {

0 commit comments

Comments
 (0)