You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2014/12/29 16:32:59 UTC

svn commit: r1648370 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java

Author: cziegeler
Date: Mon Dec 29 15:32:58 2014
New Revision: 1648370

URL: http://svn.apache.org/r1648370
Log:
Deprecate json.org dependent api

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java?rev=1648370&r1=1648369&r2=1648370&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java (original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/WebConsoleUtil.java Mon Dec 29 15:32:58 2014
@@ -328,6 +328,8 @@ public final class WebConsoleUtil
      * @param key the key value, stored under 'key'
      * @param value the value stored under 'value'
      * @throws JSONException if the value cannot be serialized.
+     *
+     * @deprecated Plugins should use their own json code/library
      */
     public static final void keyVal(JSONWriter jw, String key, Object value)
         throws JSONException