File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,9 @@ public static void main (String [] args) {
5858 System .out .println (source .substring (start , end -3 ));
5959 boolean skip = false ;
6060 String platform = SWT .getPlatform ();
61- if (source .contains ("PocketPC" )) {
62- platform = "PocketPC" ;
63- skip = true ;
64- } else if (source .contains ("OpenGL" )) {
61+ if (source .contains ("OpenGL" )) {
6562 platform = "OpenGL" ;
6663 skip = true ;
67- } else if (source .contains ("JavaXPCOM" )) {
68- platform = "JavaXPCOM" ;
69- skip = true ;
7064 } else {
7165 String [] platforms = {"win32" , "gtk" };
7266 for (String platformId : platforms ) {
@@ -81,7 +75,8 @@ public static void main (String [] args) {
8175 System .out .println ("...skipping " + platform + " example..." );
8276 continue ;
8377 }
84- } catch (Exception e ) {
78+ } catch (IOException e ) {
79+ e .printStackTrace ();
8580 }
8681 }
8782 Method method = null ;
You can’t perform that action at this time.
0 commit comments