[go: nahoru, domu]

Skip to content

Commit

Permalink
http: mark more things @experimental and remove unused "Warning" from…
Browse files Browse the repository at this point in the history
… package-info.java

https://code.google.com/p/google-http-java-client/issues/detail?id=207
Remove Experimental warning from package-info files

https://codereview.appspot.com/7786044/
  • Loading branch information
Yaniv Inbar committed Mar 27, 2013
1 parent 285615c commit 94ceb0d
Show file tree
Hide file tree
Showing 30 changed files with 256 additions and 117 deletions.
4 changes: 4 additions & 0 deletions findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,8 @@
<Bug pattern="EXPERIMENTAL_CLASS_USAGE,EXPERIMENTAL_METHOD_USAGE"/>
<Class name="com.google.api.client.http.HttpResponse"/>
</And>
<And>
<Bug pattern="EXPERIMENTAL_CLASS_USAGE,EXPERIMENTAL_METHOD_USAGE"/>
<Class name="com.google.api.client.json.JsonParser"/>
</And>
</FindBugsFilter>
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* HTTP Transport library for Google API's based on <a
* href="http://code.google.com/appengine/docs/java/urlfetch/">URL Fetch in Google App Engine</a>.
*
* <p>
* <b>Warning: this package is experimental, and its content may be changed in incompatible ways or
* possibly entirely removed in a future version of the library</b>
* </p>
*
* @since 1.10
* @author Yaniv Inbar
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* Low-level implementation of the GSON parser library based on the <a
* href="http://code.google.com/p/google-gson/">GSON</a> JSON library.
*
* <p>
* <b>Warning: this package is experimental, and its content may be changed in incompatible ways or
* possibly entirely removed in a future version of the library</b>
* </p>
*
* @since 1.3
* @author Yaniv Inbar
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ public final void testParse_directValue() throws Exception {
byte[] jsonData = Charsets.UTF_8.encode("123").array();
JsonParser jp =
newFactory().createJsonParser(new ByteArrayInputStream(jsonData), Charsets.UTF_8);
assertEquals(123, jp.parse(Integer.class, true, null));
assertEquals(123, jp.parse(Integer.class, true));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* Low-level implementation of the JSON parser library based on the <a
* href="http://wiki.fasterxml.com/JacksonHome">Jackson</a> JSON library.
*
* <p>
* <b>Warning: this package is experimental, and its content may be changed in incompatible ways or
* possibly entirely removed in a future version of the library</b>
* </p>
*
* @since 1.3
* @author Yaniv Inbar
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public final void testParse_directValue() throws Exception {
byte[] jsonData = Charsets.UTF_8.encode("123").array();
JsonParser jp =
newFactory().createJsonParser(new ByteArrayInputStream(jsonData), Charsets.UTF_8);
assertEquals(123, jp.parse(Integer.class, true, null));
assertEquals(123, jp.parse(Integer.class, true));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* Low-level implementation of the JSON parser library based on the <a
* href="http://wiki.fasterxml.com/JacksonRelease20">Jackson 2</a> JSON library.
*
* <p>
* <b>Warning: this package is experimental, and its content may be changed in incompatible ways or
* possibly entirely removed in a future version of the library</b>
* </p>
*
* @since 1.11
* @author Yaniv Inbar
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public final void testParse_directValue() throws Exception {
byte[] jsonData = Charsets.UTF_8.encode("123").array();
JsonParser jp =
newFactory().createJsonParser(new ByteArrayInputStream(jsonData), Charsets.UTF_8);
assertEquals(123, jp.parse(Integer.class, true, null));
assertEquals(123, jp.parse(Integer.class, true));
}
}
Loading

0 comments on commit 94ceb0d

Please sign in to comment.