We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6872b commit 0fbdd33Copy full SHA for 0fbdd33
1 file changed
JSONArray.java
@@ -150,10 +150,10 @@ public JSONArray(String source) throws JSONException {
150
* @param collection
151
* A Collection.
152
*/
153
- public JSONArray(Collection<Object> collection) {
+ public JSONArray(Collection<?> collection) {
154
this.myArrayList = new ArrayList<Object>();
155
if (collection != null) {
156
- Iterator<Object> iter = collection.iterator();
+ Iterator<?> iter = collection.iterator();
157
while (iter.hasNext()) {
158
this.myArrayList.add(JSONObject.wrap(iter.next()));
159
}
0 commit comments