Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Allow @OverRide* annotations to use /**, like in JsDoc.
Browse files Browse the repository at this point in the history
Including the one I forgot in CL 129239548

This is a rollforward.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=129287698
  • Loading branch information
SLaks authored and iflan committed Aug 30, 2016
1 parent 4b24452 commit 7f70cee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ public final class CheckMissingRequire extends DefaultTreeVisitor implements Css
private static final Logger logger = Logger.getLogger(CheckMissingRequire.class.getName());

private static final Pattern OVERRIDE_SELECTOR_REGEX = Pattern.compile(
"/\\*\\s+@overrideSelector\\s+\\{(.*)\\}\\s+\\*/");
"/\\*\\*?\\s+@overrideSelector\\s+\\{(.*)\\}\\s+\\*/");

private static final Pattern OVERRIDE_DEF_REGEX = Pattern.compile(
"/\\*\\s+@overrideDef\\s+\\{(.*)\\}\\s+\\*/");
"/\\*\\*?\\s+@overrideDef\\s+\\{(.*)\\}\\s+\\*/");

private final VisitController visitController;
private final ErrorManager errorManager;
Expand Down

0 comments on commit 7f70cee

Please sign in to comment.