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) {
58
58
System .out .println (source .substring (start , end -3 ));
59
59
boolean skip = false ;
60
60
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" )) {
65
62
platform = "OpenGL" ;
66
63
skip = true ;
67
- } else if (source .contains ("JavaXPCOM" )) {
68
- platform = "JavaXPCOM" ;
69
- skip = true ;
70
64
} else {
71
65
String [] platforms = {"win32" , "gtk" };
72
66
for (String platformId : platforms ) {
@@ -81,7 +75,8 @@ public static void main (String [] args) {
81
75
System .out .println ("...skipping " + platform + " example..." );
82
76
continue ;
83
77
}
84
- } catch (Exception e ) {
78
+ } catch (IOException e ) {
79
+ e .printStackTrace ();
85
80
}
86
81
}
87
82
Method method = null ;
You can’t perform that action at this time.
0 commit comments