src/java/detectors/concurrency_deadlock/ConcurrencyDeadlockNoncompliant.java [16:23]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void noncompliantsync1() {
        synchronized (syncObject1) {
            synchronized (syncObject2) {
                System.out.println("Deadlock noncompliant example.");
                // Placeholder for code.
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/java/detectors/concurrency_deadlock/ConcurrencyDeadlockCompliant.java [16:23]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void compliantsync1() {
        synchronized (syncObject1) {
            synchronized (syncObject2) {
                System.out.println("Deadlock compliant example.");
                // Placeholder for code.
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



