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