Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2988)

Issue 7372049: FindBugs plugin to catch uses of @Experimental annotation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by peleyal
Modified:
11 years, 1 month ago
Reviewers:
yanivi
CC:
rmistry, ngmiceli
Base URL:
https://code.google.com/p/google-http-java-client/
Visibility:
Public.

Description

FindBugs plugin to catch uses of @Experimental annotation See https://code.google.com/p/google-http-java-client/issues/detail?id=197 for more details

Patch Set 1 #

Total comments: 85

Patch Set 2 : Yanivi comments #

Patch Set 3 : small fixes #

Total comments: 22

Patch Set 4 : Yanivi comments 2 #

Patch Set 5 : small fixes #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+1802 lines, -0 lines) Patch
A google-http-client-findbugs/.classpath View 1 1 chunk +8 lines, -0 lines 0 comments Download
A google-http-client-findbugs/.project View 1 chunk +23 lines, -0 lines 0 comments Download
A google-http-client-findbugs/.settings/org.eclipse.jdt.core.prefs View 1 1 chunk +380 lines, -0 lines 0 comments Download
A google-http-client-findbugs/.settings/org.eclipse.jdt.ui.prefs View 1 1 chunk +119 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/.classpath View 1 1 chunk +7 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/.project View 1 chunk +23 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/.settings/org.eclipse.jdt.core.prefs View 1 1 chunk +380 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/.settings/org.eclipse.jdt.ui.prefs View 1 1 chunk +119 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/pom.xml View 1 1 chunk +70 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/ClassWithExperimentalField.java View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/ClassWithExperimentalMethod.java View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/ExperimentalClass.java View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/ExperimentalClass2.java View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/Test.java View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A google-http-client-findbugs/pom.xml View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java View 1 2 3 4 1 chunk +230 lines, -0 lines 2 comments Download
A google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/package-info.java View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A google-http-client-findbugs/src/main/resources/bugrank.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
A google-http-client-findbugs/src/main/resources/findbugs.xml View 1 1 chunk +12 lines, -0 lines 0 comments Download
A google-http-client-findbugs/src/main/resources/messages.xml View 1 2 3 4 1 chunk +59 lines, -0 lines 4 comments Download
A google-http-client/src/main/java/com/google/api/client/util/Experimental.java View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
M pom.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7
yanivi
So far I've reviewed only Experimental.java... https://codereview.appspot.com/7372049/diff/1/google-http-client/src/main/java/com/google/api/client/util/Experimental.java File google-http-client/src/main/java/com/google/api/client/util/Experimental.java (right): https://codereview.appspot.com/7372049/diff/1/google-http-client/src/main/java/com/google/api/client/util/Experimental.java#newcode22 google-http-client/src/main/java/com/google/api/client/util/Experimental.java:22: * subject to ...
11 years, 2 months ago (2013-02-25 14:58:55 UTC) #1
yanivi
https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/.classpath File google-http-client-findbugs/.classpath (right): https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/.classpath#newcode5 google-http-client-findbugs/.classpath:5: <classpathentry kind="src" path="src/test/java"/> Description Resource Path Location Type Project ...
11 years, 2 months ago (2013-02-26 03:12:07 UTC) #2
peleyal
https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/.classpath File google-http-client-findbugs/.classpath (right): https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/.classpath#newcode5 google-http-client-findbugs/.classpath:5: <classpathentry kind="src" path="src/test/java"/> src/test/java - was removed. On 2013/02/26 ...
11 years, 1 month ago (2013-02-27 15:32:38 UTC) #3
yanivi
https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java File google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java (right): https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java#newcode38 google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java:38: /** On 2013/02/27 15:32:38, peleyal wrote: > On 2013/02/26 ...
11 years, 1 month ago (2013-02-27 17:10:10 UTC) #4
peleyal
https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java File google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java (right): https://codereview.appspot.com/7372049/diff/1/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java#newcode184 google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java:184: bugReporter.logError( I also saw that in their implementation, but ...
11 years, 1 month ago (2013-02-28 16:57:08 UTC) #5
yanivi
LGTM Well done! https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java File google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java (right): https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java#newcode114 google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java:114: * Returns JavaClass for the current ...
11 years, 1 month ago (2013-03-01 02:24:09 UTC) #6
peleyal
11 years, 1 month ago (2013-03-01 15:48:54 UTC) #7
Done. was pushed a minute ago.

https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs...
File
google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java
(right):

https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs...
google-http-client-findbugs/src/main/java/com/google/api/client/findbugs/ExperimentalDetector.java:114:
* Returns JavaClass for the current operand only if it's a Google APIs Client
library class, it's
On 2013/03/01 02:24:09, yanivi wrote:
> [optional] "the Java class" (preferred) or "the {@link JavaClass}", but not
> "JavaClass"

Done.

https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs...
File google-http-client-findbugs/src/main/resources/messages.xml (right):

https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs...
google-http-client-findbugs/src/main/resources/messages.xml:23: See <a
herf="http://javadoc.google-http-java-client.googlecode.com/hg/1.15.0-rc/com//api/client/util/Experimental.java">@Experimental</a>
for more details.
On 2013/03/01 02:24:09, yanivi wrote:
> "com//api" --> "com/api"
> 
> similarly below

Done.

https://codereview.appspot.com/7372049/diff/54001/google-http-client-findbugs...
google-http-client-findbugs/src/main/resources/messages.xml:23: See <a
herf="http://javadoc.google-http-java-client.googlecode.com/hg/1.15.0-rc/com//api/client/util/Experimental.java">@Experimental</a>
for more details.
On 2013/03/01 02:24:09, yanivi wrote:
> "herf" -> "href"

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b