dbalek commented on code in PR #8206:
URL: https://github.com/apache/netbeans/pull/8206#discussion_r1934242065


##########
ide/parsing.indexing/src/org/netbeans/modules/parsing/spi/indexing/ErrorsCache.java:
##########
@@ -82,6 +94,62 @@ public static interface Convertor<T> {
         public String    getMessage(T t);
     }
 
+    /**Position in a text expressed as 1-based line and character offset.
+     * @since 9.39
+     */
+     public static final class Position {

Review Comment:
   Changed to record.



##########
ide/parsing.indexing/src/org/netbeans/modules/parsing/spi/indexing/ErrorsCache.java:
##########
@@ -82,6 +94,62 @@ public static interface Convertor<T> {
         public String    getMessage(T t);
     }
 
+    /**Position in a text expressed as 1-based line and character offset.
+     * @since 9.39
+     */
+     public static final class Position {
+        private int line;
+        private int column;
+
+        public Position(int line, int column) {
+            this.line = line;
+            this.column = column;
+        }
+
+        public int getLine() {
+            return line;
+        }
+
+        public int getColumn() {
+            return column;
+        }
+    }
+
+    /**Range in a text expressed as (1-based) start and end positions.
+     * @since 9.39
+     */
+    public static final class Range {

Review Comment:
   Changed to record.



-- 
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-unsubscr...@netbeans.apache.org

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


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

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

Reply via email to