checkstyle: bump to 6.19

Seems like they finally fixed the hanging throws indent issue.
This commit is contained in:
Daniel Martí 2016-05-30 22:04:33 +01:00
parent 5e2da57565
commit d4bb97db72
4 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ android {
} }
checkstyle { checkstyle {
toolVersion = '6.18' toolVersion = '6.19'
} }
task checkstyle(type: Checkstyle) { task checkstyle(type: Checkstyle) {

View File

@ -209,7 +209,7 @@ android {
} }
checkstyle { checkstyle {
toolVersion = '6.18' toolVersion = '6.19'
} }
task checkstyle(type: Checkstyle) { task checkstyle(type: Checkstyle) {

View File

@ -332,7 +332,7 @@ public class RepoUpdater {
* check that the signing certificate in the jar matches that fingerprint. * check that the signing certificate in the jar matches that fingerprint.
*/ */
private void verifyAndStoreTOFUCerts(String certFromIndexXml, X509Certificate rawCertFromJar) private void verifyAndStoreTOFUCerts(String certFromIndexXml, X509Certificate rawCertFromJar)
throws SigningException { throws SigningException {
if (repo.signingCertificate != null) { if (repo.signingCertificate != null) {
return; // there is a repo.signingCertificate already, nothing to TOFU return; // there is a repo.signingCertificate already, nothing to TOFU
} }

View File

@ -57,7 +57,7 @@ public abstract class FDroidProvider extends ContentProvider {
@NonNull @NonNull
@Override @Override
public ContentProviderResult[] applyBatch(@NonNull ArrayList<ContentProviderOperation> operations) public ContentProviderResult[] applyBatch(@NonNull ArrayList<ContentProviderOperation> operations)
throws OperationApplicationException { throws OperationApplicationException {
ContentProviderResult[] result = null; ContentProviderResult[] result = null;
isApplyingBatch = true; isApplyingBatch = true;
final SQLiteDatabase db = db(); final SQLiteDatabase db = db();
@ -141,7 +141,7 @@ public abstract class FDroidProvider extends ContentProvider {
} }
protected void validateFields(String[] validFields, ContentValues values) protected void validateFields(String[] validFields, ContentValues values)
throws IllegalArgumentException { throws IllegalArgumentException {
for (final String key : getKeySet(values)) { for (final String key : getKeySet(values)) {
boolean isValid = false; boolean isValid = false;
for (final String validKey : validFields) { for (final String validKey : validFields) {