Citation de code source en Javan° 194
18 Juin, 2014 à 11:27
//I once saw a code that was completely riddled with this pattern
try {
component.doSomething();
component.doSomethingElse();
} catch (NullPointerException ex) {
component = new Component();
component.doSomething();
}