Skip to content
Permalink
Browse files

Issue #501: Move JSON extensions to package android.org.json

Closes #501: Move JSON extensions to package android.org.json
  • Loading branch information...
fercarcedo authored and pocmo committed Jul 25, 2018
1 parent 17630ff commit a230066b4b568fd2642b27c82f8417afe9abeb54
@@ -5,7 +5,7 @@
package mozilla.components.browser.search.suggestions

import mozilla.components.browser.search.SearchEngine
import mozilla.components.support.ktx.kotlin.asSequence
import mozilla.components.support.ktx.android.org.json.asSequence
import org.json.JSONArray
import org.json.JSONObject

@@ -4,11 +4,11 @@

package mozilla.components.service.fretboard

import mozilla.components.support.ktx.kotlin.putIfNotNull
import mozilla.components.support.ktx.kotlin.toList
import mozilla.components.support.ktx.kotlin.tryGetInt
import mozilla.components.support.ktx.kotlin.tryGetLong
import mozilla.components.support.ktx.kotlin.tryGetString
import mozilla.components.support.ktx.android.org.json.putIfNotNull
import mozilla.components.support.ktx.android.org.json.toList
import mozilla.components.support.ktx.android.org.json.tryGetInt
import mozilla.components.support.ktx.android.org.json.tryGetLong
import mozilla.components.support.ktx.android.org.json.tryGetString
import org.json.JSONArray
import org.json.JSONObject

@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package mozilla.components.support.ktx.kotlin
package mozilla.components.support.ktx.android.org.json

import org.json.JSONArray

@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package mozilla.components.support.ktx.kotlin
package mozilla.components.support.ktx.android.org.json

import org.json.JSONObject
import java.util.TreeMap
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package mozilla.components.support.ktx.kotlin
package mozilla.components.support.ktx.android.org.json

import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertTrue
@@ -1,4 +1,4 @@
package mozilla.components.support.ktx.kotlin
package mozilla.components.support.ktx.android.org.json

import org.json.JSONArray
import org.json.JSONObject

0 comments on commit a230066

Please sign in to comment.
You can’t perform that action at this time.