aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2013-08-20 05:55:20 -0400
committerDani Megert2013-08-20 05:55:20 -0400
commitd038f2279c469429c871e5f5dc31c9167e25bd6c (patch)
treeb7b8de6be561a99d21890ad1455416879ac7de16
parent8e6f1e91540cfd4932ed5e3a19ba788fc080b5d6 (diff)
downloadeclipse.platform.ui-d038f2279c469429c871e5f5dc31c9167e25bd6c.tar.gz
eclipse.platform.ui-d038f2279c469429c871e5f5dc31c9167e25bd6c.tar.xz
eclipse.platform.ui-d038f2279c469429c871e5f5dc31c9167e25bd6c.zip
Fixed compile warnings
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/pom.xml4
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/META-INF/MANIFEST.MF b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/META-INF/MANIFEST.MF
index 3f4deef833..d733b29902 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Eclipse-PlatformFilter: (osgi.ws=cocoa)
Bundle-SymbolicName: org.eclipse.e4.ui.workbench.renderers.swt.cocoa;singleton:=true
-Bundle-Version: 0.11.100.qualifier
+Bundle-Version: 0.11.200.qualifier
Bundle-Name: %fragmentName
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.e4.ui.workbench.renderers.swt;bundle-version="[0.10.0,1.0.0)"
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/pom.xml b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/pom.xml
index fecef23be9..61c7813318 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/pom.xml
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012 Eclipse Foundation.
+ Copyright (c) 2012, 2013 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -19,7 +19,7 @@
</parent>
<groupId>org.eclipse.e4</groupId>
<artifactId>org.eclipse.e4.ui.workbench.renderers.swt.cocoa</artifactId>
- <version>0.11.100-SNAPSHOT</version>
+ <version>0.11.200-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
index a99b1a30e8..8fa1286be1 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
@@ -163,7 +163,7 @@ public class CocoaUIHandler {
// call getAddress
Method getAddress = Callback.class
.getMethod("getAddress", new Class[0]); //$NON-NLS-1$
- Object object = getAddress.invoke(proc3Args, null);
+ Object object = getAddress.invoke(proc3Args);
long proc3 = convertToLong(object);
if (proc3 == 0)
SWT.error(SWT.ERROR_NO_MORE_CALLBACKS);