mirror of https://github.com/apache/lucene.git
LUCENE-5512: remove redundant typing (diamond operator)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580271 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4163f0aa59
commit
152a11918c
|
@ -51,7 +51,7 @@ def main():
|
||||||
|
|
||||||
print '%{'
|
print '%{'
|
||||||
print ' private static final Map<String,String> upperCaseVariantsAccepted'
|
print ' private static final Map<String,String> upperCaseVariantsAccepted'
|
||||||
print ' = new HashMap<String,String>();'
|
print ' = new HashMap<>();'
|
||||||
print ' static {'
|
print ' static {'
|
||||||
print ' upperCaseVariantsAccepted.put("quot", "QUOT");'
|
print ' upperCaseVariantsAccepted.put("quot", "QUOT");'
|
||||||
print ' upperCaseVariantsAccepted.put("copy", "COPY");'
|
print ' upperCaseVariantsAccepted.put("copy", "COPY");'
|
||||||
|
@ -61,7 +61,7 @@ def main():
|
||||||
print ' upperCaseVariantsAccepted.put("amp", "AMP");'
|
print ' upperCaseVariantsAccepted.put("amp", "AMP");'
|
||||||
print ' }'
|
print ' }'
|
||||||
print ' private static final CharArrayMap<Character> entityValues'
|
print ' private static final CharArrayMap<Character> entityValues'
|
||||||
print ' = new CharArrayMap<Character>(Version.LUCENE_CURRENT, %i, false);' % len(keys)
|
print ' = new CharArrayMap<>(Version.LUCENE_CURRENT, %i, false);' % len(keys)
|
||||||
print ' static {'
|
print ' static {'
|
||||||
print ' String[] entities = {'
|
print ' String[] entities = {'
|
||||||
output_line = ' '
|
output_line = ' '
|
||||||
|
|
Loading…
Reference in New Issue