Object pool pattern: Difference between revisions

Content deleted Content added
m Fixed broken link
Tags: Visual edit Mobile edit Mobile web edit
m Java: Fix indentation
Line 261:
public void setTemp3(String temp3) {
this.temp3 = temp3;
}
}
 
</syntaxhighlight><syntaxhighlight lang="java">
Line 291 ⟶ 292:
push(inUse, po, now);
return po;
}
 
private synchronized static void push(HashMap<PooledObject, Long> map,