Skip to content

Commit b5a7797

Browse files
Fix formatting and comments in AdministrativeMonitor
1 parent 9440225 commit b5a7797

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

core/src/main/java/hudson/model/AdministrativeMonitor.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public abstract class AdministrativeMonitor extends AbstractModelObject implemen
9595

9696
/**
9797
* Human-readable ID of this monitor, which needs to be unique within the system.
98+
*
9899
* <p>
99100
* This ID is used to remember persisted setting for this monitor,
100101
* so the ID should remain consistent beyond the Hudson JVM lifespan.
@@ -145,7 +146,7 @@ public void disable(boolean value) throws IOException {
145146
* Returns true if this monitor {@link #disable(boolean) isn't disabled} earlier.
146147
*
147148
* <p>
148-
* This flag implements the ability for the admin to say "no thank you" to the monitor that
149+
* This flag implements the ability for the admin to say "no thank you" to the monitor that
149150
* he wants to ignore.
150151
*/
151152
public boolean isEnabled() {
@@ -306,10 +307,10 @@ public void doSnooze(StaplerRequest2 req, StaplerResponse2 rsp) throws IOExcepti
306307
* override {@link #checkRequiredPermission()} and {@link #hasRequiredPermission()} instead.
307308
* </p>
308309
* <p>
309-
* Implementers need to ensure that {@code doAct} and other web methods perform necessary permission checks:
310-
* Users with System Read permissions are expected to be limited to read-only access.
311-
* Form UI elements that change system state, e.g. toggling a feature on or off, need to be hidden from users
312-
* lacking Administer permission.
310+
* Implementers need to ensure that {@code doAct} and other web methods perform necessary permission checks:
311+
* Users with System Read permissions are expected to be limited to read-only access.
312+
* Form UI elements that change system state, e.g. toggling a feature on or off, need to be hidden from users
313+
* lacking Administer permission.
313314
* </p>
314315
*
315316
* @since 2.233

0 commit comments

Comments
 (0)