You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2023/03/01 14:13:48 UTC

[GitHub] [netbeans] mbien commented on a diff in pull request #5583: Typo correction

mbien commented on code in PR #5583:
URL: https://github.com/apache/netbeans/pull/5583#discussion_r1121785605


##########
java/java.navigation/src/org/netbeans/modules/java/navigation/ElementNode.java:
##########
@@ -309,7 +309,7 @@ public void updateRecursively( Description newDescription ) {
         }
     }
     
-    public Description getDescritption() {
+    public Description getDescription() {

Review Comment:
   note to self: checked and `java.navigation` does not export this package (or any other package). `Description` itself is package private interestingly.
   
   @matthiasblaesing can we make this method package private?



##########
platform/o.n.core/src/org/netbeans/core/ui/SwingBrowser.java:
##########
@@ -51,7 +51,7 @@ private void init () {
     /** Getter for browser name
      *  @return browserName name of browser
      */
-    public String getDescritpion () {
+    public String getDescription () {

Review Comment:
   note to self: we are lucky here too, package not exported.



##########
java/refactoring.java/src/org/netbeans/modules/refactoring/java/ui/elements/ElementNode.java:
##########
@@ -219,7 +219,7 @@ public void selectionChanged() {
         fireIconChange(); // TODO: Strange
     }
 
-    public Description getDescritption() {
+    public Description getDescription() {

Review Comment:
   note to self: similar here, package is not exported. However the difference is that `Description` is public.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
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