equal
deleted
inserted
replaced
301 if (iAttributes.Count() == 0) |
301 if (iAttributes.Count() == 0) |
302 { |
302 { |
303 AttributesL(); |
303 AttributesL(); |
304 } |
304 } |
305 |
305 |
306 CJavaAttribute* regAttr = NULL; |
|
307 |
306 |
308 for (TInt i = 0; i < iAttributes.Count(); i++) |
307 for (TInt i = 0; i < iAttributes.Count(); i++) |
309 { |
308 { |
310 if (0 == (iAttributes[i])->Name().Compare(aName)) |
309 if (0 == (iAttributes[i])->Name().Compare(aName)) |
311 { |
310 { |
312 regAttr = CJavaAttribute::NewL((iAttributes[i])->Name(), |
311 return iAttributes[i]; |
313 (iAttributes[i])->Value(), |
312 } |
314 (iAttributes[i])->Trusted()); |
313 } |
315 break; |
314 return NULL; |
316 } |
|
317 } |
|
318 return regAttr; |
|
319 } |
315 } |
320 |
316 |
321 // --------------------------------------------------------------------------- |
317 // --------------------------------------------------------------------------- |
322 // CWriteableJavaRegistryEntry::AttributesL |
318 // CWriteableJavaRegistryEntry::AttributesL |
323 // --------------------------------------------------------------------------- |
319 // --------------------------------------------------------------------------- |