title: incompatible types, expected hashmap found String
body: <pre><code>public class Readparam
  {
      private static String method_name;
      public static HashMap&lt;String, Vector&lt;String&gt;&gt; getParameters(String file_name)
      {
          HashMap temp_map = new HashMap();
  
          String current_dir = System.getProperty("user.dir");
  
          File new_file = new File(current_dir + "\\parameters\\" + file_name);
  
          StringTokenizer stringtok = null;
          StringBuffer temp_contents = new StringBuffer();
  
          BufferedReader input = null;
          try
          {
              input = new BufferedReader(new FileReader(new_file));
              String current_line = null;
  
              while (((current_line = input.readLine()) != null) &amp;&amp; (current_line.length() &gt; 0))
              {
                  stringtok = new StringTokenizer(current_line, "(");
  
                  method_name = stringtok.nextToken();
  
                  String parsed_parameters = current_line.subSequence(current_line.indexOf("(") + 1, current_line.indexOf(")")).toString();
  
                  StringTokenizer paramtok = new StringTokenizer(parsed_parameters, ",");
  
                  String[] parsed_string = parsed_parameters.split(", ");
                  String parsing = method_name + "(";
  
                  for (int i = 0; i &lt; parsed_string.length; i++)
                  {
                      String[] temp_parse = parsed_string[i].split(" ");
                      if (i &lt; parsed_string.length - 1)
                      parsing = parsing + temp_parse[0] + ", ";
                  else {
                  parsing = parsing + temp_parse[0];
                  }
              }
                  parsing = parsing + ")";
  
                  Vector temp_vector = new Vector();
                  for (String s : parsed_string) {
                  temp_vector.add(s);
              }
                  temp_map.put(parsing, temp_vector);
          }
      }
          catch (FileNotFoundException ex)
          {
          System.out.println("File not found: " + file_name);
          String method_name = null;
          return method_name;
      }
  </code></pre>
  
  <p>any help on this is aprreciated
  I have the last line "return method_name that does not compile
  i recieve an error incompatible types, expected java.util.hashmap found java.lang.String
  the last line return method_name does not compile</p>