Skip to content

Commit

Permalink
Add sample for App Engine Datastore setDistinct projection queries.
Browse files Browse the repository at this point in the history
Also update checkstyle to allow 1-letter variable names, since it
doesn't make sense to give long names to something like "arbitrary
column A that doesn't actually mean anything".
  • Loading branch information
tswast committed Apr 21, 2016
1 parent 2892e27 commit 37417d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@
value="Member name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ParameterName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LocalVariableName">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="allowOneCharVarInForLoop" value="true"/>
<message key="name.invalidPattern"
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
Expand Down

0 comments on commit 37417d2

Please sign in to comment.