jtulach commented on code in PR #6639:
URL: https://github.com/apache/netbeans/pull/6639#discussion_r4344545910


##########
platform/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/fileobjects/HardLockRegistry.java:
##########
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.masterfs.filebasedfs.fileobjects;
+
+import java.io.File;
+import java.io.IOException;
+import org.openide.util.Lookup;
+
+/** A pluggable hard lock handler. */

Review Comment:
   Add a link to 
https://github.com/apache/netbeans/pull/6639/changes#r4344525386 - e.g. 
something like:
   
   ```html
   <a href="@TOP@/architecture-summary.html#disable-.lck-files">
   ```
   



##########
platform/masterfs/apichanges.xml:
##########
@@ -19,12 +19,24 @@
     under the License.
 
 -->
-<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" 
"../../nbbuild/javadoctools/apichanges.dtd">
+<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.1//EN" 
"../../nbbuild/javadoctools/apichanges-1.1.dtd">
 <apichanges>
     <apidefs>
         <apidef name="masterfs">MasterFileSystem API</apidef>
     </apidefs>
     <changes>
+        <change id="disable.hard.locks">
+            <api name="masterfs"/>
+            <summary>Split image handling into UI module</summary>

Review Comment:
   "Split image handling into UI  module?" - probably copy and paste error. Try 
to generate `ant javadoc` and then read thru the generated pages.



##########
platform/masterfs/arch.xml:
##########
@@ -112,6 +112,13 @@ cases. FileObjects erlier returned from 
<code>URLMapper</code> or
 <code>CvsFileSystem</code> will be now provided by 
<code>MasterFileSystem</code>. 
 There will be guaranteed that there won't be more instances of FileObject 
 addressing one <code>java.ioFile</code>.
+<api name="Disable .LCK files" group="lookup" type="export" category="devel">

Review Comment:
   Short, but exactly to the point. Thanks. This entry generates a stable `<a 
name` reference. I suggest to link to it from various places.



##########
platform/masterfs/apichanges.xml:
##########
@@ -19,12 +19,24 @@
     under the License.
 
 -->
-<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" 
"../../nbbuild/javadoctools/apichanges.dtd">
+<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.1//EN" 
"../../nbbuild/javadoctools/apichanges-1.1.dtd">
 <apichanges>
     <apidefs>
         <apidef name="masterfs">MasterFileSystem API</apidef>
     </apidefs>
     <changes>
+        <change id="disable.hard.locks">
+            <api name="masterfs"/>
+            <summary>Split image handling into UI module</summary>
+            <version major="2" minor="91"/>
+            <date day="26" month="10" year="2026"/>
+            <author login="jlahoda"/>
+            <compatibility binary="compatible" source="compatible" 
deletion="no"/>
+            <description>
+                Adding an ability to disable hard-locks using files on the 
file system.

Review Comment:
   Add a link to the "a name" reference to 
https://github.com/apache/netbeans/pull/6639/changes#r4344525386 - it would be 
something like:
   
   ```html
   <a href="@TOP@/architecture-summary.html#disable-.lck-files">
   ```



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