Date: 2013-04-05 05:28 pm (UTC)
да-да,
String userId = p.getUserId();
Number amount = p.getAmount();
p.setCode(PAID_CODE);

это ужас-ужас, а правильно

String userId = (String) p.get("UserId");
Number amount = (Number) p.get("Amount");
p.set("Code", PAID_CODE);

это ж совсем другое дело, никаких get/set... o wait...
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

metaclass: (Default)
metaclass

April 2017

S M T W T F S
      1
2345678
9101112 131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 3rd, 2025 03:28 pm
Powered by Dreamwidth Studios