mirror of https://github.com/apache/poi.git
Remove unnecessary type arguments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e166ebded
commit
3e70d75cfb
|
@ -254,7 +254,7 @@ public abstract class HSLFShape implements Shape<HSLFShape,HSLFTextParagraph> {
|
|||
* @return escher property or <code>null</code> if not found.
|
||||
*/
|
||||
public static <T extends EscherProperty> T getEscherProperty(AbstractEscherOptRecord opt, int propId){
|
||||
return (opt == null) ? null : opt.<T>lookup(propId);
|
||||
return (opt == null) ? null : opt.lookup(propId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -117,7 +117,7 @@ public class FieldsImpl implements Fields
|
|||
if ( map == null || map.isEmpty() )
|
||||
return Collections.emptySet();
|
||||
|
||||
return Collections.<Field> unmodifiableCollection( map.values() );
|
||||
return Collections.unmodifiableCollection( map.values() );
|
||||
}
|
||||
|
||||
public FieldImpl getFieldByStartOffset( FieldsDocumentPart documentPart,
|
||||
|
|
|
@ -150,7 +150,7 @@ public final class TestLinkTable extends TestCase {
|
|||
|
||||
LinkTable lt;
|
||||
try {
|
||||
lt = new LinkTable(recList, 0, wrl, Collections.<String, NameCommentRecord>emptyMap());
|
||||
lt = new LinkTable(recList, 0, wrl, Collections.emptyMap());
|
||||
} catch (RuntimeException e) {
|
||||
if (e.getMessage().equals("Expected an EXTERNSHEET record but got (org.apache.poi.hssf.record.SSTRecord)")) {
|
||||
throw new AssertionFailedError("Identified bug 47001b");
|
||||
|
|
Loading…
Reference in New Issue