* @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);
}
/**
if ( map == null || map.isEmpty() )
return Collections.emptySet();
- return Collections.<Field> unmodifiableCollection( map.values() );
+ return Collections.unmodifiableCollection( map.values() );
}
public FieldImpl getFieldByStartOffset( FieldsDocumentPart documentPart,
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");