javacommons/security/javasrc/com/nokia/mj/impl/security/midp/storage/SecurityStorage.java
equal
deleted
inserted
replaced
453 StorageAttribute.ID, |
453 StorageAttribute.ID, |
454 appUID.getStringValue())); |
454 appUID.getStringValue())); |
455 permEntry.addAttribute(new StorageAttribute( |
455 permEntry.addAttribute(new StorageAttribute( |
456 StorageNames.CLASS, |
456 StorageNames.CLASS, |
457 p.getName())); |
457 p.getName())); |
458 permEntry.addAttribute(new StorageAttribute( |
458 if (p.getTarget() != null |
459 StorageNames.NAME, |
459 && p.getTarget().length() > 0) |
460 p.getTarget())); |
460 { |
|
461 permEntry.addAttribute(new StorageAttribute( |
|
462 StorageNames.NAME, |
|
463 p.getTarget())); |
|
464 } |
461 if (p.getActionList() != null |
465 if (p.getActionList() != null |
462 && p.getActionList().length() > 0) |
466 && p.getActionList().length() > 0) |
463 { |
467 { |
464 permEntry.addAttribute(new StorageAttribute( |
468 permEntry.addAttribute(new StorageAttribute( |
465 StorageNames.ACTION, |
469 StorageNames.ACTION, |
1248 StorageAttribute.ID, |
1252 StorageAttribute.ID, |
1249 oldAppUID.getStringValue())); |
1253 oldAppUID.getStringValue())); |
1250 removePermissionQuery.addAttribute(new StorageAttribute( |
1254 removePermissionQuery.addAttribute(new StorageAttribute( |
1251 StorageNames.CLASS, |
1255 StorageNames.CLASS, |
1252 p.getName())); |
1256 p.getName())); |
1253 removePermissionQuery.addAttribute(new StorageAttribute( |
1257 if (p.getTarget() != null |
1254 StorageNames.NAME, |
1258 && p.getTarget().length() > 0) |
1255 p.getTarget())); |
1259 { |
|
1260 removePermissionQuery.addAttribute(new StorageAttribute( |
|
1261 StorageNames.NAME, |
|
1262 p.getTarget())); |
|
1263 } |
1256 if (p.getActionList() != null |
1264 if (p.getActionList() != null |
1257 && p.getActionList().length() > 0) |
1265 && p.getActionList().length() > 0) |
1258 { |
1266 { |
1259 removePermissionQuery.addAttribute(new StorageAttribute( |
1267 removePermissionQuery.addAttribute(new StorageAttribute( |
1260 StorageNames.ACTION, |
1268 StorageNames.ACTION, |