Allow deleted and/or uncommented files to be skipped in reviews

Add two checkboxes to the user diff preferences.  These
buttons enable/disable skipping deleted or uncommented files.
Skipping is with respect to the prev/next links above and
below the diff.

Bug: issue 584
Change-Id: I105ee3115f806f1637997e95e9e9931b4107a69e
This commit is contained in:
Martin Fick
2010-08-16 11:52:08 -06:00
parent 84b40ee054
commit 34646869aa
7 changed files with 134 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ import java.util.List;
/** A version of the database schema. */
public abstract class SchemaVersion {
/** The current schema version. */
private static final Class<? extends SchemaVersion> C = Schema_43.class;
private static final Class<? extends SchemaVersion> C = Schema_44.class;
public static class Module extends AbstractModule {
@Override

View File

@@ -0,0 +1,25 @@
// Copyright (C) 2010 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.server.schema;
import com.google.inject.Inject;
import com.google.inject.Provider;
public class Schema_44 extends SchemaVersion {
@Inject
Schema_44(Provider<Schema_43> prior) {
super(prior);
}
}