Issue #1627: Update 'Example of Usage' sections in xdocs
This commit is contained in:
parent
afbb944fe2
commit
986b2c664b
|
|
@ -115,7 +115,7 @@ switch (a)
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L134">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L136">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -217,7 +217,7 @@ switch (a)
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L135">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L137">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -488,7 +488,7 @@ try {
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L136">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L138">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -618,7 +618,7 @@ switch (num) {
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L137">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L139">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -740,7 +740,7 @@ switch (num) {
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L138">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L140">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ String b = (a==null || a.length<1) ? null : a.substring(1);
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L143">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L145">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -484,7 +484,7 @@ String nullString = null;
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L144">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L146">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -978,7 +978,7 @@ class SomeClass
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L145">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L147">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1146,7 +1146,7 @@ class SomeClass
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L146">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L148">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1598,7 +1598,7 @@ while ((line = bufferedReader.readLine()) != null) {
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L147">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L149">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1808,7 +1808,7 @@ class MyClass {
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L148">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L150">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1902,7 +1902,7 @@ class MyClass {
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L149">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L151">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -2919,7 +2919,7 @@ public void foo(int i, String s) {}
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L150">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L152">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -2980,7 +2980,7 @@ return !valid();
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L151">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L153">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ public abstract class Plant {
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L155">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L157">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -180,7 +180,7 @@ public abstract class Plant {
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L156">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L158">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -250,7 +250,7 @@ public class StringUtils // not final to allow subclassing
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L157">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L159">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -366,7 +366,7 @@ public class StringUtils // not final to allow subclassing
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L158">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L160">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -915,7 +915,7 @@ class SomeClass
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L159">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L161">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L163">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L165">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -876,7 +876,7 @@ String unitAbbrev = "\u03bc\u03bc\u03bc";
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L164">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L166">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1234,7 +1234,7 @@ void foo(String aFooString,
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L165">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L167">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1688,7 +1688,7 @@ messages.properties: Key 'ok' missing.
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L166">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L168">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L129">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L130">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -257,7 +257,7 @@
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L130">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L132">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L110">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L112">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -550,7 +550,7 @@
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L111">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L113">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -736,7 +736,7 @@ public void needsLotsOfParameters(int a, int b, int c, int d, int e, int f, int
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L112">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L114">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ for (Iterator foo = very.long.line.iterator();
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L116">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L118">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -466,7 +466,7 @@ sort(list, Comparable::<String>compareTo); // Method reference
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L117">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L119">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -591,7 +591,7 @@ sort(list, Comparable::<String>compareTo); // Method reference
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L118">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L120">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -833,7 +833,7 @@ import com.puppycrawl.tools.checkstyle.api.Check;
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L119">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L121">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -929,7 +929,7 @@ import com.puppycrawl.tools.checkstyle.api.Check;
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L120">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L122">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1071,7 +1071,7 @@ import com.puppycrawl.tools.checkstyle.api.Check;
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L121">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L123">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1239,7 +1239,7 @@ import com.puppycrawl.tools.checkstyle.api.Check;
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L122">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L124">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1429,7 +1429,7 @@ foo(i,
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L123">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L125">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1514,7 +1514,7 @@ foo(i,
|
|||
<subsection name="Example of Usage">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L124">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L126">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1743,7 +1743,7 @@ public @interface Beta {} // empty annotation type
|
|||
Google Style</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L125">
|
||||
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml#L127">
|
||||
Sun Style</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue