X Tutup
Skip to content

Commit 81e2c35

Browse files
committed
Let the getAdapter method be generic
Change-Id: I8dd4b3f19a02e7542d0bc6ddf172cf5526eb6520 Signed-off-by: Simon Scholz <simon.scholz@vogella.com>
1 parent 0625456 commit 81e2c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.vogella.rcp.editor.example/src/com/vogella/rcp/editor/example/editor/TaskEditorInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public String getToolTipText() {
4242
}
4343

4444
@Override
45-
public Object getAdapter(Class adapter) {
45+
public <T> T getAdapter(Class<T> adapter) {
4646
return null;
4747
}
4848

0 commit comments

Comments
 (0)
X Tutup