Skip to content

Annotation: SuppressWarnings does not suppress the specified warnings #45

@GoogleCodeExporter

Description

@GoogleCodeExporter
The following code 

using java.lang;
using java.util;

package test {

  public class Main {

    [SuppressWarnings({"unchecked"})]
    public List testWithoutWarnings(){
      return new ArrayList<String>();
    }

  }
}

does not suppress the specified warnings.


Original issue reported on code.google.com by [email protected] on 8 Mar 2011 at 12:00

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions