Skip to content

Commit 90fac9b

Browse files
committed
API Doc
1 parent db61c7b commit 90fac9b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/com/inet/lib/less/Operation.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ static double unitFactor( String leftUnit, String rightUnit, boolean fail ) {
305305
return 1;
306306
}
307307

308+
/**
309+
* {@inheritDoc}
310+
*/
308311
@Override
309312
public double doubleValue( CssFormatter formatter ) {
310313
Expression leftOp = operands.get( 0 );
@@ -611,6 +614,12 @@ public String toString() {
611614
return builder.toString();
612615
}
613616

617+
/**
618+
* The level of the operation. This is used to detect if the left or right operator has the higher level.
619+
*
620+
* @param operator the operator to test
621+
* @return an abstract level, the higher the more significant
622+
*/
614623
static int level( char operator ) {
615624
switch( operator ) {
616625
case ',':

src/com/inet/lib/less/Rule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ List<Rule> getMixin( String name ) {
458458

459459
/**
460460
* String only for debugging.
461+
*
462+
* @return the debug info
461463
*/
462464
@Override
463465
public String toString() {

0 commit comments

Comments
 (0)