3838import processing .app .Toolkit ;
3939
4040
41+ @ SuppressWarnings ("serial" )
4142public class Permissions extends JFrame {
4243 static final String GUIDE_URL =
4344 "http://developer.android.com/guide/topics/security/security.html#permissions" ;
@@ -300,6 +301,7 @@ public void actionPerformed(ActionEvent actionEvent) {
300301 }
301302
302303
304+ @ SuppressWarnings ("rawtypes" )
303305 protected void setSelections (String [] sel ) {
304306// processing.core.PApplet.println("permissions are:");
305307// processing.core.PApplet.println(sel);
@@ -316,6 +318,7 @@ protected void setSelections(String[] sel) {
316318 }
317319
318320
321+ @ SuppressWarnings ("rawtypes" )
319322 protected String [] getSelections () {
320323 ArrayList <String > sel = new ArrayList <String >();
321324 DefaultListModel model = (DefaultListModel ) permissionList .getModel ();
@@ -499,6 +502,7 @@ public String getMenuTitle() {
499502// collection, but it seems to have been picked up so many places with others
500503// placing their copyright on it that I haven't been able to determine the
501504// original author. [fry 20100216]
505+ @ SuppressWarnings ("serial" )
502506class CheckBoxList extends JList <JCheckBox > {
503507 protected static Border noFocusBorder = new EmptyBorder (1 , 1 , 1 , 1 );
504508 int checkboxWidth ;
0 commit comments