...
Code Block |
---|
public class MaliciousClient {
public static void main(String[] args) {
Account account = new BankAccount();
// No security check performed
boolean result = account.overdraft(200.0);
System.out.println("Withdrawal successful? " + result);
}
}
|
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c27118d28531fc04-56b194b5-4bea45ef-92368b8d-f492f7a928db1fef52ebeec1"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | [Class | http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9ebe27b2300f9f0a-60bf4298-45ae4b96-a94a9f7a-00d4435bffd7dd2d794a5ce0"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 16. Favor composition over inheritance | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1f67562a77b02001-1fc2e11c-4df64aa2-b297bb37-6adb301d45153acedf187ed0"><ac:plain-text-body><![CDATA[ | [[Gamma 1995 | AA. Bibliography#Gamma 95]] | Design Patterns, Elements of Reusable Object-Oriented Software | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="32f443e8039e7b54-0917e600-4c69414c-bd43abf5-c755f4b5dd37b6625fac253e"><ac:plain-text-body><![CDATA[ | [[Lieberman 1986 | AA. Bibliography#Lieberman 86]] | Using prototypical objects to implement shared behavior in object-oriented systems | ]]></ac:plain-text-body></ac:structured-macro> |
...