~ubuntu-branches/ubuntu/utopic/testng/utopic

« back to all changes in this revision

Viewing changes to src/main/org/testng/AnnotationConverter.java

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better
  • Date: 2009-07-23 12:11:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090723121117-k1so370589zvpef2
* Changed section to "java".
* debian/rules: Make it work with debhelper 7.3.5. (Closes: #538016)
* Use qdox 1.9 and add a patch for the API changes. Thanks to Ludovic
  Claude.
* debian/control: Bump policy version to 3.8.2.
* debian/control: Build with default-jdk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package org.testng;
2
2
 
3
3
 
 
4
import org.testng.collections.Maps;
 
5
import org.testng.internal.AnnotationDirectoryConverter;
 
6
 
4
7
import java.io.File;
5
 
 
6
 
import java.util.HashMap;
7
8
import java.util.Map;
8
9
 
9
 
import org.testng.internal.AnnotationDirectoryConverter;
10
 
 
11
10
/**
12
11
 * Converts between javadoc annotations and java 5 annotations.
13
12
 * 
98
97
   * Extract command line options.
99
98
   */
100
99
  private static Map<String, Object> extractOptions(String[] args) {
101
 
    Map<String, Object> options= new HashMap<String, Object>();
 
100
    Map<String, Object> options= Maps.newHashMap();
102
101
 
103
102
    for(int i= 0; i < args.length; i++) {
104
103
      if(SRC_DIR_OPT.equals(args[i])) {