]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.platform/src/org/simantics/browsing/ui/platform/PageSite.java
Lots of small fixes for the Simantics SDK build
[simantics/platform.git] / bundles / org.simantics.browsing.ui.platform / src / org / simantics / browsing / ui / platform / PageSite.java
index 4bee0eb5594e2750b0db861e4f372e69ca5aea2c..7e9df0f84ec3e361bbc0e8e79be394c0c11158aa 100644 (file)
@@ -201,7 +201,7 @@ public class PageSite implements IPageSite, INestable {
      * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
      */
     @Override
-    public Object getAdapter(Class adapter) {
+    public <T> T getAdapter(Class<T> adapter) {
         return Platform.getAdapterManager().getAdapter(this, adapter);
     }