Skip to content

Commit 745d743

Browse files
author
Yaniv Inbar
committed
http: fix Eclipse warnings
https://codereview.appspot.com/8800043/
1 parent f2ccd72 commit 745d743

File tree

15 files changed

+34
-17
lines changed

15 files changed

+34
-17
lines changed

google-http-client-android-test/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
55
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
66
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry kind="output" path="bin"/>

google-http-client-android/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
55
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
66
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry kind="output" path="bin"/>

google-http-client-appengine/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
44
<classpathentry kind="src" path="src/test/java"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
66
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
77
<classpathentry kind="output" path="bin"/>
88
</classpath>

google-http-client-appengine/.settings/org.eclipse.jdt.core.prefs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#Thu Nov 17 08:38:45 EST 2011
21
eclipse.preferences.version=1
32
org.eclipse.jdt.core.codeComplete.argumentPrefixes=
43
org.eclipse.jdt.core.codeComplete.argumentSuffixes=
@@ -11,9 +10,9 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
1110
org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
1211
org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
1312
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
14-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
13+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
1514
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
16-
org.eclipse.jdt.core.compiler.compliance=1.6
15+
org.eclipse.jdt.core.compiler.compliance=1.7
1716
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
1817
org.eclipse.jdt.core.compiler.debug.localVariable=generate
1918
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -81,7 +80,7 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa
8180
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
8281
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore
8382
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
84-
org.eclipse.jdt.core.compiler.source=1.6
83+
org.eclipse.jdt.core.compiler.source=1.7
8584
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
8685
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=569
8786
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_member=569

google-http-client-findbugs/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
44
<classpathentry kind="src" path="src/main/resources"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
66
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
77
<classpathentry kind="output" path="target/classes"/>
88
</classpath>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
55
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
66
<classpathentry kind="output" path="target/classes"/>
77
</classpath>

google-http-client-findbugs/google-http-client-findbugs-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-findbugs-test</artifactId>
7-
<version>1.15.0-beta-SNAPSHOT</version>
7+
<version>1.15.0-rc-SNAPSHOT</version>
88
<name>Findbugs Google API Client Library plugin test.</name>
99
<packaging>jar</packaging>
1010
<build>

google-http-client-findbugs/google-http-client-findbugs-test/src/main/java/com/google/api/client/findbugs/test/Test.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static void test() {
3333
ClassWithBetaField classField = new ClassWithBetaField();
3434
// When using google-http-client-findbugs plugin - Error usage of a field [FIELD_NAME], which
3535
// annotated as Beta
36+
@SuppressWarnings("unused")
3637
int n = ClassWithBetaField.betaStaticField;
3738
n = classField.betaField;
3839
classField.betaField = 20;

google-http-client-gson/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
44
<classpathentry kind="src" path="src/test/java"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
66
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
77
<classpathentry kind="output" path="bin"/>
88
</classpath>

google-http-client-jackson/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src/main/java"/>
44
<classpathentry kind="src" path="src/test/java"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
66
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
77
<classpathentry kind="output" path="bin"/>
88
</classpath>

0 commit comments

Comments
 (0)