File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
|
Method name: void Extension(String, String, String, String, String, String, String)
|
|
Method name: void Specification(String, String, String, String, String, String, String[])
|
Number of AST nodes: 6
|
|
Number of AST nodes: 6
|
|
1 | this.specificationVendor = specificationVendor;↵ | | 1 | this.specificationVendor = specificationVendor;↵
|
|
2 | if (null != specificationVersion) {↵ | | 2 | if (null != specificationVersion) {↵
|
3 | try {↵ | | 3 | try {↵
|
4 | this.specificationVersion↵ | | 4 | this.specificationVersion↵
|
5 | = new DeweyDecimal(specificationVersion);↵ | | 5 | = new DeweyDecimal(specificationVersion);↵
|
6 | } catch (final NumberFormatException nfe) {↵ | | 6 | } catch (final NumberFormatException nfe) {↵
|
7 | final String error = "Bad specification version format '"↵ | | 7 | final String error = "Bad specification version format '"↵
|
8 | + specificationVersion + "' in '" + extensionName↵ | | 8 | + specificationVersion + "' in '" + specificationTitle↵
|
9 | + "'. (Reason: " + nfe + ")";↵ | | 9 | + "'. (Reason: " + nfe + ")";↵
|
10 | throw new IllegalArgumentException(error);↵ | | 10 | throw new IllegalArgumentException(error);↵
|
11 | }↵ | | 11 | }↵
|
12 | }↵ | | 12 | }↵
|
|
13 | this.implementationURL = implementationURL;↵ | | 13 | this.implementationTitle = implementationTitle;↵
|
14 | this.implementationVendor = implementationVendor; | | 14 | this.implementationVendor = implementationVendor;
|