Merge branch 'master' of https://github.com/kullfar/pmd into kullfar-master

This commit is contained in:
Andreas Dangel
2015-10-16 17:18:35 +02:00

View File

@ -603,9 +603,15 @@ public class GCCall {
Runtime.getRuntime().gc();
}
public explicitGCcall() { // Explicit gc call ! System.gc(); }
public explicitGCcall() {
// Explicit gc call !
System.gc();
}
public void doSomething() { // Explicit gc call ! Runtime.getRuntime().gc(); }
public void doSomething() {
// Explicit gc call !
Runtime.getRuntime().gc();
}
}
]]>
</example>