~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to lucene/backwards/src/test/org/apache/lucene/messages/MessagesTestBundle.java

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.apache.lucene.messages;
2
 
 
3
 
/**
4
 
 * Licensed to the Apache Software Foundation (ASF) under one or more
5
 
 * contributor license agreements. See the NOTICE file distributed with this
6
 
 * work for additional information regarding copyright ownership. The ASF
7
 
 * licenses this file to You under the Apache License, Version 2.0 (the
8
 
 * "License"); you may not use this file except in compliance with the License.
9
 
 * You may obtain a copy of the License at
10
 
 * 
11
 
 * http://www.apache.org/licenses/LICENSE-2.0
12
 
 * 
13
 
 * Unless required by applicable law or agreed to in writing, software
14
 
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
 
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
 
 * License for the specific language governing permissions and limitations under
17
 
 * the License.
18
 
 */
19
 
 
20
 
public class MessagesTestBundle extends NLS {
21
 
 
22
 
  private static final String BUNDLE_NAME = MessagesTestBundle.class.getName();
23
 
 
24
 
  private MessagesTestBundle() {
25
 
    // should never be instantiated
26
 
  }
27
 
 
28
 
  static {
29
 
    // register all string ids with NLS class and initialize static string
30
 
    // values
31
 
    NLS.initializeMessages(BUNDLE_NAME, MessagesTestBundle.class);
32
 
  }
33
 
 
34
 
  // static string must match the strings in the property files.
35
 
  public static String Q0001E_INVALID_SYNTAX;
36
 
  public static String Q0004E_INVALID_SYNTAX_ESCAPE_UNICODE_TRUNCATION;
37
 
 
38
 
  // this message is missing from the properties file
39
 
  public static String Q0005E_MESSAGE_NOT_IN_BUNDLE;
40
 
}