1. mquigley
  2. ZabbixJ

Commits

mquigley  committed 4976c09

Ignoring Eclipse warnings in JSON packages (not our code).

  • Participants
  • Parent commits 1df12fa
  • Branches default

Comments (0)

Files changed (2)

File src/java/org/json/JSONArray.java

View file
  • Ignore whitespace
  * @author JSON.org
  * @version 2009-04-14
  */
-@SuppressWarnings("unchecked")
+@SuppressWarnings({"unchecked", "rawtypes"})
 public class JSONArray {
 
 
     /**
      * The arrayList where the JSONArray's properties are kept.
      */
-    private ArrayList myArrayList;
+	private ArrayList myArrayList;
 
 
     /**
      * Construct an empty JSONArray.
      */
-    public JSONArray() {
+	public JSONArray() {
         this.myArrayList = new ArrayList();
     }
 

File src/java/org/json/JSONObject.java

View file
  • Ignore whitespace
  * @author JSON.org
  * @version 2010-05-17
  */
-@SuppressWarnings("unchecked")
+@SuppressWarnings({"unchecked", "rawtypes"})
 public class JSONObject {
 
     /**