MCPcopy Create free account
hub / github.com/PCGen/pcgen / release

Method release

code/src/java/pcgen/util/PjepPool.java:71–84  ·  view source on GitHub ↗
(PJEP interp)

Source from the content-addressed store, hash-verified

69 }
70
71 public synchronized void release(PJEP interp)
72 {
73 //System.out.println("releaseJep( " + interp + " )");
74 if (usedList.contains(interp))
75 {
76 usedList.remove(interp);
77 }
78 else
79 {
80 System.err.println("Tried to release a PJEP instance that we did not aquire...");
81 }
82 interp.setParent(null);
83 freeStack.push(interp);
84 }
85
86 public synchronized void dumpStats()
87 {

Callers 2

processJepFormulaMethod · 0.80
getCostFromPlusesMethod · 0.80

Calls 4

pushMethod · 0.80
containsMethod · 0.65
removeMethod · 0.65
setParentMethod · 0.45

Tested by

no test coverage detected