| Index: third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| diff --git a/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java b/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| similarity index 82%
|
| rename from third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| rename to third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| index 516c0adf788699752263aa873d59fe910dae8e67..a44286d092b0bd5e85cb28ac09190fafe5bf774b 100644
|
| --- a/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| +++ b/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionRecord.java
|
| @@ -15,9 +15,8 @@ public class FunctionRecord {
|
| final TypeRecord enclosingType;
|
| final FunctionRecord enclosingFunctionRecord;
|
|
|
| - public FunctionRecord(Node functionNode, String name,
|
| - List<String> parameterNames, TypeRecord parentType,
|
| - FunctionRecord enclosingFunctionRecord) {
|
| + public FunctionRecord(Node functionNode, String name, List<String> parameterNames,
|
| + TypeRecord parentType, FunctionRecord enclosingFunctionRecord) {
|
| this.functionNode = functionNode;
|
| this.info = NodeUtil.getBestJSDocInfo(functionNode);
|
| this.name = name;
|
| @@ -57,13 +56,12 @@ public class FunctionRecord {
|
|
|
| public boolean suppressesGlobalPropertiesCheck() {
|
| return info != null
|
| - && info.getOriginalCommentString().contains("@suppressGlobalPropertiesCheck");
|
| + && info.getOriginalCommentString().contains("@suppressGlobalPropertiesCheck");
|
| }
|
|
|
| @Override
|
| public String toString() {
|
| - return (info == null ? "" : info.getOriginalCommentString() + "\n") +
|
| - (name == null ? "<anonymous>" : name) + "() @" +
|
| - functionNode.getLineno();
|
| + return (info == null ? "" : info.getOriginalCommentString() + "\n")
|
| + + (name == null ? "<anonymous>" : name) + "() @" + functionNode.getLineno();
|
| }
|
| }
|
|
|