| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3929880 commit ce1858b
17 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,6 +86,7 @@ public void doGet_emptyDatastore_writesNoWidgets() throws Exception { | |||
| 86 | 86 | .isEqualTo("Got 0 widgets.\n"); | |
| 87 | 87 | } | |
| 88 | 88 | ||
| 89 | + // CHECKSTYLE.OFF: VariableDeclarationUsageDistance | ||
| 89 | 90 | @SuppressWarnings("VariableDeclarationUsageDistance") | |
| 90 | 91 | @Test | |
| 91 | 92 | public void doGet_repeatedPropertyEntities_writesWidgets() throws Exception { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,7 +39,7 @@ | |||
| 39 | 39 | <dependency> | |
| 40 | 40 | <groupId>com.google.appengine</groupId> | |
| 41 | 41 | <artifactId>appengine-api-1.0-sdk</artifactId> | |
| 42 | - <version>1.9.71</version> | ||
| 42 | + <version>1.9.73</version> | ||
| 43 | 43 | </dependency> | |
| 44 | 44 | ||
| 45 | 45 | <dependency> | |
@@ -53,10 +53,16 @@ | |||
| 53 | 53 | <dependency> | |
| 54 | 54 | <groupId>com.google.auto.value</groupId> | |
| 55 | 55 | <artifactId>auto-value</artifactId> | |
| 56 | - <version>1.5.4</version> | ||
| 56 | + <version>1.6.5</version> | ||
| 57 | 57 | <scope>provided</scope> | |
| 58 | 58 | </dependency> | |
| 59 | 59 | ||
| 60 | + <dependency> | ||
| 61 | + <groupId>com.google.auto.value</groupId> | ||
| 62 | + <artifactId>auto-value-annotations</artifactId> | ||
| 63 | + <version>1.6.5</version> | ||
| 64 | + </dependency> | ||
| 65 | + | ||
| 60 | 66 | <dependency> | |
| 61 | 67 | <groupId>com.google.code.findbugs</groupId> | |
| 62 | 68 | <artifactId>jsr305</artifactId> <!-- @Nullable annotations --> | |
@@ -92,25 +98,25 @@ | |||
| 92 | 98 | <dependency> | |
| 93 | 99 | <groupId>com.google.appengine</groupId> | |
| 94 | 100 | <artifactId>appengine-testing</artifactId> | |
| 95 | - <version>1.9.71</version> | ||
| 101 | + <version>1.9.73</version> | ||
| 96 | 102 | <scope>test</scope> | |
| 97 | 103 | </dependency> | |
| 98 | 104 | <dependency> | |
| 99 | 105 | <groupId>com.google.appengine</groupId> | |
| 100 | 106 | <artifactId>appengine-api-stubs</artifactId> | |
| 101 | - <version>1.9.71</version> | ||
| 107 | + <version>1.9.73</version> | ||
| 102 | 108 | <scope>test</scope> | |
| 103 | 109 | </dependency> | |
| 104 | 110 | <dependency> | |
| 105 | 111 | <groupId>com.google.appengine</groupId> | |
| 106 | 112 | <artifactId>appengine-tools-sdk</artifactId> | |
| 107 | - <version>1.9.71</version> | ||
| 113 | + <version>1.9.73</version> | ||
| 108 | 114 | <scope>test</scope> | |
| 109 | 115 | </dependency> | |
| 110 | 116 | <dependency> | |
| 111 | 117 | <groupId>com.google.truth</groupId> | |
| 112 | 118 | <artifactId>truth</artifactId> | |
| 113 | - <version>0.42</version> | ||
| 119 | + <version>0.44</version> | ||
| 114 | 120 | <scope>test</scope> | |
| 115 | 121 | </dependency> | |
| 116 | 122 | </dependencies> | |
@@ -128,6 +134,20 @@ | |||
| 128 | 134 | <deploy.stopPreviousVersion>true</deploy.stopPreviousVersion> | |
| 129 | 135 | </configuration> | |
| 130 | 136 | </plugin> | |
| 137 | + | ||
| 138 | + <plugin> | ||
| 139 | + <artifactId>maven-compiler-plugin</artifactId> | ||
| 140 | + <version>3.8.0</version> | ||
| 141 | + <configuration> | ||
| 142 | + <annotationProcessorPaths> | ||
| 143 | + <annotationProcessorPath> | ||
| 144 | + <groupId>com.google.auto.value</groupId> | ||
| 145 | + <artifactId>auto-value</artifactId> | ||
| 146 | + <version>1.6.5</version> | ||
| 147 | + </annotationProcessorPath> | ||
| 148 | + </annotationProcessorPaths> | ||
| 149 | + </configuration> | ||
| 150 | + </plugin> | ||
| 131 | 151 | </plugins> | |
| 132 | 152 | </build> | |
| 133 | 153 | </project> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -218,6 +218,7 @@ public void repeatedProperties_storesList() throws Exception { | |||
| 218 | 218 | assertThat(retrievedFruits).containsExactlyElementsIn(favoriteFruit).inOrder(); | |
| 219 | 219 | } | |
| 220 | 220 | ||
| 221 | + // CHECKSTYLE.OFF: VariableDeclarationUsageDistance | ||
| 221 | 222 | @SuppressWarnings("VariableDeclarationUsageDistance") | |
| 222 | 223 | @Test | |
| 223 | 224 | public void embeddedEntity_fromEmbedded_embedsProperties() throws Exception { | |
@@ -240,6 +241,7 @@ public void embeddedEntity_fromEmbedded_embedsProperties() throws Exception { | |||
| 240 | 241 | .named("got.homeAddress") | |
| 241 | 242 | .isEqualTo("123 Fake St, Made, UP 45678"); | |
| 242 | 243 | } | |
| 244 | + // CHECKSTYLE.ON: VariableDeclarationUsageDistance | ||
| 243 | 245 | ||
| 244 | 246 | private Key putEmployeeWithContactInfo(Entity contactInfo) { | |
| 245 | 247 | Entity employee = new Entity("Employee"); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,13 +70,22 @@ | |||
| 70 | 70 | <!-- for hot reload of the web application --> | |
| 71 | 71 | <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> | |
| 72 | 72 | <plugins> | |
| 73 | - <plugin> | ||
| 73 | + <plugin> | ||
| 74 | 74 | <groupId>org.apache.maven.plugins</groupId> | |
| 75 | - <version>3.3</version> | ||
| 76 | 75 | <artifactId>maven-compiler-plugin</artifactId> | |
| 76 | + <version>3.8.1</version> | ||
| 77 | 77 | <configuration> | |
| 78 | - <source>1.7</source> | ||
| 79 | - <target>1.7</target> | ||
| 78 | + <compilerArgs> | ||
| 79 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 80 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 81 | + </compilerArgs> | ||
| 82 | + <annotationProcessorPaths> | ||
| 83 | + <path> | ||
| 84 | + <groupId>com.google.errorprone</groupId> | ||
| 85 | + <artifactId>error_prone_core</artifactId> | ||
| 86 | + <version>2.3.3</version> | ||
| 87 | + </path> | ||
| 88 | + </annotationProcessorPaths> | ||
| 80 | 89 | </configuration> | |
| 81 | 90 | </plugin> | |
| 82 | 91 | <plugin> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,11 +61,20 @@ Copyright 2016 Google Inc. | |||
| 61 | 61 | <plugins> | |
| 62 | 62 | <plugin> | |
| 63 | 63 | <groupId>org.apache.maven.plugins</groupId> | |
| 64 | - <version>3.3</version> | ||
| 65 | 64 | <artifactId>maven-compiler-plugin</artifactId> | |
| 65 | + <version>3.8.1</version> | ||
| 66 | 66 | <configuration> | |
| 67 | - <source>1.7</source> | ||
| 68 | - <target>1.7</target> | ||
| 67 | + <compilerArgs> | ||
| 68 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 69 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 70 | + </compilerArgs> | ||
| 71 | + <annotationProcessorPaths> | ||
| 72 | + <path> | ||
| 73 | + <groupId>com.google.errorprone</groupId> | ||
| 74 | + <artifactId>error_prone_core</artifactId> | ||
| 75 | + <version>2.3.3</version> | ||
| 76 | + </path> | ||
| 77 | + </annotationProcessorPaths> | ||
| 69 | 78 | </configuration> | |
| 70 | 79 | </plugin> | |
| 71 | 80 | <plugin> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,10 +72,19 @@ Copyright 2015 Google Inc. | |||
| 72 | 72 | <plugin> | |
| 73 | 73 | <groupId>org.apache.maven.plugins</groupId> | |
| 74 | 74 | <artifactId>maven-compiler-plugin</artifactId> | |
| 75 | - <version>3.3</version> | ||
| 75 | + <version>3.8.1</version> | ||
| 76 | 76 | <configuration> | |
| 77 | - <source>1.7</source> | ||
| 78 | - <target>1.7</target> | ||
| 77 | + <compilerArgs> | ||
| 78 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 79 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 80 | + </compilerArgs> | ||
| 81 | + <annotationProcessorPaths> | ||
| 82 | + <path> | ||
| 83 | + <groupId>com.google.errorprone</groupId> | ||
| 84 | + <artifactId>error_prone_core</artifactId> | ||
| 85 | + <version>2.3.3</version> | ||
| 86 | + </path> | ||
| 87 | + </annotationProcessorPaths> | ||
| 79 | 88 | </configuration> | |
| 80 | 89 | </plugin> | |
| 81 | 90 | </plugins> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,11 +94,20 @@ Copyright 2015 Google Inc. | |||
| 94 | 94 | <plugins> | |
| 95 | 95 | <plugin> | |
| 96 | 96 | <groupId>org.apache.maven.plugins</groupId> | |
| 97 | - <version>3.3</version> | ||
| 98 | 97 | <artifactId>maven-compiler-plugin</artifactId> | |
| 98 | + <version>3.8.1</version> | ||
| 99 | 99 | <configuration> | |
| 100 | - <source>1.7</source> | ||
| 101 | - <target>1.7</target> | ||
| 100 | + <compilerArgs> | ||
| 101 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 102 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 103 | + </compilerArgs> | ||
| 104 | + <annotationProcessorPaths> | ||
| 105 | + <path> | ||
| 106 | + <groupId>com.google.errorprone</groupId> | ||
| 107 | + <artifactId>error_prone_core</artifactId> | ||
| 108 | + <version>2.3.3</version> | ||
| 109 | + </path> | ||
| 110 | + </annotationProcessorPaths> | ||
| 102 | 111 | </configuration> | |
| 103 | 112 | </plugin> | |
| 104 | 113 | <!-- Parent POM defines ${appengine.sdk.version} (updates frequently). --> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,11 +108,20 @@ Copyright 2015 Google Inc. | |||
| 108 | 108 | <plugins> | |
| 109 | 109 | <plugin> | |
| 110 | 110 | <groupId>org.apache.maven.plugins</groupId> | |
| 111 | - <version>3.3</version> | ||
| 112 | 111 | <artifactId>maven-compiler-plugin</artifactId> | |
| 112 | + <version>3.8.1</version> | ||
| 113 | 113 | <configuration> | |
| 114 | - <source>1.7</source> | ||
| 115 | - <target>1.7</target> | ||
| 114 | + <compilerArgs> | ||
| 115 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 116 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 117 | + </compilerArgs> | ||
| 118 | + <annotationProcessorPaths> | ||
| 119 | + <path> | ||
| 120 | + <groupId>com.google.errorprone</groupId> | ||
| 121 | + <artifactId>error_prone_core</artifactId> | ||
| 122 | + <version>2.3.3</version> | ||
| 123 | + </path> | ||
| 124 | + </annotationProcessorPaths> | ||
| 116 | 125 | </configuration> | |
| 117 | 126 | </plugin> | |
| 118 | 127 | <plugin> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,11 +89,22 @@ | |||
| 89 | 89 | </plugin> | |
| 90 | 90 | <plugin> | |
| 91 | 91 | <groupId>org.apache.maven.plugins</groupId> | |
| 92 | - <version>3.3</version> | ||
| 93 | 92 | <artifactId>maven-compiler-plugin</artifactId> | |
| 93 | + <version>3.8.1</version> | ||
| 94 | 94 | <configuration> | |
| 95 | 95 | <source>1.8</source> | |
| 96 | 96 | <target>1.8</target> | |
| 97 | + <compilerArgs> | ||
| 98 | + <arg>-XDcompilePolicy=simple</arg> | ||
| 99 | + <arg>-Xplugin:ErrorProne</arg> | ||
| 100 | + </compilerArgs> | ||
| 101 | + <annotationProcessorPaths> | ||
| 102 | + <path> | ||
| 103 | + <groupId>com.google.errorprone</groupId> | ||
| 104 | + <artifactId>error_prone_core</artifactId> | ||
| 105 | + <version>2.3.3</version> | ||
| 106 | + </path> | ||
| 107 | + </annotationProcessorPaths> | ||
| 97 | 108 | </configuration> | |
| 98 | 109 | </plugin> | |
| 99 | 110 | </plugins> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments