lkishalmi commented on code in PR #9112:
URL: https://github.com/apache/netbeans/pull/9112#discussion_r2650140130


##########
extide/gradle/src/org/netbeans/modules/gradle/api/BuildPropertiesSupport.java:
##########
@@ -255,22 +255,7 @@ public enum PropertyKind {
     /**
      * Describes a property and its value.
      */
-    public static final class Property {
-        private final Object id;
-        private final String scope;
-        private final PropertyKind kind;
-        private final String type;
-        private final String value;
-        private final String name;
-
-        public Property(Object id, String scope, String propertyName, 
PropertyKind kind, String type, String value) {
-            this.id = id;
-            this.scope = scope;
-            this.kind = kind;
-            this.type = type;
-            this.value = value;
-            this.name = propertyName;
-        }
+    public static final record Property(Object id, String scope, String name, 
PropertyKind kind, String type, String value) {

Review Comment:
   Oh. I left that change unintentionally there. I just needed a quick and good 
`toString()` method for debugging.
   
   Well, if it made there let's keep that, I'll just remove the `static final` 
in the upcoming commit.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to