You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/09/04 16:04:37 UTC

[GitHub] matthiasblaesing closed pull request #836: Correct various misspellings of the word 'success'.

matthiasblaesing closed pull request #836: Correct various misspellings of the word 'success'.
URL: https://github.com/apache/incubator-netbeans/pull/836
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java b/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
index 05a14c22d9..0744a5716c 100644
--- a/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
+++ b/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
@@ -271,7 +271,7 @@ private void checkSupportForMultipleResultSets(Connection conn) {
      * @param table
      * @param insertSQLs
      * @param insertedRows
-     * @return count of sucessfully inserted rows
+     * @return count of successfully inserted rows
      */
     int executeInsertRow(final DataViewPageContext pageContext,
             final DBTable table,
@@ -417,7 +417,7 @@ public void finished() {
             }
 
             @Override
-            protected void executeOnSucess() {
+            protected void executeOnSuccess() {
                 SQLExecutionHelper.this.executeQuery();
             }
         };
@@ -510,7 +510,7 @@ public void finished() {
             }
 
             @Override
-            protected void executeOnSucess() {
+            protected void executeOnSuccess() {
                 dataView.getSQLExecutionHelper().executeQuery();
                 Mutex.EVENT.writeAccess(new Runnable() {
                     @Override
@@ -560,7 +560,7 @@ public void finished() {
             }
 
             @Override
-            protected void executeOnSucess() {
+            protected void executeOnSuccess() {
                 pageContext.first();
                 SQLExecutionHelper.this.executeQuery();
             }
diff --git a/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLStatementExecutor.java b/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLStatementExecutor.java
index 07751cfef5..21cade01fb 100644
--- a/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLStatementExecutor.java
+++ b/ide/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLStatementExecutor.java
@@ -122,7 +122,7 @@ public boolean cancel() {
 
     protected abstract void execute() throws SQLException, DBException;
 
-    protected void executeOnSucess() {}
+    protected void executeOnSuccess() {}
 
     protected void reinstateToolbar() {
         // reinstate the toolbar
@@ -137,7 +137,7 @@ protected void commitOrRollback(String cmdName) {
             String execTimeStr = SQLExecutionHelper.millisecondsToSeconds(executionTime);
             String infoMsg = cmdName + " " + NbBundle.getMessage(SQLStatementExecutor.class, "MSG_execution_success", execTimeStr);
             dataView.setInfoStatusText(infoMsg);
-            executeOnSucess(); // delegate 
+            executeOnSuccess(); // delegate 
         } else {
             rollback(conn);
             reinstateToolbar();
diff --git a/ide/dlight.nativeexecution/test/unit/src/org/netbeans/modules/nativeexecution/test/NativeExecutionBaseTestCase.java b/ide/dlight.nativeexecution/test/unit/src/org/netbeans/modules/nativeexecution/test/NativeExecutionBaseTestCase.java
index 1550c9b8de..c0fe1200a4 100644
--- a/ide/dlight.nativeexecution/test/unit/src/org/netbeans/modules/nativeexecution/test/NativeExecutionBaseTestCase.java
+++ b/ide/dlight.nativeexecution/test/unit/src/org/netbeans/modules/nativeexecution/test/NativeExecutionBaseTestCase.java
@@ -613,7 +613,7 @@ public static String readFile(FileObject fo) throws IOException {
     /**
      * Removes directory recursively
      * @param dir directory  to remove
-     * @return true in the case the directory was removed sucessfully, otherwise false
+     * @return true in the case the directory was removed successfully, otherwise false
      */
     public static boolean removeDirectory(File dir) {
         return removeDirectory(dir, true);
@@ -622,7 +622,7 @@ public static boolean removeDirectory(File dir) {
     /**
      * Removes directory content (recursively)
      * @param dir directory  to remove
-     * @return true in the case the directory content was removed sucessfully, otherwise false
+     * @return true in the case the directory content was removed successfully, otherwise false
      */
     public static boolean removeDirectoryContent(File dir) {
         return removeDirectory(dir, false);
@@ -631,7 +631,7 @@ public static boolean removeDirectoryContent(File dir) {
     /**
      * Removes directory recursively
      * @param dir directory  to remove
-     * @return true in the case the directory was removed sucessfully, otherwise false
+     * @return true in the case the directory was removed successfully, otherwise false
      */
     private static boolean removeDirectory(File dir, boolean removeItself) {
         boolean success = true;
diff --git a/ide/docker.ui/src/org/netbeans/modules/docker/ui/wizard/DockerConnectionPanel.java b/ide/docker.ui/src/org/netbeans/modules/docker/ui/wizard/DockerConnectionPanel.java
index b3ae57baa1..16ba728db2 100644
--- a/ide/docker.ui/src/org/netbeans/modules/docker/ui/wizard/DockerConnectionPanel.java
+++ b/ide/docker.ui/src/org/netbeans/modules/docker/ui/wizard/DockerConnectionPanel.java
@@ -41,7 +41,7 @@
 import org.openide.util.Utilities;
 
 @NbBundle.Messages({
-    "MSG_ConnectionPassed=Connection sucessfull.",
+    "MSG_ConnectionPassed=Connection successful.",
     "MSG_CannotConnect=Cannot establish connection.",
     "MSG_InaccessibleSocket=Socket is not accessible."
 })
diff --git a/ide/project.libraries.ui/src/org/netbeans/api/project/libraries/LibrariesCustomizer.java b/ide/project.libraries.ui/src/org/netbeans/api/project/libraries/LibrariesCustomizer.java
index 11801bf71c..b1de9e1568 100644
--- a/ide/project.libraries.ui/src/org/netbeans/api/project/libraries/LibrariesCustomizer.java
+++ b/ide/project.libraries.ui/src/org/netbeans/api/project/libraries/LibrariesCustomizer.java
@@ -42,7 +42,7 @@ private LibrariesCustomizer () {
     /**
      * Shows libraries customizer for given library manager.
      * @param activeLibrary if not null the activeLibrary is selected in the opened customizer
-     * @return true if user pressed OK and libraries were sucessfully modified
+     * @return true if user pressed OK and libraries were successfully modified
      */
     @Messages("TXT_LibrariesManager=Ant Library Manager")
     public static boolean showCustomizer (Library activeLibrary, LibraryManager libraryManager) {
@@ -71,7 +71,7 @@ public static boolean showCustomizer (Library activeLibrary, LibraryManager libr
     /**
      * Shows libraries customizer for global libraries.
      * @param activeLibrary if not null the activeLibrary is selected in the opened customizer
-     * @return true if user pressed OK and libraries were sucessfully modified
+     * @return true if user pressed OK and libraries were successfully modified
      */
     public static boolean showCustomizer (Library activeLibrary) {
         return showCustomizer(activeLibrary, LibraryManager.getDefault());
diff --git a/ide/project.libraries.ui/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizerAction.java b/ide/project.libraries.ui/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizerAction.java
index 299df607e9..5945efeac8 100644
--- a/ide/project.libraries.ui/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizerAction.java
+++ b/ide/project.libraries.ui/src/org/netbeans/modules/project/libraries/ui/LibrariesCustomizerAction.java
@@ -41,7 +41,7 @@
 
     /**
      * Shows libraries customizer displaying all currently open library managers.
-     * @return true if user pressed OK and libraries were sucessfully modified
+     * @return true if user pressed OK and libraries were successfully modified
      */
     @Messages("TXT_LibrariesManager=Ant Library Manager")
     private static boolean showCustomizer () {
diff --git a/ide/subversion/src/org/netbeans/modules/subversion/ui/wizards/CheckoutWizard.java b/ide/subversion/src/org/netbeans/modules/subversion/ui/wizards/CheckoutWizard.java
index 24f4e309e9..a8209e230c 100644
--- a/ide/subversion/src/org/netbeans/modules/subversion/ui/wizards/CheckoutWizard.java
+++ b/ide/subversion/src/org/netbeans/modules/subversion/ui/wizards/CheckoutWizard.java
@@ -75,7 +75,7 @@ public boolean show() {
         return finnished;
     }
     
-    /** Called on sucessfull finish. */
+    /** Called on successful finish. */
     private void onFinished() {
         String checkout = checkoutStep.getWorkdir().getPath();
         SvnModuleConfig.getDefault().getPreferences().put(CheckoutStep.CHECKOUT_DIRECTORY, checkout);
diff --git a/ide/xml.catalog/src/org/netbeans/modules/xml/catalog/impl/sun/Bundle.properties b/ide/xml.catalog/src/org/netbeans/modules/xml/catalog/impl/sun/Bundle.properties
index 4baa27e666..24b2422760 100644
--- a/ide/xml.catalog/src/org/netbeans/modules/xml/catalog/impl/sun/Bundle.properties
+++ b/ide/xml.catalog/src/org/netbeans/modules/xml/catalog/impl/sun/Bundle.properties
@@ -23,6 +23,6 @@ PROP_missing_location=Resolver (no URL)
 
 #{0} exception message
 DESC_error_loading=Error: {0}
-DESC_loaded=Sucessfully loaded and active.
+DESC_loaded=Successfully loaded and active.
 
 #\u000A## Catalog.java\u000A\u000A#{0} is a catalog location
diff --git a/ide/xml.text/src/org/netbeans/modules/xml/text/completion/XMLResultItem.java b/ide/xml.text/src/org/netbeans/modules/xml/text/completion/XMLResultItem.java
index 297a4bf343..bd27a08335 100644
--- a/ide/xml.text/src/org/netbeans/modules/xml/text/completion/XMLResultItem.java
+++ b/ide/xml.text/src/org/netbeans/modules/xml/text/completion/XMLResultItem.java
@@ -209,7 +209,7 @@ boolean replaceText( JTextComponent component, final String replaceToText, int o
             //reformat the line
             //((ExtFormatter)doc.getFormatter()).reformat(doc, Utilities.getRowStart(doc, offset), offset+text.length(), true);
         } catch (BadLocationException exc) {
-            return false;    //not sucessfull
+            return false;    //not successful
             // } catch (IOException e) {
             //     return false;
         } finally {
diff --git a/j2ee.weblogic9/src/org/netbeans/modules/j2ee/weblogic9/deploy/WLIncrementalDeployment.java b/j2ee.weblogic9/src/org/netbeans/modules/j2ee/weblogic9/deploy/WLIncrementalDeployment.java
index 26d02a4479..6fef074962 100644
--- a/j2ee.weblogic9/src/org/netbeans/modules/j2ee/weblogic9/deploy/WLIncrementalDeployment.java
+++ b/j2ee.weblogic9/src/org/netbeans/modules/j2ee/weblogic9/deploy/WLIncrementalDeployment.java
@@ -278,7 +278,7 @@ public void run() {
                             NbBundle.getMessage(CommandBasedDeployer.class, "MSG_Redeploying", module.getModuleID())));
 // DISABLED SINCE 7.1.1 see #206798
 //                    if (deployFastSwap(module)) {
-//                        LOGGER.log(Level.FINE, "Fast swap sucessfull");
+//                        LOGGER.log(Level.FINE, "Fast swap successful");
 //                        progress.fireProgressEvent(null, new WLDeploymentStatus(
 //                                ActionType.EXECUTE, CommandType.REDEPLOY, StateType.COMPLETED,
 //                                NbBundle.getMessage(CommandBasedDeployer.class, "MSG_Redeployment_Completed")));
diff --git a/java/form/src/org/netbeans/modules/form/FormUtils.java b/java/form/src/org/netbeans/modules/form/FormUtils.java
index 860fdbc243..98e15a9fad 100644
--- a/java/form/src/org/netbeans/modules/form/FormUtils.java
+++ b/java/form/src/org/netbeans/modules/form/FormUtils.java
@@ -795,7 +795,7 @@ private static void fixUnserializedJComponent(JComponent comp) {
 
     /**
      * Special object added to JComponent's client properties to track whether
-     * the client properties were sucessfully serialized (or at least started).
+     * the client properties were successfully serialized (or at least started).
      */
     private static class SerializationMarker implements Serializable {
         private static final Object KEY = new Object();
diff --git a/java/form/src/org/netbeans/modules/form/wizard/ConnectionWizard.java b/java/form/src/org/netbeans/modules/form/wizard/ConnectionWizard.java
index 6e2e3a5633..a8284936b2 100644
--- a/java/form/src/org/netbeans/modules/form/wizard/ConnectionWizard.java
+++ b/java/form/src/org/netbeans/modules/form/wizard/ConnectionWizard.java
@@ -40,7 +40,7 @@
 
     ConnectionIterator iterator;
 
-    private boolean finished = false;  // whether the wizard was finished sucessfully
+    private boolean finished = false;  // whether the wizard was finished successfully
 
     private Event selEvent;         // selected activating event
     private String eventName;       // selected event handler name
diff --git a/java/maven/src/org/netbeans/modules/maven/api/execute/LateBoundPrerequisitesChecker.java b/java/maven/src/org/netbeans/modules/maven/api/execute/LateBoundPrerequisitesChecker.java
index a3062c6812..e095db85f8 100644
--- a/java/maven/src/org/netbeans/modules/maven/api/execute/LateBoundPrerequisitesChecker.java
+++ b/java/maven/src/org/netbeans/modules/maven/api/execute/LateBoundPrerequisitesChecker.java
@@ -20,7 +20,7 @@
 package org.netbeans.modules.maven.api.execute;
 
 /**
- * check wheather the given runConfig has a chance to be sucessful or needs corrective measure.
+ * check wheather the given runConfig has a chance to be successful or needs corrective measure.
  * Alternatively can be used for post processing of the RunConfig before it gets
  * executed.
  * Similar to PrerequisitesChecker but this one is called late in the game and
diff --git a/java/maven/src/org/netbeans/modules/maven/api/execute/PrerequisitesChecker.java b/java/maven/src/org/netbeans/modules/maven/api/execute/PrerequisitesChecker.java
index 658a42daeb..224131bf7a 100644
--- a/java/maven/src/org/netbeans/modules/maven/api/execute/PrerequisitesChecker.java
+++ b/java/maven/src/org/netbeans/modules/maven/api/execute/PrerequisitesChecker.java
@@ -20,7 +20,7 @@
 package org.netbeans.modules.maven.api.execute;
 
 /**
- * check wheather the given runConfig has a chance to be sucessful or needs corrective measure.
+ * check wheather the given runConfig has a chance to be successful or needs corrective measure.
  * Usecase would be the netbeans-run-plugin which requires a netbeans-public profile with a
  * jar and assembly configurations..
  * Similar to LateBoundPrerequisitesChecker but this one is called only once per action invokation.
diff --git a/performance.scripting/test/qa-functional/data/PhpPerfTest/readme.html b/performance.scripting/test/qa-functional/data/PhpPerfTest/readme.html
index 9c0332cd22..7ec6ad031a 100644
--- a/performance.scripting/test/qa-functional/data/PhpPerfTest/readme.html
+++ b/performance.scripting/test/qa-functional/data/PhpPerfTest/readme.html
@@ -81,7 +81,7 @@ <h2 id="getting_started">Getting Started</h2>
                                     The script creates tables and fills them with sample data.</li>
                                 </ol>
                             </li>
-                            <li>Then we set project preperties to deploy project sucessfully to PHP document directory:
+                            <li>Then we set project properties to deploy project successfully to PHP document directory:
                                 <ol type="a">
                                     <li>Right-click on the <code>AirAlliance</code> project node and select <code>Properties</code>.</li>
                                     <li>Check the option <code>Copy files from Sources Folder to another location</code>.</li>
diff --git a/php/php.editor/test/unit/data/testfiles/sanitize/sanitize145494.php b/php/php.editor/test/unit/data/testfiles/sanitize/sanitize145494.php
index 67a9147ea5..ed848fe292 100644
--- a/php/php.editor/test/unit/data/testfiles/sanitize/sanitize145494.php
+++ b/php/php.editor/test/unit/data/testfiles/sanitize/sanitize145494.php
@@ -655,8 +655,8 @@ protected function onManageFinalPass(&$pass, &$values) {
             }
         }
 
-        protected function onCollectSucessHeaderVars(&$headerVars) {
-            parent::onCollectSucessHeaderVars($headerVars);
+        protected function onCollectSuccessHeaderVars(&$headerVars) {
+            parent::onCollectSuccessHeaderVars($headerVars);
 
             if ($this->getExtender("step")->isFinaling()) {
                 $headerVars['wizardForm'][self::FINISHED] = true;
diff --git a/platform/openide.explorer/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java b/platform/openide.explorer/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java
index 4422e7d249..05cdf58566 100644
--- a/platform/openide.explorer/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java
+++ b/platform/openide.explorer/test/unit/src/org/openide/explorer/propertysheet/PropertySheetTest.java
@@ -114,7 +114,7 @@ public void run() {
                     Thread.sleep(1000);
                 } else break;
             }
-            // Test if the initialization was sucessfull
+            // Test if the initialization was successfull
             
             initEditorValue = te.getAsText();
             LOG.info("Got initial editor value " + initEditorValue);
@@ -151,7 +151,7 @@ public void run() {
                 }
             });
             
-            // Test if the reinitialization was sucessfull
+            // Test if the reinitialization was successfull
             postChangeEditorValue = te.getAsText();
             LOG.info("postEditorChangeValue = " + postChangeEditorValue);
         } finally {
diff --git a/platform/openide.windows/src/org/openide/windows/CloneableOpenSupport.java b/platform/openide.windows/src/org/openide/windows/CloneableOpenSupport.java
index 250ed94247..a5931892b5 100644
--- a/platform/openide.windows/src/org/openide/windows/CloneableOpenSupport.java
+++ b/platform/openide.windows/src/org/openide/windows/CloneableOpenSupport.java
@@ -378,7 +378,7 @@ public void vetoableChange(PropertyChangeEvent ev)
                     CloneableOpenSupport os = support();
 
                     if ((os != null) && !os.canClose()) {
-                        // is modified and has not been sucessfully closed
+                        // is modified and has not been successfully closed
                         throw new PropertyVetoException(
                         // [PENDING] this is not a very good detail message!
                         "", ev // NOI18N


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists