File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Project.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Manifest.java | |||
Method name: void fireBuildStarted()
|
Method name: String addAttributeAndCheck(Attribute)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | BuildEvent event = new BuildEvent(this↵ | 1 | warnings.addElement("Multiple Class-Path attributes "↵ | |
2 | + "are supported but violate the Jar "↵ | |||
3 | + "specification and may not be correctly "↵ | |||
2 | );↵ | 4 | + "processed in all environments");↵ | |
3 | Iterator iter = listeners.iterator();↵ | 5 | ↵ | |
4 | while (iter.hasNext↵ | 6 | Enumeration e = attribute.getValues();↵ | |
5 | ()) {↵ | 7 | while (e.hasMoreElements()) {↵ | |
6 | BuildListener listener = (BuildListener) iter.next();↵ | 8 | ↵ | |
7 | listener.buildStarted(event);↵ | |||
9 | String value = (String) e.nextElement();↵ | |||
10 | classpathAttribute.addValue(value);↵ | |||
8 | } | 11 | } | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |