Skip to content

Commit e4f42fc

Browse files
author
volker
committed
fix JavaDoc errors
1 parent 581b16c commit e4f42fc

File tree

11 files changed

+31
-44
lines changed

11 files changed

+31
-44
lines changed

src/main/java/com/inet/sass/ScssStylesheet.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,11 @@ private ScssStylesheet() {
6262
*
6363
* @param identifier
6464
* The file path. If null then null is returned.
65-
* @param parentStylesheet
66-
* Style sheet from which to inherit resolvers and encoding. May
67-
* be null.
68-
* @param documentHandler
69-
* Instance of document handler. May not be null.
7065
* @param errorHandler
7166
* Instance of error handler. May not be null.
7267
* @param resolver the used resolver
73-
* @return
74-
* @throws IOException
68+
* @return the loaded ScssStylesheet
69+
* @throws IOException if any i/O error occur
7570
*/
7671
public static ScssStylesheet get( String identifier, SCSSErrorHandler errorHandler, ScssStylesheetResolver resolver ) throws IOException {
7772
SCSSErrorHandler.set( errorHandler );
@@ -203,7 +198,7 @@ public String toString() {
203198

204199
/**
205200
* Traverses a node and its children recursively, calling all the
206-
* appropriate handlers via {@link Node#traverse()}.
201+
* appropriate handlers via {@link Node#traverse}.
207202
*
208203
* The node itself may be removed during the traversal and replaced with
209204
* other nodes at the same position or later on the child list of its

src/main/java/com/inet/sass/parser/Interpolation.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
/**
2525
* Interpolation represents a single instance of interpolation. The string
26-
* representation of an Interpolation object is "#{<expression>}" (without
27-
* quotes) where <expression> is the textual representation of the expression of
26+
* representation of an Interpolation object is "#{&lt;expression&gt;}" (without
27+
* quotes) where &lt;expression&gt; is the textual representation of the expression of
2828
* the interpolation.
2929
*
3030
* An Interpolation object is evaluated by calling replaceInterpolation(). The
@@ -33,9 +33,6 @@
3333
* marks are removed from the result. Variables should be replaced with their
3434
* values and functions and expressions evaluated before calling
3535
* replaceInterpolation().
36-
*
37-
* @author Vaadin
38-
*
3936
*/
4037
public class Interpolation implements SassListItem {
4138
private int lineNumber;

src/main/java/com/inet/sass/parser/LexicalUnitImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
import com.inet.sass.util.ColorUtil;
4040
import com.inet.sass.util.StringUtil;
4141

42-
/**
43-
* @author Philippe Le Hegaret
44-
*
45-
* @modified Sebastian Nyholm @ Vaadin Ltd
46-
*/
4742
public class LexicalUnitImpl implements SCSSLexicalUnit, SassListItem {
4843

4944
public static final long PRECISION = 100000L;

src/main/java/com/inet/sass/parser/SCSSLexicalUnit.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ public interface SCSSLexicalUnit {
4747
*/
4848
public static final short SAC_OPERATOR_EXP = 6;
4949
/**
50-
* <
50+
* &lt;
5151
*/
5252
public static final short SAC_OPERATOR_LT = 7;
5353
/**
54-
* >
54+
* &gt;
5555
*/
5656
public static final short SAC_OPERATOR_GT = 8;
5757
/**
58-
* <=
58+
* &lt;=
5959
*/
6060
public static final short SAC_OPERATOR_LE = 9;
6161
/**
62-
* >=
62+
* &gt;=
6363
*/
6464
public static final short SAC_OPERATOR_GE = 10;
6565
/**
@@ -73,7 +73,7 @@ public interface SCSSLexicalUnit {
7373
public static final short SAC_INHERIT = 12;
7474
/**
7575
* Integers.
76-
* @see #getIntegerValue
76+
* @see LexicalUnitImpl#getIntegerValue
7777
*/
7878
public static final short SAC_INTEGER = 13;
7979
/**
@@ -118,7 +118,7 @@ public interface SCSSLexicalUnit {
118118
public static final short SAC_PERCENTAGE = 23;
119119
/**
120120
* URI: <code>uri(...)</code>.
121-
* @see #getStringValue
121+
* @see LexicalUnitImpl#getStringValue
122122
*/
123123
public static final short SAC_URI = 24;
124124
/**
@@ -173,21 +173,21 @@ public interface SCSSLexicalUnit {
173173

174174
/**
175175
* function <code>rect</code>.
176-
* @see #getFunctionName
177-
* @see #getParameters
176+
* @see LexicalUnitImpl#getFunctionName
177+
* @see LexicalUnitImpl#getParameterList
178178
*/
179179
public static final short SAC_RECT_FUNCTION = 38;
180180

181181
/**
182182
* sub expressions <code>(a)</code> <code>(a + b)</code> <code>(normal/none)</code>
183-
* @see #getSubValues
183+
* @see LexicalUnitImpl#getParameterList
184184
*/
185185
public static final short SAC_SUB_EXPRESSION = 40;
186186

187187
/**
188188
* unknown function.
189-
* @see #getFunctionName
190-
* @see #getParameters
189+
* @see LexicalUnitImpl#getFunctionName
190+
* @see LexicalUnitImpl#getParameterList
191191
*/
192192
public static final short SAC_FUNCTION = 41;
193193
/**
@@ -211,7 +211,7 @@ public interface SCSSLexicalUnit {
211211
static final short SCSS_INTERPOLATION = 112;
212212

213213
/**
214-
* "&" placeholder for the parent selector reference
214+
* "&amp;" placeholder for the parent selector reference
215215
*/
216216
static final short SCSS_PARENT = 113;
217217

src/main/java/com/inet/sass/parser/SassExpression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private boolean containsInterpolation(SassListItem item) {
194194
* A list.
195195
* @param startIndex
196196
* The first index included in the search.
197-
* @return The smallest index i such that i >= startIndex && list.get(i)
197+
* @return The smallest index i such that i &lt;= startIndex &amp;&amp; list.get(i)
198198
* does not represent whitespace. If no such index exists, returns
199199
* list.size().
200200
*/

src/main/java/com/inet/sass/selector/ParentSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import com.inet.sass.parser.StringInterpolationSequence;
2121

2222
/**
23-
* Single SCSS parent selector "&".
23+
* Single SCSS parent selector "&amp;".
2424
*
2525
* The parent selector is not passed to CSS as-is but is replaced with the
2626
* selectors from the parent block in the case of nested blocks.

src/main/java/com/inet/sass/selector/Selector.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public Selector(SimpleSelectorSequence simple) {
6767
}
6868

6969
/**
70-
* Selector with a leading combinator ("> foo")
70+
* Selector with a leading combinator ("&gt; foo")
7171
*/
7272
public Selector(Combinator comb, SimpleSelectorSequence simpl) {
7373
parts.add(comb);
@@ -163,13 +163,13 @@ public boolean subsumes(Selector that) {
163163

164164
/**
165165
* Combine a parent selector with this selector, replacing parent reference
166-
* selectors (&-selector) in this with replacement if any and return the
166+
* selectors (&amp;-selector) in this with replacement if any and return the
167167
* modified copy of this. If there are no parent reference selectors, simply
168168
* concatenates the parent selector and this with the DESCENDANT
169169
* relationship.
170170
*
171171
* @param replacement
172-
* replacement selector, or null in which case & is just removed
172+
* replacement selector, or null in which case &amp; is just removed
173173
* @return modified copy of this with parent selector prepended or
174174
* substituted for the parent reference selector
175175
*/

src/main/java/com/inet/sass/selector/SimpleSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* Simple CSS3 selector such as an id selector or an attribute selector.
2323
*
2424
* {@link SimpleSelector} instances are immutable and
25-
* {@link #replaceVariables()} returns a modified copy of the selector if
25+
* {@link #replaceVariables(ScssContext)} returns a modified copy of the selector if
2626
* necessary.
2727
*
2828
* Multiple concatenated simple selectors are grouped in

src/main/java/com/inet/sass/tree/MixinDefNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public String toString() {
4949
*
5050
* @param context context with variables of the caller scope where it is defined
5151
* @param mixinNode
52-
* @return
5352
*/
5453
public void replaceContentDirective( ScssContext context, MixinNode mixinNode) {
5554
findAndReplaceContentNodeInChildren( context, this, mixinNode);

src/main/java/com/inet/sass/visitor/BlockNodeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import com.inet.sass.selector.Selector;
2828
import com.inet.sass.tree.BlockNode;
2929
import com.inet.sass.tree.MediaNode;
30+
import com.inet.sass.tree.NestPropertiesNode;
3031
import com.inet.sass.tree.Node;
3132

3233
/**
@@ -45,7 +46,7 @@
4546
* }
4647
* </pre>
4748
*
48-
* Note that nested properties are handled by {@link NestedNodeHandler}, not
49+
* Note that nested properties are handled by {@link NestPropertiesNode}, not
4950
* here.
5051
*/
5152
public class BlockNodeHandler {

0 commit comments

Comments
 (0)