package com.github.rvesse.airline.restrictions.common;

import java.util.Locale;

public abstract class AbstractLocaleAndCaseStringRestriction extends AbstractStringRestriction {
    
    protected final Locale locale;
    protected final boolean ignoreCase;

    public AbstractLocaleAndCaseStringRestriction(boolean ignoreCase, Locale locale) {
        this.ignoreCase = ignoreCase;
        if (locale == null)
            locale = Locale.ENGLISH;
        this.locale = locale;
    }
}

@@ -1,85 +1,821 @@
-package com.github.rvesse.airline.restrictions.common;%0A%0Aimport java.util.Locale;%0A
+/**%0A * Copyright (C) 2010-16 the original author or authors.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.github.rvesse.airline.restrictions.common;%0A%0Aimport java.util.Locale;%0A%0A/**%0A * An abstract string restriction that needs a locale and case sensitivity flag%0A * %0A * @author rvesse%0A *%0A */
 %0Apub
@@ -908,20 +908,16 @@
 ction %7B%0A
-    
 %0A    pro
@@ -985,16 +985,199 @@
 eCase;%0A%0A
+    /**%0A     * Creates the restriction%0A     * %0A     * @param ignoreCase%0A     *            Whether to ignore case%0A     * @param locale%0A     *            Locale for comparisons%0A     */%0A
     publ

Fix missing license header (#73)