Skip to content

Commit a205d05

Browse files
committed
array is never null but can be empty -> do the right test
1 parent 1e21b1b commit a205d05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org/w3c/css/parser/analyzer/CssParser.jj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ ArrayList<CssProperty> pageContent() :
12811281
}
12821282
}
12831283
)* {
1284-
if ( allv == null ) {
1284+
if ( allv.isEmpty() ) {
12851285
if (!gotContent) ac.getFrame().addWarning("no-declaration");
12861286
} else {
12871287
addProperty(allv);

0 commit comments

Comments
 (0)